Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Cocoon ant build
Cocoon ant build [message #28678] Wed, 07 May 2003 14:37 Go to next message
Eclipse UserFriend
Originally posted by: fessler.cs.montana.edu

I'm just learing about cocoon, and while reading about it i found a
little website with almost enough information to show me how to turn it
into an eclipse project. So, i have cocoon running as an eclips
project, but the ant build fails. Here is the output from the console.
Basically it seems like it is looking for files in my home directory
instead of the cocoon directories. What I can't figure out is how to
make ant look in the right directories. I can run the ant build just
fine from command line in the cocoon directory. I'm certain there is
something simple i'm missing.

Thanks for you assistance and patience.

--marc


Buildfile: /usr/local/cocoon-2.0/build.xml

init:
[echo]
------------------------------------------------------------ --
[echo] Apache Cocoon 2.2.D11 [1999-2003]

[echo]
------------------------------------------------------------ --
[echo] Building with Ant version 1.5.1 compiled on October 2 2002
[echo] using build file /usr/local/cocoon-2.0/build.xml
[echo]
------------------------------------------------------------ --
[echo] WARNING:

[echo] This build is targeted for use with JVM 1.4
[echo]

[echo] Using this build on a virtual machine other than the
one
[echo] it is targeted for may result in runtime errors.

[echo]

[echo]
------------------------------------------------------------ --

optional-tests:

bsf-warn:

rhino-warn:

jfor-warn:

xmldb-warn:

xt-warn:

php-warn:

op-warning:
[echo] **********************************************
[echo] *
[echo] * Classes of the optional package PHP are not
[echo] * available. Apache Cocoon builds without them.
[echo] *
[echo] * PHP is required for the php generator.
[echo] *
[echo] * Recovery:
[echo] * Get the PHP servlet (phpsrvlt.jar) from
http://www.php.net/ and place the jar in the lib/optional dir
[echo] *
[echo] ***********************************************

naming-warn:

op-warning:
[echo] **********************************************
[echo] *
[echo] * Classes of the optional package JNDI are not
[echo] * available. Apache Cocoon builds without them.
[echo] *
[echo] * JNDI is required for the ldap generator and the
parentcm generator.
[echo] *
[echo] * Recovery:
[echo] * Get the jndi.jar from Sun and place the jar in the
lib/optional dir
[echo] *
[echo] ***********************************************

svg-warn:

fop-warn:

tidy-warn:

maybeupload-warn:

lucene-warn:

deli-warn:

velocity-warn:

hsqldb-warn:

resolver-warn:

jisp-warn:

pizza-warn:

poi-warn:

commons-logging-warn:

optional-warnings:

prepare:

generate-java-code-check:

generate-java-code:

filter-jdbc:

nofilter-jdbc:

prepare-jdbc:

prepare-src-main:
[roles-tool] Reading:
/home/marc/build/cocoon/src/org/apache/cocoon/cocoon.roles
[roles-tool] BUILD FAILED: file:/usr/local/cocoon-2.0/build.xml:909:
IOException: java.io.FileNotFoundException:
/home/marc/build/cocoon/src/org/apache/cocoon/cocoon.roles (No such file
or directory)
Total time: 19 seconds
Re: Cocoon ant build [message #29846 is a reply to message #28678] Mon, 12 May 2003 15:14 Go to previous message
Eclipse UserFriend
Set the basedir of the Ant build file to be the cocoon directory. That is
essentially what you are doing when you run the Ant build from the command
line in the cocoon directory.
You may have to alter other aspects of the build file to be properly
relative to the {$basedir} property.
The base directory can be set on the Main tab of the Ant launch
configuration dialog.

HTH
Darins

"Marc Fessler" <fessler@cs.montana.edu> wrote in message
news:3EB95254.9060007@cs.montana.edu...
> I'm just learing about cocoon, and while reading about it i found a
> little website with almost enough information to show me how to turn it
> into an eclipse project. So, i have cocoon running as an eclips
> project, but the ant build fails. Here is the output from the console.
> Basically it seems like it is looking for files in my home directory
> instead of the cocoon directories. What I can't figure out is how to
> make ant look in the right directories. I can run the ant build just
> fine from command line in the cocoon directory. I'm certain there is
> something simple i'm missing.
>
> Thanks for you assistance and patience.
>
> --marc
>
>
> Buildfile: /usr/local/cocoon-2.0/build.xml
>
> init:
> [echo]
> ------------------------------------------------------------ --
> [echo] Apache Cocoon 2.2.D11 [1999-2003]
>
> [echo]
> ------------------------------------------------------------ --
> [echo] Building with Ant version 1.5.1 compiled on October 2 2002
> [echo] using build file /usr/local/cocoon-2.0/build.xml
> [echo]
> ------------------------------------------------------------ --
> [echo] WARNING:
>
> [echo] This build is targeted for use with JVM 1.4
> [echo]
>
> [echo] Using this build on a virtual machine other than the
> one
> [echo] it is targeted for may result in runtime errors.
>
> [echo]
>
> [echo]
> ------------------------------------------------------------ --
>
> optional-tests:
>
> bsf-warn:
>
> rhino-warn:
>
> jfor-warn:
>
> xmldb-warn:
>
> xt-warn:
>
> php-warn:
>
> op-warning:
> [echo] **********************************************
> [echo] *
> [echo] * Classes of the optional package PHP are not
> [echo] * available. Apache Cocoon builds without them.
> [echo] *
> [echo] * PHP is required for the php generator.
> [echo] *
> [echo] * Recovery:
> [echo] * Get the PHP servlet (phpsrvlt.jar) from
> http://www.php.net/ and place the jar in the lib/optional dir
> [echo] *
> [echo] ***********************************************
>
> naming-warn:
>
> op-warning:
> [echo] **********************************************
> [echo] *
> [echo] * Classes of the optional package JNDI are not
> [echo] * available. Apache Cocoon builds without them.
> [echo] *
> [echo] * JNDI is required for the ldap generator and the
> parentcm generator.
> [echo] *
> [echo] * Recovery:
> [echo] * Get the jndi.jar from Sun and place the jar in the
> lib/optional dir
> [echo] *
> [echo] ***********************************************
>
> svg-warn:
>
> fop-warn:
>
> tidy-warn:
>
> maybeupload-warn:
>
> lucene-warn:
>
> deli-warn:
>
> velocity-warn:
>
> hsqldb-warn:
>
> resolver-warn:
>
> jisp-warn:
>
> pizza-warn:
>
> poi-warn:
>
> commons-logging-warn:
>
> optional-warnings:
>
> prepare:
>
> generate-java-code-check:
>
> generate-java-code:
>
> filter-jdbc:
>
> nofilter-jdbc:
>
> prepare-jdbc:
>
> prepare-src-main:
> [roles-tool] Reading:
> /home/marc/build/cocoon/src/org/apache/cocoon/cocoon.roles
> [roles-tool] BUILD FAILED: file:/usr/local/cocoon-2.0/build.xml:909:
> IOException: java.io.FileNotFoundException:
> /home/marc/build/cocoon/src/org/apache/cocoon/cocoon.roles (No such file
> or directory)
> Total time: 19 seconds
>
Previous Topic:Eclipse 2.1 OutOfMemoryException WinXP prevents startup
Next Topic:Porbs with auto-merge of jsp's in eclipse CVS
Goto Forum:
  


Current Time: Fri Apr 25 19:16:57 EDT 2025

Powered by FUDForum. Page generated in 0.06925 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top