Discussion:
[castor-dev] Unable to compile Castor
August Detlefsen
2008-11-03 23:05:22 UTC
Permalink
I checked out the latest code from SVN:

svn checkout https://svn.codehaus.org/castor/castor/trunk

But I am unable to get it to compile using bin/build.sh.

In particular it complains about not being able to find these classes:

org.exolab.castor.mapping.xml.BindXml
org.exolab.castor.mapping.xml.ClassChoice
org.exolab.castor.mapping.xml.ClassMapping
org.exolab.castor.mapping.xml.FieldMapping
org.exolab.castor.mapping.xml.MapTo
org.exolab.castor.mapping.xml.MappingRoot
org.exolab.castor.mapping.xml.types.BindXmlNodeType
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
org.exolab.castor.mapping.xml.ClassMapping

I am unable to find these classes either in my SVN checkout or in trunk.zip (http://svn.castor.codehaus.org/viewrep/~tarball=zip/castor/castor/trunk/trunk.zip)

Do I need to download something else in order to compile Castor? Do I need to adjust my classpath?

Thanks,
August




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

http://xircles.codehaus.org/manage_email
Werner Guttmann
2008-11-04 07:33:14 UTC
Permalink
August,

please use Maven only for building Castor. We have - a couple of weeks
ago - decided to purge all generated classes from our SVN repository,
and thsu rely on Maven (and the Maven plugin for Castor) to generate
those classes from existing XML schemas.

And yes, I know that documentation about this change is not fully available.

Regards
Werner
Post by August Detlefsen
svn checkout https://svn.codehaus.org/castor/castor/trunk
But I am unable to get it to compile using bin/build.sh.
org.exolab.castor.mapping.xml.BindXml
org.exolab.castor.mapping.xml.ClassChoice
org.exolab.castor.mapping.xml.ClassMapping
org.exolab.castor.mapping.xml.FieldMapping
org.exolab.castor.mapping.xml.MapTo
org.exolab.castor.mapping.xml.MappingRoot
org.exolab.castor.mapping.xml.types.BindXmlNodeType
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
org.exolab.castor.mapping.xml.ClassMapping
I am unable to find these classes either in my SVN checkout or in trunk.zip (http://svn.castor.codehaus.org/viewrep/~tarball=zip/castor/castor/trunk/trunk.zip)
Do I need to download something else in order to compile Castor? Do I need to adjust my classpath?
Thanks,
August
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Joachim Grüneis
2008-11-04 14:26:44 UTC
Permalink
Hello,

can you please provide your environment? OS, Java version, Maven
version, directory name...
We have another user that also encounters a problem building Castor
under Windows and I want to check if you two are maybe running into
the same problem...

Have fun
Joachim
Post by August Detlefsen
svn checkout https://svn.codehaus.org/castor/castor/trunk
But I am unable to get it to compile using bin/build.sh.
org.exolab.castor.mapping.xml.BindXml
org.exolab.castor.mapping.xml.ClassChoice
org.exolab.castor.mapping.xml.ClassMapping
org.exolab.castor.mapping.xml.FieldMapping
org.exolab.castor.mapping.xml.MapTo
org.exolab.castor.mapping.xml.MappingRoot
org.exolab.castor.mapping.xml.types.BindXmlNodeType
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
org.exolab.castor.mapping.xml.ClassMapping
I am unable to find these classes either in my SVN checkout or in trunk.zip (http://svn.castor.codehaus.org/viewrep/~tarball=zip/castor/castor/trunk/trunk.zip)
Do I need to download something else in order to compile Castor? Do I need to adjust my classpath?
Thanks,
August
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Werner Guttmann
2008-11-04 19:43:50 UTC
Permalink
Joachim,

August i till trying to use Ant, instead of Maven. As a matter of fact,
we know that this won't work anymore, but have not communicated this
clearly.

Werner
Post by Joachim Grüneis
Hello,
can you please provide your environment? OS, Java version, Maven
version, directory name...
We have another user that also encounters a problem building Castor
under Windows and I want to check if you two are maybe running into
the same problem...
Have fun
Joachim
Post by August Detlefsen
svn checkout https://svn.codehaus.org/castor/castor/trunk
But I am unable to get it to compile using bin/build.sh.
org.exolab.castor.mapping.xml.BindXml
org.exolab.castor.mapping.xml.ClassChoice
org.exolab.castor.mapping.xml.ClassMapping
org.exolab.castor.mapping.xml.FieldMapping
org.exolab.castor.mapping.xml.MapTo
org.exolab.castor.mapping.xml.MappingRoot
org.exolab.castor.mapping.xml.types.BindXmlNodeType
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
org.exolab.castor.mapping.xml.ClassMapping
I am unable to find these classes either in my SVN checkout or in trunk.zip (http://svn.castor.codehaus.org/viewrep/~tarball=zip/castor/castor/trunk/trunk.zip)
Do I need to download something else in order to compile Castor? Do I need to adjust my classpath?
Thanks,
August
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
August Detlefsen
2008-11-04 20:07:05 UTC
Permalink
Yes some docs would certainly have helped. What ever happened to the Castor wiki?

BTW: My dev environment is Solaris 10, Java 1.5. I have not used Maven before but I guess now I will learn something new...

Regards,
August




----- Original Message ----
From: Werner Guttmann <***@gmx.net>
To: ***@castor.codehaus.org
Sent: Tuesday, November 4, 2008 11:43:50 AM
Subject: Re: [castor-dev] Unable to compile Castor

Joachim,

August i till trying to use Ant, instead of Maven. As a matter of fact,
we know that this won't work anymore, but have not communicated this
clearly.

Werner
Post by Joachim Grüneis
Hello,
can you please provide your environment? OS, Java version, Maven
version, directory name...
We have another user that also encounters a problem building Castor
under Windows and I want to check if you two are maybe running into
the same problem...
Have fun
Joachim
Post by August Detlefsen
svn checkout https://svn.codehaus.org/castor/castor/trunk
But I am unable to get it to compile using bin/build.sh.
org.exolab.castor.mapping.xml.BindXml
org.exolab.castor.mapping.xml.ClassChoice
org.exolab.castor.mapping.xml.ClassMapping
org.exolab.castor.mapping.xml.FieldMapping
org.exolab.castor.mapping.xml.MapTo
org.exolab.castor.mapping.xml.MappingRoot
org.exolab.castor.mapping.xml.types.BindXmlNodeType
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
org.exolab.castor.mapping.xml.ClassMapping
I am unable to find these classes either in my SVN checkout or in trunk.zip (http://svn.castor.codehaus.org/viewrep/~tarball=zip/castor/castor/trunk/trunk.zip)
Do I need to download something else in order to compile Castor? Do I need to adjust my classpath?
Thanks,
August
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
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
Werner Guttmann
2008-11-05 10:46:29 UTC
Permalink
August,

we are definitely aware of this, and we'll try to improve some docs
before 1.3 final.

http://castor.org/contributing.html#Using-Maven-2

has some very little information on how to build Castor using Maven 2
(please make sure that you get Maven 2.0.9).

Werner
Post by August Detlefsen
Yes some docs would certainly have helped. What ever happened to the Castor wiki?
BTW: My dev environment is Solaris 10, Java 1.5. I have not used
Maven before but I guess now I will learn something new...
Regards, August
----- Original Message ---- From: Werner Guttmann
November 4, 2008 11:43:50 AM Subject: Re: [castor-dev] Unable to
compile Castor
Joachim,
August i till trying to use Ant, instead of Maven. As a matter of
fact, we know that this won't work anymore, but have not communicated
this clearly.
Werner
Post by Joachim Grüneis
Hello,
can you please provide your environment? OS, Java version, Maven
version, directory name... We have another user that also
encounters a problem building Castor under Windows and I want to
check if you two are maybe running into the same problem...
Have fun Joachim
Post by August Detlefsen
svn checkout https://svn.codehaus.org/castor/castor/trunk
But I am unable to get it to compile using bin/build.sh.
org.exolab.castor.mapping.xml.BindXml
org.exolab.castor.mapping.xml.ClassChoice
org.exolab.castor.mapping.xml.ClassMapping
org.exolab.castor.mapping.xml.FieldMapping
org.exolab.castor.mapping.xml.MapTo
org.exolab.castor.mapping.xml.MappingRoot
org.exolab.castor.mapping.xml.types.BindXmlNodeType
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
org.exolab.castor.mapping.xml.ClassMapping
I am unable to find these classes either in my SVN checkout or in
trunk.zip
(http://svn.castor.codehaus.org/viewrep/~tarball=zip/castor/castor/trunk/trunk.zip)
Do I need to download something else in order to compile Castor?
Do I need to adjust my classpath?
Thanks, August
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Werner Guttmann
2008-11-05 10:47:19 UTC
Permalink
To the old one ? It vanished .. :-(. But there#s a Confluence instance
available for castor at the Codehaus, and I think we should start using
it (again).

Werner
Post by August Detlefsen
Yes some docs would certainly have helped. What ever happened to the Castor wiki?
BTW: My dev environment is Solaris 10, Java 1.5. I have not used Maven before but I guess now I will learn something new...
Regards,
August
----- Original Message ----
Sent: Tuesday, November 4, 2008 11:43:50 AM
Subject: Re: [castor-dev] Unable to compile Castor
Joachim,
August i till trying to use Ant, instead of Maven. As a matter of fact,
we know that this won't work anymore, but have not communicated this
clearly.
Werner
Post by Joachim Grüneis
Hello,
can you please provide your environment? OS, Java version, Maven
version, directory name...
We have another user that also encounters a problem building Castor
under Windows and I want to check if you two are maybe running into
the same problem...
Have fun
Joachim
Post by August Detlefsen
svn checkout https://svn.codehaus.org/castor/castor/trunk
But I am unable to get it to compile using bin/build.sh.
org.exolab.castor.mapping.xml.BindXml
org.exolab.castor.mapping.xml.ClassChoice
org.exolab.castor.mapping.xml.ClassMapping
org.exolab.castor.mapping.xml.FieldMapping
org.exolab.castor.mapping.xml.MapTo
org.exolab.castor.mapping.xml.MappingRoot
org.exolab.castor.mapping.xml.types.BindXmlNodeType
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
org.exolab.castor.mapping.xml.ClassMapping
I am unable to find these classes either in my SVN checkout or in trunk.zip (http://svn.castor.codehaus.org/viewrep/~tarball=zip/castor/castor/trunk/trunk.zip)
Do I need to download something else in order to compile Castor? Do I need to adjust my classpath?
Thanks,
August
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...