Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Gilles Scokart
2008/1/15, Louis Tribble <[EMAIL PROTECTED]>: > > Dominique Devienne wrote: > > On 1/15/08, Louis Tribble <[EMAIL PROTECTED]> wrote: > > > >> Consequently, my main comment (apologies if I missed it in the thread) > >> is that any magic target overriding feature needs to balanced by > >> a target lo

Re: AW: ant java versions

2008-01-15 Thread Kevin Jackson
Hi, > Strange that there are deprecated warnings even on 1.3 ... > But the build works :) I'm pretty sure that the tests don't though :( Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

AW: AW: ant java versions

2008-01-15 Thread Jan.Materne
Build on [EMAIL PROTECTED]: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode) >build ... Bootstrapping Ant Distribution ... Building Ant Distribution build: Created dir: C:\ant\svn-repository\ant\core\bui

AW: Need build help

2008-01-15 Thread Jan.Materne
/optional/out/FailedTests.java is created when running test testsuite. That file is created by the FailureRecorder: build.xml 1588: 1610: 1635: 1741: 1744: That Recorder should catch all failing testcases (failing *.test*() methods), and create a new JU

AW: svn commit: r612091 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java

2008-01-15 Thread Jan.Materne
> ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractCla sspathResource.java Tue Jan 15 04:06:19 2008 > > @@ -26,8 +26,8 @@ > > > I mustnt have saved the copy open in jedit...thanks for catching this There was an uncomplete sentence in the doc. Maybe you want to comment more?

Re: AW: ant java versions

2008-01-15 Thread Kevin Jackson
Hi all, > To me, the super-compelling reason is that if we claim to support Java > 1.3, then we have to make sure to test against it on all supported > platforms. This is a lot of extra work (on top of the testing for 1.4, > 1.5, and 1.6), particularly if none of us has Java 1.3 installed. This >

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Louis Tribble
Dominique Devienne wrote: On 1/15/08, Louis Tribble <[EMAIL PROTECTED]> wrote: Consequently, my main comment (apologies if I missed it in the thread) is that any magic target overriding feature needs to balanced by a target locking feature, for at least two reasons: (1) the integrity of the b

Re: Need build help

2008-01-15 Thread Peter Reilly
Yes, this happens sometimes (need to look into it!). I would to ./build.sh, and then ./build.sh test Peter On Jan 15, 2008 7:10 PM, jonathan doklovic <[EMAIL PROTECTED]> wrote: > I'm building using build.sh now, however if I do: > build.sh test > > the build fails with the following: > > check-f

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Dominique Devienne
On 1/15/08, Louis Tribble <[EMAIL PROTECTED]> wrote: > Consequently, my main comment (apologies if I missed it in the thread) > is that any magic target overriding feature needs to balanced by > a target locking feature, for at least two reasons: (1) the integrity of > the > build depends on certai

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Xavier Hanin
On Jan 15, 2008 7:39 PM, Louis Tribble <[EMAIL PROTECTED]> wrote: > We have a scheme like some that have been mentioned, > in which the system is broken into modules and building the > system means looping through the modules applying the > same build script to each. The build of each module is >

Re: Need build help

2008-01-15 Thread jonathan doklovic
I'm building using build.sh now, however if I do: build.sh test the build fails with the following: check-failed: java.io.FileNotFoundException: /ant-core/src/etc/testcases/taskdefs/optional/out/FailedTests.java (No such file or directory) at java.io.FileOutputStream.open(Native Method)

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Louis Tribble
We have a scheme like some that have been mentioned, in which the system is broken into modules and building the system means looping through the modules applying the same build script to each. The build of each module is broken down into phases, e.g., assemble, compile, create-jar, test, etc (tha

Re: AW: ant java versions

2008-01-15 Thread Bruce Atherton
To me, the super-compelling reason is that if we claim to support Java 1.3, then we have to make sure to test against it on all supported platforms. This is a lot of extra work (on top of the testing for 1.4, 1.5, and 1.6), particularly if none of us has Java 1.3 installed. This has bitten us i

Re: Need build help

2008-01-15 Thread Peter Reilly
On Jan 15, 2008 5:19 PM, jonathan doklovic <[EMAIL PROTECTED]> wrote: > oops, sorry i missed that. > > Thanks, No problem, slightly better build instructions are in the manual: http://ant.apache.org/manual/install.html#buildingant Peter > > - Jonathan > > > On Tue, 2008-01-15 at 17:15 +, Peter

Re: Need build help

2008-01-15 Thread jonathan doklovic
oops, sorry i missed that. Thanks, - Jonathan On Tue, 2008-01-15 at 17:15 +, Peter Reilly wrote: > You need to follow exactly the build instructions: > > 1) check out ant to ANT_SOURCE > 2) cd to ANT_SOURCE > 3) ensure that CLASSPATH env variable is empty > 4) place optional jars in ANT_SOU

Re: Need build help

2008-01-15 Thread Peter Reilly
You need to follow exactly the build instructions: 1) check out ant to ANT_SOURCE 2) cd to ANT_SOURCE 3) ensure that CLASSPATH env variable is empty 4) place optional jars in ANT_SOURCE/lib/optional 5) ./build.sh - i.e. do not use ant to build ant. Peter On Jan 15, 2008 5:05 PM, jonathan doklo

