You are welcome. I hope you are not downloading the complete repository,
but only the castor/trunk part of it .. as that's what you need. In
total, you should not get more than about 12 MBs worth of files.

Werner

Ezequiel Puig wrote:
> Hi,
> 
> Yes, i sow your message. I am downloading the repository. It's taking a lot 
> of time...
> I will do the test this afternoon and i will let you know the result ASAP.
> 
> Thanks for all !!!
> 
> 
> 
> -----Message d'origine-----
> De : Werner Guttmann [mailto:[EMAIL PROTECTED] 
> Envoyé : lundi 23 juillet 2007 11:56
> À : [email protected]
> Objet : Re: [castor-user] Re : [castor-user] Problem with ant task
> 
> Can I assume that you have seen my comment within the Jira issue you
> created ?
> 
> Werner
> 
> PS If you need any help testing a patch yourself, let us know.
> 
> Ezequiel Puig wrote:
>> Hi Werner,
>>
>> How is going that theme ? Can i do something else for you ? Can I help you 
>> in anything to resolve this problem ? If you point me in the right direction 
>> i could try to solve that problem by myself (but for the moment i am lost :( 
>> )
>>
>> Thanks.
>>
>> -----Message d'origine-----
>> De : Werner Guttmann [mailto:[EMAIL PROTECTED] 
>> Envoyé : jeudi 19 juillet 2007 10:29
>> À : [email protected]
>> Objet : Re: [castor-user] Re : [castor-user] Problem with ant task
>>
>> Thanks for the additional effort to make our life easier.
>>
>> Werner
>>
>> Ezequiel Puig wrote:
>>> Hi,
>>>
>>> I have been working in my problem and i have managed to reproduce the 
>>> problem with a much smaller xsd:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
>>> elementFormDefault="qualified" attributeFormDefault="unqualified">
>>>     <xs:complexType name="DateTimeWindowType" mixed="true">
>>>             <xs:complexContent mixed="true">
>>>                     <xs:extension base="EntityQualifiedType">
>>>                             <xs:attributeGroup ref="DateTimeWindowGroup"/>
>>>                     </xs:extension>
>>>             </xs:complexContent>
>>>     </xs:complexType>
>>>     <xs:complexType name="EntityQualifiedType">
>>>             <xs:attribute name="Role" use="optional"/>
>>>             <xs:attribute name="Role2" use="optional"/>
>>>     </xs:complexType>
>>>     <xs:attributeGroup name="DateTimeWindowGroup">
>>>             <xs:attribute name="Begin" type="DateOrDurationType" 
>>> use="optional"/>
>>>     </xs:attributeGroup>
>>>     <xs:simpleType name="DateOrDurationType">
>>>             <xs:union memberTypes="DateTimeType DateDurationType"/>
>>>     </xs:simpleType>
>>>     <xs:simpleType name="DateTimeType">
>>>             <xs:union memberTypes="xs:date xs:time xs:dateTime"/>
>>>     </xs:simpleType>
>>>     <xs:simpleType name="DateDurationType">
>>>             <xs:union memberTypes="xs:nonNegativeInteger xs:duration"/>
>>>     </xs:simpleType>
>>> </xs:schema>
>>>
>>> Can anybody tell me if there is any option CASTOR doesn't support, or if 
>>> there is an error (that i didn't see) in the xsd ?
>>>
>>> Thanks.
>>>
>>> Ezequiel.
>>>
>>> -----Message d'origine-----
>>> De : Ezequiel Puig 
>>> Envoyé : lundi 16 juillet 2007 11:22
>>> À : [email protected]
>>> Objet : Re: [castor-user] Problem with ant task
>>>
>>> Hi Werner,
>>>
>>> I have created the JIRA. I hope you have there all the information you need.
>>>
>>> Thanks to take the time to look into that.
>>>
>>> Ezequiel.
>>>
>>>
>>>
>>> -----Message d'origine-----
>>> De : Werner Guttmann [mailto:[EMAIL PROTECTED] 
>>> Envoyé : lundi 16 juillet 2007 10:10
>>> À : [email protected]
>>> Objet : Re: [castor-user] Problem with ant task
>>>
>>> Can you please create a new Jira issue and attach all relevant files ?
>>>
>>> Werner
>>>
>>> Ezequiel Puig wrote:
>>>> Hi,
>>>>
>>>> Sorry for attaching the files. The complete log is:
>>>>
>>>> Buildfile: 
>>>> C:\Developpement\PackagioV2\WebContent\WEB-INF\generateCetoResponseBeans.xml
>>>> castor:gen:ComplexTypes:
>>>> [castor-srcgen] Processing 
>>>> C:\Developpement\PackagioV2\WebContent\WEB-INF\xsd\xft_ComplexTypes.xsd
>>>> [castor-srcgen] Creating classes for: Vaccine
>>>> [castor-srcgen] Creating classes for: VaccineType
>>>> [castor-srcgen] Creating classes for: EntityQualifiedType
>>>> [castor-srcgen] Creating classes for: EntityType
>>>> [castor-srcgen] Creating classes for: AtomType
>>>> [castor-srcgen] Creating classes for: Station
>>>> [castor-srcgen] Creating classes for: StationType
>>>> [castor-srcgen] Creating classes for: LocationType
>>>> [castor-srcgen] Creating classes for: Situations
>>>> [castor-srcgen] Creating classes for: CollectionType
>>>> [castor-srcgen] Creating classes for: RoomCategory
>>>> [castor-srcgen] Creating classes for: RoomCategoryType
>>>> [castor-srcgen] Creating classes for: Routes
>>>> [castor-srcgen] Creating classes for: FareBasis_s
>>>> [castor-srcgen] Creating classes for: Emails
>>>> [castor-srcgen] Creating classes for: Identification
>>>> [castor-srcgen] Creating classes for: IdentificationType
>>>> [castor-srcgen] Creating classes for: Taxes
>>>> [castor-srcgen] Creating classes for: Currency
>>>> [castor-srcgen] Creating classes for: CurrencyType
>>>> [castor-srcgen] Creating classes for: Carriers
>>>> [castor-srcgen] Creating classes for: MinMax
>>>> [castor-srcgen] Creating classes for: MinMaxType
>>>> [castor-srcgen] Creating classes for: Agents
>>>> [castor-srcgen] Creating classes for: Vias
>>>> [castor-srcgen] Creating classes for: CollectionLocationType
>>>> [castor-srcgen] Creating classes for: Symptom
>>>> [castor-srcgen] Creating classes for: SymptomType
>>>> [castor-srcgen] Creating classes for: Holder
>>>> [castor-srcgen] Creating classes for: TravellerType
>>>> [castor-srcgen] Creating classes for: PersonType
>>>> [castor-srcgen] Creating classes for: TravelEntityType
>>>>
>>>> BUILD FAILED
>>>> C:\Developpement\PackagioV2\WebContent\WEB-INF\generateCetoResponseBeans.xml:40:
>>>>  java.lang.NullPointerException
>>>>
>>>> Total time: 6 seconds
>>>>
>>>>
>>>> I don't know if i there is a place where i can find out more information 
>>>> about the NPE.
>>>>
>>>> I am using castor 1.1.2.1, but i have tried also versions 1.1.1 and 1.0.5 
>>>> and the result was the same :(
>>>>
>>>>
>>>> Thanks for all.
>>>>
>>>> Ezequiel.
>>>>
>>>> -----Message d'origine-----
>>>> De : Werner Guttmann [mailto:[EMAIL PROTECTED] 
>>>> Envoyé : vendredi 13 juillet 2007 23:10
>>>> À : [email protected]
>>>> Objet : Re: [castor-user] Problem with ant task
>>>>
>>>> Mind showing us the NPE (stacktrace) ? ANd what Castor version are you
>>>> using ?
>>>>
>>>> Werner
>>>>
>>>> Ezequiel Puig wrote:
>>>>> 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
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>>
>>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
> 
> ---------------------------------------------------------------------
> 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
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to