A quick update for those of you using Ant, or (still) wishing to do. I
just have had a close look again, and I have got one major remaining
problem with Ant.

As already mentioned below, there's classes that need to be generated
from XML schema, as we have removed them from the SVN repository. At the
same time, to generate these classes one does need a code generator that
can be executed, where the build has finished completely.

Problem is that the build will never finish as there's classes missing
that need to be generated. That#s what I call a circular reference.

With maven, the situation is a lot easier, as Maven will use (through
the Maven plugin for Castor) a code generator binary that has been
deployed already - and as such does not require a full build before.

If anybody has any input for this problem, it would be warmly welcome.

Let me just add that the majority of committers has (to my knowledge)
switched to Maven completely, and as such is not affected by this anymore.

Regards
Werner

Werner Guttmann wrote:
> Hi,
> 
> just to let everybody, who's trying to build Castor binaries from SVN
> trunk, know that the recommended tool for doing so is Maven.
> 
> We have recently started to use advanced Maven features that integrate
> automatic code generation from XML schema (for e.g. mapping files) into
> our Maven-based build process, as this enables us to delete generated
> source files from our SVN repository (something we have been trying for
> a long time).
> 
> As a result, the current Ant build is broken, and I cannot predict
> whether somebody will invest the time to basically rebuild this
> automatic code generation feature (as offered by Maven) in Ant, and get
> the Ant build working again.
> 
> Long message, short summary: please use Maven for building Castor.
> 
> Regards
> Werner
> 
> ---------------------------------------------------------------------
> 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