Need build help

2008-01-15 Thread jonathan doklovic
Hi, I checked out the core trunk and tried to run the main target in the build file. I get the following error: test-jar: BUILD FAILED ant-core/build.xml:859: We cannot build the test jar unless JUnit is present, as JUnit is needed to compile the test classes. Shouldn't the test-jar targe

Re: AW: ant java versions

2008-01-15 Thread Peter Reilly
On Jan 15, 2008 12:51 PM, <[EMAIL PROTECTED]> wrote: > > >>> 2. What is the minimum version of Ant that 1.8 is targeting? > > >> I'm not sure whether we've made any decision to change what we have > as > > >> a minimum requirement for 1.7. > > > > > > we dropped 1.2, so it is 1.3 > > > http://marc

RE: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Gilles Scokart
By the way, a truly generic build script will probably have to support 2 level of customization/extension. The first one being an enterprise level, and the second one being at project level. Gilles - To unsubscribe, e-mail:

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Dominique Devienne
On 1/14/08, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > If our base build file contains a compile target and several "plugins" > that I want to use need to do stuff before the compile target then we > need a way to have a defined order. In the order my build file > requires the plugins, I guess.

Re: svn commit: r612091 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java

2008-01-15 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Author: jhm Date: Tue Jan 15 04:06:19 2008 New Revision: 612091 URL: http://svn.apache.org/viewvc?rev=612091&view=rev Log: - spelling - a sentence was incomplete (missing additional docs?) Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Abstr

Re: AW: AW: ant java versions

2008-01-15 Thread Steve Loughran
[EMAIL PROTECTED] wrote: 2. What is the minimum version of Ant that 1.8 is targeting? I'm not sure whether we've made any decision to change what we have as a minimum requirement for 1.7. we dropped 1.2, so it is 1.3 http://marc.info/?l=ant-dev&m=117794737813795&w=2 OK. Ant 1.3 is still ou

AW: AW: ant java versions

2008-01-15 Thread Jan.Materne
> >>> 2. What is the minimum version of Ant that 1.8 is targeting? > >> I'm not sure whether we've made any decision to change what we have as > >> a minimum requirement for 1.7. > > > > we dropped 1.2, so it is 1.3 > > http://marc.info/?l=ant-dev&m=117794737813795&w=2 > > > > OK. > > Ant 1.3 i

Re: AW: ant java versions

2008-01-15 Thread Steve Loughran
[EMAIL PROTECTED] wrote: this is a silly question, but I have forgotten the current values 1. What is the minimum version of Ant that 1.7.0 supports? In theory the answer is 1.2, but I doubt that anybody really still has an environment to try that. 2. What is the minimum version of Ant that 1

AW: ant java versions

2008-01-15 Thread Jan.Materne
> > this is a silly question, but I have forgotten the current values > > > > 1. What is the minimum version of Ant that 1.7.0 supports? > > In theory the answer is 1.2, but I doubt that anybody really still has > an environment to try that. > > > 2. What is the minimum version of Ant that 1.8 is

DO NOT REPLY [Bug 41701] - [PATCH] should be able to load .xmls from classpath

2008-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: ant java versions

2008-01-15 Thread Stefan Bodewig
Steve Loughran <[EMAIL PROTECTED]> writes: > this is a silly question, but I have forgotten the current values > > 1. What is the minimum version of Ant that 1.7.0 supports? In theory the answer is 1.2, but I doubt that anybody really still has an environment to try that. > 2. What is the minimu

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Stefan Bodewig
"Gilles Scokart" <[EMAIL PROTECTED]> writes: > An other thing to specify with before is its position relatively to the > dependencies of the 'extended' taget. > > Do we place the before really just before the target itself, or before the > dependencies of the target? Just before the target itself

DO NOT REPLY [Bug 41701] - [PATCH] should be able to load .xmls from classpath

2008-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

ant java versions

2008-01-15 Thread Steve Loughran
this is a silly question, but I have forgotten the current values 1. What is the minimum version of Ant that 1.7.0 supports? 2. What is the minimum version of Ant that 1.8 is targeting? - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Xavier Hanin
On Jan 15, 2008 9:00 AM, Gilles Scokart <[EMAIL PROTECTED]> wrote: > An other thing to specify with before is its position relatively to the > dependencies of the 'extended' taget. > > Do we place the before really just before the target itself, or before the > dependencies of the target? IMO it

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Gilles Scokart
2008/1/14, Dominique Devienne <[EMAIL PROTECTED]>: > > On 1/14/08, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > > "Dominique Devienne" <[EMAIL PROTECTED]> writes: > > Having something like before/after/around advices (where around is the > > same as an override that doesn't change the dependencies l

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Xavier Hanin
On Jan 15, 2008 6:31 AM, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > "Peter Reilly" <[EMAIL PROTECTED]> writes: > > > I would say that if the build file does not specify the order, then the > order > > is undefined. > > > > If the order is important, then the build file can enforce an order by > >

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-15 Thread Gilles Scokart
An other thing to specify with before is its position relatively to the dependencies of the 'extended' taget. Do we place the before really just before the target itself, or before the dependencies of the target? The second aproach is currently possible from the script that want to extend an impo