You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Martijn Dashorst <ma...@gmail.com> on 2007/05/23 21:41:06 UTC

Any documentation on how the wicketstuff.org server is set up?

Basically I just read a message that the maven repo for our snapshots
at wicketstuff.org could be cleaned (to avoid problems with too many
versions lying around).

Can/should we rm -rf the whole repository prior to a wicket build?

And more: is there some documentation on how the server is set up, so
that when Johan is on holiday someone else knows how to administer the
thing?

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

Re: Any documentation on how the wicketstuff.org server is set up?

Posted by Johan Compagner <jc...@gmail.com>.
everything you see is served by tomcat at this time, maybe i can split this
up a bit.
and i think we (igor and i) did fight with symlinks once before with the
maven repository
until igor was sick of it and just really made the maven repository directly
a real dir of the maven webapp.

johan


On 5/23/07, Al Maw <wi...@almaw.com> wrote:
>
> Johan Compagner wrote:
> >>
> >>
> >>   - Not serve up all the dependencies - we should just have
> >>     org/apache/wicket/ and wicket/ in there.
> >
> >
> > hmm don't know how to do that directly
> > because we just share the local repository of maven
> > and bambo builds from that and deploys to it.
> > So i guess we need to somehow have 2? one that has all and one that has
> > only wicket?
>
> Hmmm. We probably need to have a <profile> for bamboo, which has a
> <distributionManagement> section that points to a local directory, which
> we serve as the maven repo, and then change the Bamboo builds to do a
> mvn deploy, not a mvn install.
>
>
> Or somewhat more simply, we could just create a parallel directory
> structure and symlink stuff:
>
> htdocs/
> htdocs/wicket -> /home/foo/.m2/repository/wicket
> htdocs/org/
> htdocs/org/apache/
> htdocs/org/apache/wicket -> /home/foo/.m2/repository/org/apache/wicket
>
> (And make sure the Apache follow symlinks config directive is set.)
>
> Al
>

Re: Any documentation on how the wicketstuff.org server is set up?

Posted by Al Maw <wi...@almaw.com>.
Johan Compagner wrote:
>>
>>
>>   - Not serve up all the dependencies - we should just have
>>     org/apache/wicket/ and wicket/ in there.
> 
> 
> hmm don't know how to do that directly
> because we just share the local repository of maven
> and bambo builds from that and deploys to it.
> So i guess we need to somehow have 2? one that has all and one that has 
> only wicket?

Hmmm. We probably need to have a <profile> for bamboo, which has a 
<distributionManagement> section that points to a local directory, which 
we serve as the maven repo, and then change the Bamboo builds to do a 
mvn deploy, not a mvn install.


Or somewhat more simply, we could just create a parallel directory 
structure and symlink stuff:

htdocs/
htdocs/wicket -> /home/foo/.m2/repository/wicket
htdocs/org/
htdocs/org/apache/
htdocs/org/apache/wicket -> /home/foo/.m2/repository/org/apache/wicket

(And make sure the Apache follow symlinks config directive is set.)

Al

Re: Any documentation on how the wicketstuff.org server is set up?

Posted by Martijn Dashorst <ma...@gmail.com>.
Instead of mvn install we should do mvn deploy

and deploy to a different directory/repository. Maven will still
install to the local repository so the other builds will use that one.
The deploy is then used for external users depending on the snapshots.

Martijn

On 5/23/07, Johan Compagner <jc...@gmail.com> wrote:
> >
> >
> >   - Not serve up all the dependencies - we should just have
> >     org/apache/wicket/ and wicket/ in there.
>
>
> hmm don't know how to do that directly
> because we just share the local repository of maven
> and bambo builds from that and deploys to it.
> So i guess we need to somehow have 2? one that has all and one that has only
> wicket?
>
>
>   - Remove the 1.3-SNAPSHOT stuff (1.3.0-incubating-SNAPSHOT is current).
> >     No one should be using 1.3-SNAPSHOT; we should actively break this.
>
>
>
> i removed those.
>
> johan
>


-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

Re: Any documentation on how the wicketstuff.org server is set up?

Posted by Johan Compagner <jc...@gmail.com>.
>
>
>   - Not serve up all the dependencies - we should just have
>     org/apache/wicket/ and wicket/ in there.


hmm don't know how to do that directly
because we just share the local repository of maven
and bambo builds from that and deploys to it.
So i guess we need to somehow have 2? one that has all and one that has only
wicket?


  - Remove the 1.3-SNAPSHOT stuff (1.3.0-incubating-SNAPSHOT is current).
>     No one should be using 1.3-SNAPSHOT; we should actively break this.



i removed those.

johan

Re: Any documentation on how the wicketstuff.org server is set up?

Posted by Al Maw <wi...@almaw.com>.
Martijn Dashorst wrote:
> Basically I just read a message that the maven repo for our snapshots
> at wicketstuff.org could be cleaned (to avoid problems with too many
> versions lying around).
> 
> Can/should we rm -rf the whole repository prior to a wicket build?

Nope, bad plan:

  - We build different versions, so we'd need to vape 1.2.x and 1.3.x
    separately, rather than the whole thing, even if this was a good
    idea, which it isn't.

  - You don't want to vape things prior to a build, as if someone comes
    along while you're building they won't be able to download. Bad.

  - We already have the flag set on Maven to build a single SNAPSHOT
    rather than dated versions, so we're not wasting any space with this.

IMHO, we should:

  - Not serve up all the dependencies - we should just have
    org/apache/wicket/ and wicket/ in there.

  - Remove the 1.3-SNAPSHOT stuff (1.3.0-incubating-SNAPSHOT is current).
    No one should be using 1.3-SNAPSHOT; we should actively break this.

  - Remove the 2.0-SNAPSHOT stuff (this one's open to debate).

Al

Re: Any documentation on how the wicketstuff.org server is set up?

Posted by Jean-Baptiste Quenot <jb...@apache.org>.
* Johan Compagner:

> > that  when Johan  is  on  holiday someone  else  knows how  to
> > administer the thing?
>
> there is  no doc but igor  also knows it. And it  is just tomcat
> and some webapps nothing more.

I'm also interested to join the wicketstuff.org admins group ;-)

So that I can redeploy WicketStuff Dojo myself for example or
restart the server when it's stuck.
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

Re: Any documentation on how the wicketstuff.org server is set up?

Posted by Johan Compagner <jc...@gmail.com>.
>
> Basically I just read a message that the maven repo for our snapshots
> at wicketstuff.org could be cleaned (to avoid problems with too many
> versions lying around).
>
> Can/should we rm -rf the whole repository prior to a wicket build?


can bamboo run scripts already before building, last time i checked that
wasn't really possible,


And more: is there some documentation on how the server is set up, so
> that when Johan is on holiday someone else knows how to administer the
> thing?



there is no doc but igor also knows it. And it is just tomcat and some
webapps nothing more.

johna