You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Jean-Philippe LEBOEUF <je...@free.fr> on 2003/01/17 16:21:15 UTC

[Gump] How to select the projects you want to build from a specific module ?

1) Hello again, I re-repost this message cos I got no answer in 
alexandria-dev (excuse me if it was the wrong list),

I need for example only a few components from jakarta-commons : how to 
select them using the xml project file in Gump ?

2) Next, I have another question.
Many weeks ago I started a project like Gump and I noticed that the 
cross-references of Gump (depends) are based on 'build.xml' files of 
original projects.
But looking closer at these files, we can see that one can relax xref 
modifying these original files.
For example, many projects have server side exemple using servlets or 
make tests using junit and in fact those projects aer compilable without 
those library, but there is a need to patch the build.xml files. In 
fact, one can continue the work done on Ant in separating dist and lib.

3) Why not to make projects files, a Gump build using ONLY stable packages ?
I am working on that, and I hope to success :-|
The main problem is that many projects are not tagged in CVS.

Thanks.


-- 
Jean-Philippe LEBOEUF

NMI - Nouvelles Méthodes pour l'Interaction
Université Paris-Sud XI, centre d'Orsay / LIMSI
Université de Technologie de Troyes / Tech-CICO


Re: [Gump] How to select the projects you want to build from a specific module ?

Posted by Jean-Philippe LEBOEUF <je...@free.fr>.
Sam Ruby wrote:

> Jean-Philippe LEBOEUF wrote:
>
>> 1) Hello again, I re-repost this message cos I got no answer in 
>> alexandria-dev (excuse me if it was the wrong list),
>
>
> Oops.  Sorry, I haven't been checking that list lately...

:-)

>
>> I need for example only a few components from jakarta-commons : how 
>> to select them using the xml project file in Gump ?
>
>
> Create your own profile?  The organisation is this: the workspace 
> points to (typically one) profile which points to (typically multiple) 
> projects. 

Yes, but in the example file, there are modules in the profile (the url 
is specified in the tag module). I want to choose projects, but staying 
syncronized with the change made in projects files from The Gump, cos I 
only want to compile a subset of projects. So I was thinking about 
<project href="" name=""> ... Is it possible ?

How to do so ???

>
>
>> 2) Next, I have another question.
>> Many weeks ago I started a project like Gump and I noticed that the 
>> cross-references of Gump (depends) are based on 'build.xml' files of 
>> original projects.
>
>
> The cross reference is based on Gump project definitions, not 
> build.xml files. 

Yes, sure, what I wanted to say is that these project definition files 
stay close to build.xml files.

>
>
>> But looking closer at these files, we can see that one can relax xref 
>> modifying these original files.
>> For example, many projects have server side exemple using servlets or 
>> make tests using junit and in fact those projects aer compilable 
>> without those library, but there is a need to patch the build.xml 
>> files. In fact, one can continue the work done on Ant in separating 
>> dist and lib.
>
>
> I'm not sure I understand the question, but in project definitions, 
> one can state that dependencies with <option>, in which case the 
> project being referenced need not exist. 

Yes, but I was talking about refactoring original build.xml files. I 
will go on investigating this way...

>
>
>> 3) Why not to make projects files, a Gump build using ONLY stable 
>> packages ?
>> I am working on that, and I hope to success :-|
>> The main problem is that many projects are not tagged in CVS.
>
>
> It is possible to do that.  The combinatorics of doing so for each 
> project in the gump profile would be overwhelming. 

I am doing it, package after package ;)

>
>
> - Sam Ruby
>
>
> -- 
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>


-- 
Jean-Philippe LEBOEUF

NMI - Nouvelles Méthodes pour l'Interaction
Université Paris-Sud XI, centre d'Orsay / LIMSI
Université de Technologie de Troyes / Tech-CICO



Re: [Gump] How to select the projects you want to build from a specific module ?

Posted by Sam Ruby <ru...@apache.org>.
Jean-Philippe LEBOEUF wrote:
> 1) Hello again, I re-repost this message cos I got no answer in 
> alexandria-dev (excuse me if it was the wrong list),

Oops.  Sorry, I haven't been checking that list lately...

> I need for example only a few components from jakarta-commons : how to 
> select them using the xml project file in Gump ?

Create your own profile?  The organisation is this: the workspace points 
to (typically one) profile which points to (typically multiple) projects.

> 2) Next, I have another question.
> Many weeks ago I started a project like Gump and I noticed that the 
> cross-references of Gump (depends) are based on 'build.xml' files of 
> original projects.

The cross reference is based on Gump project definitions, not build.xml 
files.

> But looking closer at these files, we can see that one can relax xref 
> modifying these original files.
> For example, many projects have server side exemple using servlets or 
> make tests using junit and in fact those projects aer compilable without 
> those library, but there is a need to patch the build.xml files. In 
> fact, one can continue the work done on Ant in separating dist and lib.

I'm not sure I understand the question, but in project definitions, one 
can state that dependencies with <option>, in which case the project 
being referenced need not exist.

> 3) Why not to make projects files, a Gump build using ONLY stable 
> packages ?
> I am working on that, and I hope to success :-|
> The main problem is that many projects are not tagged in CVS.

It is possible to do that.  The combinatorics of doing so for each 
project in the gump profile would be overwhelming.

- Sam Ruby