Thanks, but attaching XML schemas to the mailing list does not really make sense, as I won't be looking at them. As already said in my previous reply, let's first have a look at the exception, and then decided whether to open a new Jira issue (where you'll be able to attach your schemas).
Regards Werner Ezequiel Puig wrote: > Sorry, > > > > I just realized the xsd i send have dependecies. They are here. > > > > And for info, i am unsing castor-1.1.2.1 > > > > Thanks. > > > > Ezequiel > > > > -----Message d'origine----- > *De :* Ezequiel Puig > *Envoyé :* vendredi 13 juillet 2007 15:18 > *À :* [email protected] > *Objet :* [castor-user] Problem with ant task > > > > Hi, > > > > I am trying to use the ant task over a valid xsd and i am getting a > _java.lang.NullPointerException_ > > I know it looks stupid, but i connot find the error. The xsd is > enourmous, so it’s in the attachement. > > > > My ant task looks like: > > > > <?xml version="1.0"?> > > <project default="castor:gen:ComplexTypes" basedir="."> > > > > <property name="lib.dir" value="${basedir}/lib" /> > > <property name="src.dir" value="${basedir}/../../src" /> > > <property name="xsd.dir" value="${basedir}/xsd" /> > > > > <path id="classpath"> > > <fileset dir="${lib.dir}" includes="**/*.jar"/> > > </path> > > <target name="castor:gen:ComplexTypes" description="Generate Java > source files from ComplexTypes XSD."> > > <taskdef name="castor-srcgen" > > classname="org.castor.anttask.CastorCodeGenTask" > > classpathref="classpath" /> > > <mkdir dir="generated" /> > > <castor-srcgen file="${xsd.dir}/xft_ComplexTypes.xsd" > > todir="${src.dir}" > > package="domaine.response" > > types="j2" > > verbose="true" > > nameConflictStrategy="informViaLog" > > /> > > </target> > > </project> > > > > > > I have to say that i have used the same ant task with others xsd without > any problem, so i think whe issue is more xsd related than ant related. > > > > Thanks for your time and have a nice weekend. > > > > Ezequiel > > > > > > > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

