Re: Junit with special test cases

2003-12-05 Thread Ben Walding
That is correct. __matthewHawthorne wrote: In taking a quick look the the test plugin's docs (http://maven.apache.org/reference/plugins/test/properties.html), it seems that setting the maven.junit.fork property to true may allow each test to run in a separate JVM. Can someone confirm this?

multiple java:compile executions due to XDoclet ant tasks in maven.xml

2003-12-05 Thread __matthewHawthorne
I'm using XDoclet to generate EJBs. Initially I had followed the instructions in their Maven plugin documentation, which simple called xdoclet:ejbdoclet as a preGoal to java:compile. However, I'm now in a more complicated situation and I must invoke the XDoclet Ant tasks manually. Simply replacing

Re: Junit with special test cases

2003-12-05 Thread __matthewHawthorne
In taking a quick look the the test plugin's docs (http://maven.apache.org/reference/plugins/test/properties.html), it seems that setting the maven.junit.fork property to true may allow each test to run in a separate JVM. Can someone confirm this? [EMAIL PROTECTED] wrote: I have a frame work

Re: Maven related blog aggregation

2003-12-05 Thread Jason van Zyl
On Fri, 2003-12-05 at 16:31, Jeffrey D. Brekke wrote: > Very nice. I agree, pulling together the blogs about maven is > awesome. Javablogs is a pain and for me, has become a quick scan. I > much rather focus in on what it worth reading... As per usual Bob is like lightening. The site is already

Re: Maven related blog aggregation

2003-12-05 Thread Jeffrey D. Brekke
Very nice. I agree, pulling together the blogs about maven is awesome. Javablogs is a pain and for me, has become a quick scan. I much rather focus in on what it worth reading... I also like the aggregation of the codehaus blogs. > On Fri, 05 Dec 2003 12:59:29 -0500, Jason van Zyl <[EMAIL

Re: Help with using subprojects

2003-12-05 Thread Joe Germuska
On Dec 5, 2003, at 2:48 PM, Brian Burridge wrote: I am trying to use subprojects, but as usual with Maven, the documentation is a little underdeveloped. Questions: 1) Is the maven-multiproject-plugin only used to produce the Dependency report or does it do more than that? I found multiproject very

Help with using subprojects

2003-12-05 Thread Brian Burridge
I am trying to use subprojects, but as usual with Maven, the documentation is a little underdeveloped. Questions: 1) Is the maven-multiproject-plugin only used to produce the Dependency report or does it do more than that? 2) In my base project I have defined an organization with a logo. The logo

How to call maven from netbeans

2003-12-05 Thread Raphaël Piéroni
I have added in the wiki an howto on calling maven goals from whithin the netbeans IDE. please read it here : http://wiki.codehaus.org/maven/NetBeansIdeIntegration I have added it after the precedent one. Hope this helps... Raphaël Piéroni = | Raphaël Pi

Re: Maven related blog aggregation

2003-12-05 Thread Jason van Zyl
On Fri, 2003-12-05 at 12:16, Jason van Zyl wrote: > On Fri, 2003-12-05 at 10:13, Jeffrey D. Brekke wrote: > > Very Cool. > > Is there an RSS version of this aggregation? > > Not yet, that's just a first start. I'll probably whip something off > like a baby javablogs to make it more slick but I th

Junit with special test cases

2003-12-05 Thread mark . russel
I have a frame work that will do self configuration. Depending on what is in the class path it will load different implementations of the interface. I have written test cases in ant that execute the test cases for different implementations. Each implementation test case requires a special class p

Re: Comparison of large numbers?

2003-12-05 Thread Jason van Zyl
On Fri, 2003-12-05 at 11:25, Chad Brandon wrote: > You're right that's much better. Thanks Kevin. > Although its still strange jelly won't allow > large numbers to be compared. I would not waste a second trying to figure how Jelly deals with expressions because you'll knaw your own arm off in fr

Re: Maven related blog aggregation

2003-12-05 Thread Jason van Zyl
On Fri, 2003-12-05 at 10:13, Jeffrey D. Brekke wrote: > Very Cool. > Is there an RSS version of this aggregation? Not yet, that's just a first start. I'll probably whip something off like a baby javablogs to make it more slick but I think it's just nice trying to gather all Maven related blogs to

Re: Comparison of large numbers?

2003-12-05 Thread Chad Brandon
You're right that's much better. Thanks Kevin. Although its still strange jelly won't allow large numbers to be compared. --- Kevin Hagel <[EMAIL PROTECTED]> wrote: > http://ant.apache.org/manual/CoreTasks/uptodate.html > > I use ant's updtodate for such things, have you > tried it? > > -

Re: Comparison of large numbers?

2003-12-05 Thread Kevin Hagel
http://ant.apache.org/manual/CoreTasks/uptodate.html I use ant's updtodate for such things, have you tried it? - Original Message - From: "Chad Brandon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 05, 2003 7:27 AM Subject: Comparison of large numbers? > Hi, > > I

