Dion,

>> > null:37:50: <attainGoal> null:34:37: <attainGoal> null:164:48:
>> > Q1) Is that error msg from Jelly what we would expect?? Looks
broken...
>> From jelly yes. From maven, no.

What I meant was, does that error message itself look broken?
Maybe I am missing something - but its hardly informative. Is this a Jelly
Bug or a feature?


>> > 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')}

Thanks Dion.
That fixed it.
-Nick




Extranet
[EMAIL PROTECTED] - 11/06/2003 16:10


Please respond to [EMAIL PROTECTED]
To:    dev

cc:


Subject:    Re: Jelly Bug?


[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]










This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to