maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Uechi" <fab...@alexandria.cc>
Subject Re: castor's plugin - maven: addPath null pointer exception
Date Tue, 18 Nov 2003 19:41:25 GMT

Found the problem!
It was missing the build section (sourceDirectory) in my
project.xml
No its working!

Cheers
Fabio


Fabio Uechi writes:

> 
> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>> 
>> -- 
>> Chris Wilder-Smith
>> Principal Technical Architect
>> 
>> mailto:cws@cast.org      http://www.cast.org
>> CAST: 781-245-2212       Home Office: 508-650-8885
>> AIM ChrisWSatWork        ICQ: 95325318
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 
> 
> --------------------------------------------------------------------------------
> Get your free 15 Mb POP3 email @alexandria.cc
> Click here -> http://www.alexandria.cc/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

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

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


Mime
View raw message