You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@depot.apache.org by Nick Chalko <ni...@chalko.com> on 2004/03/12 19:39:39 UTC

Seperate ant src dirs

Do we really need separate Ant src dirs?
Will we ever ship a depot jar with out the ant tasks?

I think this is over kill and just makes the build more complicated.

R,
Nick


Re: Seperate ant src dirs

Posted by Nick Chalko <ni...@chalko.com>.
It became to much of a pain.  I merged the ant and core dirs.
It is the simplest thing that will work. 
When we start doing conditional compiles we can add more dirs.

R,
Nick

Re: Seperate ant src dirs

Posted by Nick Chalko <ni...@chalko.com>.
Adam R. B. Jack wrote:

>>Really it is just that I am trying to use antlets,  and I know antlets
>>need to tackle that it just seems like an un-needed pain.
>>
>>I won't give up on it yet.
>>    
>>
>
>Is it an antlet issue? Oughtn't they not be single-project builders, with a
>multi-project builder running them like any other ant script?
>
>  
>
antlet are single project,   but I consider "ruper" one project,  with 
ant and core src dirs.  but a single jar output.
antlets will handle src.dir="dir1:dir2" for somethings, compiles for 
example.  Not sure about the other task like pmd, javasrc, etc



>Maybe you could try using Gump locally to build this, it really is very
>close to being ready.
>
>regards,
>
>Adam
>  
>


Re: Seperate ant src dirs

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Really it is just that I am trying to use antlets,  and I know antlets
> need to tackle that it just seems like an un-needed pain.
>
> I won't give up on it yet.

Is it an antlet issue? Oughtn't they not be single-project builders, with a
multi-project builder running them like any other ant script?

Maybe you could try using Gump locally to build this, it really is very
close to being ready.

regards,

Adam


Re: Seperate ant src dirs

Posted by Nick Chalko <ni...@chalko.com>.
Adam R. B. Jack wrote:

>
>But, tell me -- what problems does this cause? Does it force the need for
>multi-project builds? Gump or IDE (eclipse) is what I use to build, both of
>which cope with this. That said, I don't use Gump locally, just Eclipse,
>'cos Gump isn't that easy to run locally (IMHO) and I've not fixed it to be
>[although it is close.]
>  
>

Really it is just that I am trying to use antlets,  and I know antlets 
need to tackle that it just seems like an un-needed pain.

I won't give up on it yet.
R,
Nick

Re: Seperate ant src dirs

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Do we really need separate Ant src dirs?
> Will we ever ship a depot jar with out the ant tasks?

Well, my hope is to use the command line 'ruper' to allow Gump's to cascade
jars down to other Gumps. As such, I'd use it without the ant tasks. That
said, you didn't ask that did you -- you asked if we'd ever ship a jar
without ant tasks...

> I think this is over kill and just makes the build more complicated.

I have this PITA habit of being a purist that figures these problems ought
be solvable, so ought be solved. I figure that if we avoid the problem here,
we'll fail to have a separate when we really need one.

But, tell me -- what problems does this cause? Does it force the need for
multi-project builds? Gump or IDE (eclipse) is what I use to build, both of
which cope with this. That said, I don't use Gump locally, just Eclipse,
'cos Gump isn't that easy to run locally (IMHO) and I've not fixed it to be
[although it is close.]

I don't use the ant build myself, but perhaps I should, 'cos some users
could.

As such, I don't mind if you merge, purism be damned & long live
practicallity... ;-)

regards,

Adam