Thanks, Joachim.

Werner

Joachim Grüneis wrote:
> Hello,
> Congratulations! :-)
> 
> The two tests you mention are related to a problem in Castor itself - I will
> open a Jira issue for it - for the time being I have commented those tests
> already yesterday and after a checkout all should be well. Btw you can
> checkout also with maven using 'mvn scm:update'.
> 
> Have fun
> 
> Joachim
> 
> 2008/5/3 Le Duc Bao <[EMAIL PROTECTED]>:
> 
>> Hi,
>>
>> I managed to setup working environment for castor and castor-jaxb-2.0
>> projects. I tried to run test suite of castor-jaxb-2.0 and got following
>> result:
>>
>> Results :
>>
>> Tests in error:
>>   testUnmarshalInputSource(org.castor.jaxb.UnmarshallerTest)
>>   testUnmarshalInputSourceWithListener(org.castor.jaxb.UnmarshallerTest)
>>
>> Tests run: 65, Failures: 0, Errors: 2, Skipped: 0
>>
>> I guest that those errors exist due to this is a development snapshot.
>>
>> Thanks for your helps.
>> Bao
>>
>>
>> On Fri, May 2, 2008 at 9:21 PM, Werner Guttmann <[EMAIL PROTECTED]>
>> wrote:
>>
>>> Bao,
>>>
>>> Le Duc Bao wrote:
>>>> Thanks for your rapid response. I installed successfully
>>>> maven-compiler-plugin ...
>>> Just wondering what you are trying to say here. With Maven, you do (have
>>> to) install any plugins manually .... all you have to do is to
>>>
>>> a) install Maven 2 on your machine
>>> b) configure your OS according to the Maven 2 installation instructions
>>> c) point M2_REPO to a location of your choice
>>>
>>> and run mvn compile for the first time in the CASTOR project directory.
>>> Maven will - upon starting it - download all required dependencies
>>> itself, and that includes all required plugins.
>>>
>>> Werner
>>> and then executed mvn eclipse:eclipse. I got an error
>>>> message below. I'm not familiar with Maven, please help me if you have
>>>> experience in this problem.
>>>>
>>>> My environment:
>>>> - apache-maven-2.0.8
>>>> - jdk1.6.0
>>>> - Windows XP
>>>>
>>>> D:\projects\castor_dev\castor-jaxb-2.0\trunk>mvn eclipse:eclipse
>>>> [INFO] Scanning for projects...
>>>> [INFO] Searching repository for plugin with prefix: 'eclipse'.
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] null
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NullPointerException
>>>>         at
>>>> org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDes
>>>> criptor.java:262)
>>>>         at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
>>>> (DefaultLifecycleExecutor.java:1529)
>>>>         at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
>>>> AggregationNeeds(DefaultLifecycleExecutor.java:386)
>>>>         at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
>>>> fecycleExecutor.java:138)
>>>>         at
>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>>>>         at
>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>>>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>         at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>>> java:39)
>>>>         at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>>> sorImpl.java:25)
>>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>>>         at
>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>         at
>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>>
>>>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: < 1 second
>>>> [INFO] Finished at: Fri May 02 18:12:41 CEST 2008
>>>> [INFO] Final Memory: 1M/4M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> Thank you,
>>>> Bao
>>>>
>>>> On Fri, May 2, 2008 at 4:48 PM, Joachim Grüneis <[EMAIL PROTECTED]>
>>> wrote:
>>>>> Hello,
>>>>> first of all: castor-jaxb-2.0 is a Maven project and you should
>>> always
>>>>> perform a maven eclipse:eclipse after checkout - I have added
>>> .project and
>>>>> .classpath once but I'm not sure if these files are still valid and I
>>> think
>>>>> I have even removed them already...
>>>>>
>>>>> If you cannot compile using mvn compile then please reply with the
>>> errors
>>>>> you get - I'll have a look and will help you.
>>>>>
>>>>> Regards
>>>>>
>>>>> Joachim
>>>>>
>>>>> 2008/5/2 Le Duc Bao <[EMAIL PROTECTED]>:
>>>>>
>>>>> Hi all,
>>>>>> I've checked out castor-jaxb-2.0 from
>>>>>> https://svn.codehaus.org/castor/castor-jaxb-2.0/trunk and tried to
>>> build
>>>>>> it. I have some problems with dependencies. I tried with maven's
>>> compile
>>>>>> command and it didn't work. I add manually logging related jars
>>> stuff and
>>>>>> castor-1.2.jar, then it remains  still some errors:
>>>>>> - javax.xml.bind.annotation.XmlSeeAlso cannot be resolved to a type
>>>>>> - org.castor.xml.UnmarshalListener cannot be resolved to a type
>>>>>>
>>>>>> Could you please help me to resolve those issues.
>>>>>>
>>>>>> Thanks,
>>>>>> Le Duc Bao
>>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>> --
>> Le Duc Bao
> 


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

    http://xircles.codehaus.org/manage_email


Reply via email to