Re: Maven related blog aggregation

2003-12-05 Thread Jeffrey D. Brekke
Very Cool. Is there an RSS version of this aggregation? > On Fri, 05 Dec 2003 01:24:31 -0500, Jason van Zyl <[EMAIL PROTECTED]> said: > On Thu, 2003-12-04 at 17:51, Jason van Zyl wrote: >> Howdy, >> >> If anyone has blogs that relate to Maven then send me a link to >> your blog as Bob is

Comparison of large numbers?

2003-12-05 Thread Chad Brandon
Hi, I'm using maven-rc1. This may be a dumb question, but is there some thing special I need to do to get jelly to evaluate expressions with large numbers? I'm trying to compare the last modified dates of two files within a plugin, but it ignores the comparison expression. I then just tried to e

Re: How to pass arguments to JVM

2003-12-05 Thread Charles N. Harvey III
My boss calls this the "Principle of Least Astonishment". Jason van Zyl wrote: On Thu, 2003-12-04 at 19:34, [EMAIL PROTECTED] wrote: Any default behaviour that causes less failure and suprise gets a big +1 - To unsubscribe, e-ma

RE: Newbie question on compile

2003-12-05 Thread Stéphane Philippart
thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vendredi 5 décembre 2003 15:10 To: Maven Users List Subject: Re: Newbie question on compile Stephane, a element represents a single dependency (e.g. a single tld file, a single jar, etc.), thus to specify

Re: Newbie question on compile

2003-12-05 Thread rhill2
Stephane, a element represents a single dependency (e.g. a single tld file, a single jar, etc.), thus to specify several library dependencies you have to declare one element per jar like below : Prima Solutions foo1.jar Prima Solutions foo2.jar Also to tell Maven

Re: Building WARS - a few questions

2003-12-05 Thread John D Taylor (ROE)
Hi Brian, One of our team has recently written a set of instructions for this that you may find useful: http://wiki.astrogrid.org/bin/view/Astrogrid/MakingWarWithMaven John - Original Message - From: "Brian Burridge" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thu

Re: JCoverage plugin (Was "How to pass arguments to JVM")

2003-12-05 Thread Emmanuel Venisse
This ant task are defined in jcoverage jar. Emmanuel - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Friday, December 05, 2003 2:43 PM Subject: JCoverage plugin (Was "How to pass arguments to JVM") > > I'm looking at jco

JCoverage plugin (Was "How to pass arguments to JVM")

2003-12-05 Thread Nicolas De Loof
I'm looking at jcoverage plugin source code. In plugin.jelly, jCoverage is lanched by I don't understand how and where this "" tag is linked to jCoverage. Can anyone explaint it to me please ? Nico > > I've got the same error using jcoverage plugin. Is they're any way to use a > te

Re: How to pass arguments to JVM

2003-12-05 Thread Emmanuel Venisse
No. Sorry. Emmanuel - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Nicolas De Loof" <[EMAIL PROTECTED]>; "Maven Users List" <[EMAIL PROTECTED]> Sent: Friday, December 05, 2003 1:41 PM Subject: Re: How to pass arguments to JVM > > I've got the same error using jco

Re: How to pass arguments to JVM

2003-12-05 Thread Nicolas De Loof
I've got the same error using jcoverage plugin. Is they're any way to use a temporary file to lanch jcoverage ? Nico. > > Your commandline for javadoc is too long, you need to use a file to > intermediate. Simply set the property maven.javadoc.useexternalfile to > true in your project.properti

Re: JUnit and getResourceAsStream

2003-12-05 Thread Ciaran Treanor
Lennart Martens wrote: Hi, It probably boils down to either not having the necessary file ('foo.xml') in the Junit classpath or a config problem. [snip] It's definitely Friday - sorry - that was a stupid mistake! Thanks, ct -

Re: JUnit and getResourceAsStream

2003-12-05 Thread Marcel May
Seems your resource is not in the classpath. Here is a hack for your maven.xml that should work: By copying your test resources to target/test-classes you make them available in the test classpath. CU, Marcel Ciaran Treanor wrote: I've got a unit test that needs to read a data file, i.e

RE: JUnit and getResourceAsStream

2003-12-05 Thread Lennart Martens
Hi, It probably boils down to either not having the necessary file ('foo.xml') in the Junit classpath or a config problem. The not-in-classpath problem can be taken care of by specifying the resource dependency in the 'unitTest' section of the project.xml like this:

JUnit and getResourceAsStream

2003-12-05 Thread Ciaran Treanor
I've got a unit test that needs to read a data file, i.e. InputStream in = getClass().getResourceAsStream("foo.xml"); Within Eclipse the file is found, however when running the test from within Maven the resource is not found (i.e. in is null). Any ideas? ct

Newbie question on compile

2003-12-05 Thread Stéphane Philippart
Hi all, I am new in using maven and try to do a simple java compile of an existing project. The old ant build include classpath with the following code : -