maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: Jelly Bug?
Date Wed, 11 Jun 2003 15:10:29 GMT
nick.minutello@bnpparibas.com wrote on 10/06/2003 12:28:53 PM:

> 
> 
> I am getting the following error with Maven-cvs-head :
> 
> In my maven.xml, I have
> 
>     <preGoal name="test:test">
>         <replace file="${maven.test.dest}/entityengine.xml" token="%
> USER%" value="${test.dbuser}"/>
>     </preGoal>
> 
> And I get the error:
> 
> BUILD FAILED
> null:37:50: <attainGoal> null:34:37: <attainGoal> null:164:48: 
> <replace> Replace: source file \entityengine.xml doesn't exist
> Total time: 2 minutes 57 seconds
> 
> ... even though ${maven.test.dest}/entityengine.xml clearly exists.
> I have tested ${maven.test.dest} and its null - which accounts for the
> error. Question is why is it null?
> 
> Q1) Is that error msg from Jelly what we would expect?? Looks broken...
>From jelly yes. From maven, no.

> Q2) This might be related to
> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-469
Looks completely unrelated.

> Q3) I would expect the test plugin properties to be set by the time the
> pre-goal gets called, right?
Nope. You'll need to not use the ${maven.test.dest} style and use 
${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.dest')}

--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message