exec resultproperty only set once

2005-05-03 Thread Damien Bargiacchi
I am using the exec task within a j:forEach loop. I am trying to monitor the status of the execs, but once the resultproperty is set by the first exec, the others won't overwrite it. I tried to j:remove the properties, but that doesn't work. Any ideas? ...Damien -

Reading each line of a text file?

2005-05-03 Thread Harrison . Curtis
I am currently using util:loadText and util:tokenize and j:forEach to loop through each line of a text file. Is there a better way to read each line of a text file in a jelly script? - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: compile errors: packages dont exist and Unresolved symbol errors...

2005-05-03 Thread Brett Porter
you still need to have declared jaxb-api etc in your project.xml for the property overrides to work. If you have, try -X - it will show you the actual classpath being used for compilation. - Brett On 5/4/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote: > > > Hi, > > Newbie here, trying to resol

Re: accessing plugin-variables in subprojects

2005-05-03 Thread Brett Porter
unfortunately, yes. Bear in mind that maven.xml is inherited so you need only do it once if your reactored projects all inherit a common file. - Brett On 5/3/05, Jens Zastrow <[EMAIL PROTECTED]> wrote: > the same happens with the test-plugin... the following code does not > work. > > >test=

Re: [m2] exception while creating skeleton project

2005-05-03 Thread Brett Porter
On 5/3/05, Simon Matic Langford <[EMAIL PROTECTED]> wrote: > it sounds like having to create a dummy pom and blank jar is a bit of a > hack > isn't there a cleaner way to support jars that can't be released? > yes, working on it for alpha-2. --

Re: Building on Unix AND Windows

2005-05-03 Thread Chad Brandon
Jamie Bisotti wrote: We have setup CruiseControl, which is using Maven to build, on a Linux box, but most (all) developers are currently using Maven on Windows. We have a parent project, containing the common project.xml, and several child project's, containing project.xml's that extend the parent

compile errors: packages dont exist and Unresolved symbol errors...

2005-05-03 Thread Savitha Rajiv
Hi, Newbie here, trying to resolve a bunch of compile errors: [javac] Compiling 63 source files to C:\Root\build\target\classes C:\Root\src\com\wiziotec\common\lib\ConfigUtil.java:17: package javax.xml.bind does not exist import javax.xml.bind.JAXBContext; ^ C:

Re: Building on Unix AND Windows

2005-05-03 Thread Alex Soto
I use forward slashes on windows and I haven't had a problem. Here is a snippet of one of my project.xml's: ${basedir}/../../common/project.xml I'm not running a build on linux at the moment, so I can't test it on Linux, but forward slashes works on windows for me. Have you tried using forw

Re: Building on Unix AND Windows

2005-05-03 Thread Jamie Bisotti
Great! Thanks. On 5/3/05, Peter van de Hoef <[EMAIL PROTECTED]> wrote: > The forward slash works in both Windows and Linux. > > Jamie Bisotti wrote: > > >We have setup CruiseControl, which is using Maven to build, on a Linux > >box, but most (all) developers are currently using Maven on Windows

Re: Building on Unix AND Windows

2005-05-03 Thread Peter van de Hoef
The forward slash works in both Windows and Linux. Jamie Bisotti wrote: We have setup CruiseControl, which is using Maven to build, on a Linux box, but most (all) developers are currently using Maven on Windows. We have a parent project, containing the common project.xml, and several child project

Building on Unix AND Windows

2005-05-03 Thread Jamie Bisotti
We have setup CruiseControl, which is using Maven to build, on a Linux box, but most (all) developers are currently using Maven on Windows. We have a parent project, containing the common project.xml, and several child project's, containing project.xml's that extend the parent project.xml. With m

RE: Dependency on test class

2005-05-03 Thread David Jackman
For what it's worth (probably not much), I think this isn't the best approach. Essentially, core has a dependency on the test code of storage. Expressing the dependency this way will break if any of the following happens: * The storage project moves to a new location * Core's dependency on storag

RE: Announcement and Multiproject

