Hi Chris,

  Yes, I did set the dst dir in the properties.

Thx anyway!

Chris Wilder-Smith writes:

> Fabio,
> 
> 
> 
> Just a thought... Have you set the destination directory via the
> maven.castor.dest property in project.properties?
> 
> Regards,
> 
> Chris
> 
> 
> 
> On Tue, 2003-11-18 at 09:40, Fabio Uechi wrote:
>> Hi all!!
>> 
>>     This is my first time using maven. I'm trying to generate a
>> jar containing some castor-xml generated classes. Unfortunatelly
>> I'm not succeeding in generating the classes.
>>     I'm getting the following error message:
>> 
>> BUILD FAILED
>> File...... file:/C:/Documents and
>> Settings/Uechi/.maven/plugins/maven-castor-plu
>> gin-1.0/
>> Element... maven:addPath
>> Line...... 21
>> Column.... 58
>> java.lang.NullPointerException
>> Total time: 10 seconds
>> 
>>    My maven.xml:
>> 
>> <project  xmlns:maven="jelly:maven" xmlns:castor="castor" >
>>      <!-- Use castor pluggin to generate xml mapping classes. -->
>>      <preGoal name="java:compile">
>>              <attainGoal name="castor:prepare-filesystem"/>
>>              <castor:generate schema="src/java/schemas/efitness.xsd"
>> package="ch.fhso.efitness.util" types="j2"/>
>>      </preGoal>
>> </project>
>> 
>>    Any help or tip is welcome! Thanks in advance!
>> 
>> Fabio
>> --------------------------------------------------------------------------------
>> Get your free 15 Mb POP3 email @alexandria.cc
>> Click here -> http://www.alexandria.cc/
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> -- 
> Chris Wilder-Smith
> Principal Technical Architect
> 
> mailto:[EMAIL PROTECTED]      http://www.cast.org
> CAST: 781-245-2212       Home Office: 508-650-8885
> AIM ChrisWSatWork        ICQ: 95325318
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--------------------------------------------------------------------------------
Get your free 15 Mb POP3 email @alexandria.cc
Click here -> http://www.alexandria.cc/

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

Reply via email to