You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sylvain Wallez <sy...@anyware-tech.com> on 2003/01/02 12:09:56 UTC
build : no more optional compilation, new eclipse-project target
Hi folks,
I just commited some changes to the build system :
- there is no more conditional compilation. All dependencies to
libraries that aren't included in Cocoon's CVS are resolved using mock
classes. This will avoid making incomplete distributions and releasing
source files that were never compiled.
- JDBC3 code is active by default in the source files
- there's a new "eclipse-project" build target that creates the Eclipse
project files for Cocoon.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: build : no more optional compilation, new eclipse-project target
Posted by Nicola Ken Barozzi <ni...@apache.org>.
Sylvain Wallez wrote:
> Hi folks,
>
> I just commited some changes to the build system :
> - there is no more conditional compilation.
Excellent, thanks Sylvain :-)
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: build : no more optional compilation, new eclipse-project target
Posted by Sylvain Wallez <sy...@anyware-tech.com>.
Steven Noels wrote:
> Sylvain Wallez wrote:
>
>> I also sent a question to license@ to know if we have the right to
>> redistribute these libraries. Reading the license I would say yes,
>> but IANAL.
>
>
> That's licensing <at> apache.org, AFAIK. Or at least, that's the list
> ^^^
> they kindly 'allow'ed me upon, when I started dicussing license stuff.
> It's member- and invitees-only, but there's nice people who will
> moderate you through.
>
> I made the mistake posting to license@ too before finally arriving at
> licensing@
I made a mistake in typing the above, as I correctly asked to licensing@
The mistake is easier to correct in that way ;-)
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: build : no more optional compilation, new eclipse-project target
Posted by Steven Noels <st...@outerthought.org>.
Sylvain Wallez wrote:
> I also sent a question to license@ to know if we have the right to
> redistribute these libraries. Reading the license I would say yes, but
> IANAL.
That's licensing <at> apache.org, AFAIK. Or at least, that's the list
^^^
they kindly 'allow'ed me upon, when I started dicussing license stuff.
It's member- and invitees-only, but there's nice people who will
moderate you through.
I made the mistake posting to license@ too before finally arriving at
licensing@
Regards,
</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org stevenn at apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: build : no more optional compilation, new eclipse-project target
Posted by Sylvain Wallez <sy...@anyware-tech.com>.
Bernhard Huber wrote:
> hi,
>
> Sylvain Wallez wrote:
>
>> I just commited some changes to the build system :
>> - there is no more conditional compilation. All dependencies to
>> libraries that aren't included in Cocoon's CVS are resolved using
>> mock classes. This will avoid making incomplete distributions and
>> releasing source files that were never compiled.
>
> how can i add new mock classes, did you auto-generated them?
> as i added mail package in scratchpad, sources uses some more
> javax.mail, and javax.mail.internet classes as already mockified.
No. I wrote them by hand by looking a Eclipse build errors, since very
few methods were actually used.
I also sent a question to license@ to know if we have the right to
redistribute these libraries. Reading the license I would say yes, but
IANAL.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: build : no more optional compilation, new eclipse-project target
Posted by Bernhard Huber <be...@a1.net>.
hi,
Sylvain Wallez wrote:
> I just commited some changes to the build system :
> - there is no more conditional compilation. All dependencies to
> libraries that aren't included in Cocoon's CVS are resolved using mock
> classes. This will avoid making incomplete distributions and releasing
> source files that were never compiled.
how can i add new mock classes, did you auto-generated them?
as i added mail package in scratchpad, sources uses
some more javax.mail, and javax.mail.internet classes
as already mockified.
regards bernhard
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: build : no more optional compilation, new eclipse-project target
Posted by Sylvain Wallez <sy...@anyware-tech.com>.
Litrik De Roy wrote:
>Sylvain,
>
>The .classpath file generated by the eclipse-project seems to be missing the
>following entry:
>
><classpathentry path="tools/lib/ant-1.5.jar" kind="lib"/>
>
>Without it, the scratchpad won't build and the following error is generated:
>
>Error The import org.apache.tools cannot be resolved CocoonTask.java
>Cocoon 2.1-dev/src/scratchpad/src/org/apache/cocoon/ant line 77
>
>
I don't know why Eclipse accepted to build without it this morning, as
it now fails... Anyway, it's fixed now.
>PS: Or it could be me...I'm still struggling trying to build Cocoon inside
>Eclipse...
>
>
Don't forget to rebuild your Eclipse project after this change, or
delete it and recreate it, and please report any problem.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: build : no more optional compilation, new eclipse-project target
Posted by Litrik De Roy <co...@litrik.com>.
----- Original Message -----
From: "Sylvain Wallez" <sy...@anyware-tech.com>
To: <co...@xml.apache.org>
Sent: Thursday, January 02, 2003 12:09 PM
Subject: build : no more optional compilation, new eclipse-project target
> Hi folks,
>
> I just commited some changes to the build system :
...
> - there's a new "eclipse-project" build target that creates the Eclipse
> project files for Cocoon.
>
> Sylvain
>
Sylvain,
The .classpath file generated by the eclipse-project seems to be missing the
following entry:
<classpathentry path="tools/lib/ant-1.5.jar" kind="lib"/>
Without it, the scratchpad won't build and the following error is generated:
Error The import org.apache.tools cannot be resolved CocoonTask.java
Cocoon 2.1-dev/src/scratchpad/src/org/apache/cocoon/ant line 77
PS: Or it could be me...I'm still struggling trying to build Cocoon inside
Eclipse...
Litrik De Roy
www.litrik.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org