2005-05-03 Thread Vincent Massol
> -Original Message- > From: Poppe, Troy [mailto:[EMAIL PROTECTED] > Sent: mardi 3 mai 2005 17:37 > To: 'Maven Users List' > Subject: Announcement and Multiproject > > > Does anyone currently use multiproject and the announcement plugin at the > same > time? > > In which changes.xml do

Re: Intermittent failure with tomcat deployment

2005-05-03 Thread Mykel Alvis
Sorry. Reponse lag and Gmail fooled me into sending the mail too early. I get intermittent failures when deploying. In my cron'd nightly extract/build/deploy , I build the app in several maven calls, since javadoc and doxygen both bomb out due to OutOfMemory errors. Snippet of the shell script t

Intermittent failure with tomcat deployment

2005-05-03 Thread Mykel Alvis
tomcat:deploy: [deploy] FAIL - Encountered exception java.io.IOException: java.lang.reflect.InvocationTargetException? [deploy] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: test:test on windows

2005-05-03 Thread Jan Rudert
hi, yes they do sometimes. they do rpc calls and stuff like that. but always with a started "communication pair". which service do you think of? the problem is, that it is not deterministic. we've git about 140 tests and there are often different tests to hang. with maven -X i get problems. tests

Announcement and Multiproject

2005-05-03 Thread Poppe, Troy
Does anyone currently use multiproject and the announcement plugin at the same time? In which changes.xml do you have developers put in their update/add entries? At the 'root' project, or in the specific sub-project? Is there a way for multiproject or announcement to combine the changes.xml f

Re: Dependency on test class

2005-05-03 Thread Petr Adamek
baleineca wrote: I am using a preGoal for the test dependency. This goes in the maven.xml (in your case it woud be 'core'). In your case, from looking at your layout, it would be something like this. Adjust the pathelement to suit your need. (xmlns:ant="jelly:ant" and xmlns:m="jelly:maven" in th

RE: Maven Junit test ClassNotFoundException

2005-05-03 Thread BADIHI David
Do you specify the junit in the dependencies ? I have a problem, it t could not resolve the symbol asserttrue or assertfalse. And the compilation fails. Do you have any idea ? -Message d'origine- De : Wim Vandewalle [mailto:[EMAIL PROTECTED] Envoyé : mardi 3 mai 2005 12:47 À : users@

RE: accessing plugin-variables in subprojects

2005-05-03 Thread Jens Zastrow
the same happens with the test-plugin... the following code does not work. should i have to add a test:test-postgoal to copy the 'maven.test.failure' from the plugin to the pom-context en every sub-project?! - Jens -Original Message- From: Brett Porter [mailto:[EMAIL PROTE

RE: [m2] exception while creating skeleton project

2005-05-03 Thread Simon Matic Langford
it sounds like having to create a dummy pom and blank jar is a bit of a hack isn't there a cleaner way to support jars that can't be released? simon > -Original Message- > From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] > Sent: 29 April 2005 13:55 > To: Maven Users List > Subject: Re:

Re: Maven Junit test ClassNotFoundException

2005-05-03 Thread Wim Vandewalle
The POM is identical to the 10 minute test at the Maven site: sample sample-echo 1.0-SNAPSHOT log4j log4j 1.2.8 src/main/java src/test/java src/main/resources **/*Test.java If I

Re: Maven Junit test ClassNotFoundException

2005-05-03 Thread Samuel Le Berrigaud
Hi, there is something strange between your source files and your class files. Is the pakcage of Tryit.java the default package or the "code" package ? First I would say have the same directory structure inside your src/main and src/test, and the same package for the class being tested and the t

Maven Junit test ClassNotFoundException

2005-05-03 Thread Wim Vandewalle
Hi I started recently setting up a test with Maven. I followed the steps described in "Getting started - Creating a project". I added 2 simple classes: - src/main/java/code/Tryit.java - src/test/java/TryitTest.java (unit test) The java classes compile ok: - target/classes/main/java/code/TryIt.

Re: package org.apache.log4j does not exist

2005-05-03 Thread Samuel Le Berrigaud
Hi, you should take a look at this page that explains on the maven repositrories: http://maven.apache.org/using/repositories.html Any way if you want to add log4j as a dependency of your project simply add those lines to your pom (project.xml): log4j log4j 1.2.8 jar If you s