Multi module site

4 views
Skip to first unread message

Simone Tripodi

unread,
Jan 5, 2011, 1:46:31 PM1/5/11
to Kathryn Huxtable's Projects
Hi Kathryn,
for a single module project, there's no problem, the gitsite runs like
a charm :)
But unfortunately the deploy for a multi-module site is interrupted,
do you have any advice?
Thanks a lot in advance, have a nie day!
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/

Kathryn Huxtable

unread,
Jan 5, 2011, 2:15:32 PM1/5/11
to kathryn-huxt...@googlegroups.com
I just pushed the documentation for version 0.3.1, which includes contributed changes to support multimodule projects. Have you tried that version yet?

-K

Simone Tripodi

unread,
Jan 8, 2011, 3:36:42 PM1/8/11
to Kathryn Huxtable's Projects
Hi Kathryn,
I just upgrated gitsite to 0.3.1, but I'm facing an issue with single
module, the site is visible only under http://username.github.com/reponame/reponame
Do you have any recommendation on it?
Many thanks in advance and have a nice weekend!
Simo

On Jan 5, 8:15 pm, Kathryn Huxtable <kath...@kathrynhuxtable.org>
wrote:
> I just pushed the documentation for version 0.3.1, which includes contributed changes to support multimodule projects. Have you tried that version yet?
>
> -K
>

Kathryn Huxtable

unread,
Jan 8, 2011, 3:50:28 PM1/8/11
to kathryn-huxt...@googlegroups.com
You do have to create the gh-pages branch first, with some sort of initial content. The next version will likely create it for you. -K

Simone Tripodi

unread,
Jan 9, 2011, 3:02:31 PM1/9/11
to kathryn-huxt...@googlegroups.com
Hi Kathryn,
thanks for your quick reply! :) And sorry for mine, but before
replying I took time to verify settings.
I already created gh-pages branch, the problem I met is that site is
deployed under a subdirectory, named like the ${project.artifactId} :/
Take in consideration I'm speaking about a single module project.
Just to provide you more info: my gitsite settings are public and you
can have a look at [1], on [2] is where I use it, this[3] is the
result. As you can see, the URL pattern looks like
http:://<username>.github.com/<git-project>/${project.artifactId}.

Many thanks in advance for your help, very appreciated!!!
Simo

[1] https://github.com/99soft/infra/blob/master/pom.xml
[2] https://github.com/99soft/meiyo/blob/master/pom.xml
[3] http://99soft.github.com/meiyo/meiyo/project-reports.html

http://people.apache.org/~simonetripodi/
http://www.99soft.org/

Kathryn Huxtable

unread,
Jan 14, 2011, 9:55:27 AM1/14/11
to kathryn-huxt...@googlegroups.com
Hi Simone,

Sorry for the late reply.

So what you'd like is a mechanism to specify a directory under the root of the gh-pages branch in which to deploy the site?

-K

Simone Tripodi

unread,
Jan 14, 2011, 10:05:57 AM1/14/11
to kathryn-huxt...@googlegroups.com
Hi Kathryn,
don't worry, it's oss software and there's no hurry ;)

What I noticed is that using wagon-gitsite-0.2, single module projects
are correctly deployed under gh-pages branch; when upgrading to 0.3.1,
*single* module projects are deployed under ${project.groupId}
subdirectory.

So my questions are:
* is the a way I missed to configure the wagon;
* is this a bug?

Many thanks in advance, very appreciated!!!
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/

On Fri, Jan 14, 2011 at 3:55 PM, Kathryn Huxtable

Kathryn Huxtable

unread,
Jan 14, 2011, 10:29:15 AM1/14/11
to kathryn-huxt...@googlegroups.com
I'm thinking you may have misconfigured the wagon. I have several projects using the wagon. The simplest is probably my tracking robot at

http://github.com/khuxtable/tracking-robot

I just updated its pom to use the 0.3.1 version of the wagon and changed a word in the documentation. I regenerated the site and deployed it and it was deployed correctly.

-K

Simone Tripodi

unread,
Jan 14, 2011, 10:39:38 AM1/14/11
to kathryn-huxt...@googlegroups.com
thanks a lot for your help, I'll have a deep look at your configuration :)
all the best, have a nice day!!!
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/

On Fri, Jan 14, 2011 at 4:29 PM, Kathryn Huxtable

Kathryn Huxtable

unread,
Jan 14, 2011, 10:51:42 AM1/14/11
to kathryn-huxt...@googlegroups.com
Is it okay with you if I fork your project and play with the documentation and such to see if I can replicate the problem? -K

Simone Tripodi

unread,
Jan 14, 2011, 11:03:18 AM1/14/11
to kathryn-huxt...@googlegroups.com
Hi Kathryn,
I just synched the configurations and gave once more try, but I
failed. I'm seriously taking in consideration I made some error when
creating the gh-pages branch.

No problem with forks, feel free, it's oss!!! You have to fork first
the parent pom[1] and mvn install, then fork the project and deploy
the site.
Many many thanks in advance, have a nice day!
Simo

[1] https://github.com/99soft/infra
[2] https://github.com/99soft/meiyo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/

On Fri, Jan 14, 2011 at 4:51 PM, Kathryn Huxtable

Reply all
Reply to author
Forward
0 new messages