Since my "distro" is Windows 2000, I guess I will have to ask Microsoft
when their Ant distribution will include all of the anciliary files
required to run Cocoon.
I will have to check on Mandrake/Mandriva when I try to go live with this.
I hope that I will be able to download my application from the CVS to
Eclipse on the Linux server, rebuld and deploy it in production. What
are the odds on cross platform Cocoon development working? It would be
nice to just copy the webapp build from Windows to Linux and have it run.
I am developing on the latest Java and Tomcat with Eclipse so I guess
that I will have to read all of the Wikis and installations and
tutorials everytime I run into something.
At least I have got past the initial installation and the samples seem
to work.
Now I am trying out some of the tutorials to see if I can get a cleaner
Eclipse development platform. I am hoping not to have to build too many
custom transformers, etc.
Once I get this well understood, I will have another run at Lenya,
perhaps it will be ready for prime-time when I get ready to tackle it again.
Ron
AD Marshall wrote:
Hi Ron,
If you haven't seen it already, see the last post by Mark. What's at
the wiki page referred to, http://wiki.apache.org/cocoon/Installing,
suggests the problem is related to how one's Linux distro does the
installation of ant -- which would suggest it's up to the distro users to
fix it. If i can do that for SuSE (9.3), time permitting, will do and send
fix location to list. -- cheers, andi
On 8/20/05, Ron Wheeler <[EMAIL PROTECTED]> wrote:
I ran into this problem as well. Can this not be fixed in some way so
that it is part of cocoon or part of ant or not used.
If not, is there some way to check for its existance higher up in the
script and complain in a resaonable way.
Ron
JD Daniels wrote:
well heres a more useful reply...
somewhere in your build is:
<if>
<istrue value="${some.property}"/>
<then>
<dosomething/>
</then>
</if>
You need the ant-contrib for the <if> to work.
http://ant-contrib.sourceforge.net/
JD
JD Daniels wrote:
sounds like you need to add the ant-contrib jar to your ant classpath
JD
AD Marshall wrote:
Can anyone suggest a solution or reference for the following issue?
I'm repeatedly getting this message from cocoon's build.sh under
SuSE Linux 9.3:
BUILD FAILED
/home/am/bin/cocoon-2.1.7/tools/targets/compile-build.xml:244: The
following error occurred while executing this line:
/home/am/bin/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml:373:
Could not create task or type of type: if.
(Umm, "if"?!? That's the weirdest error message i've seen to date.
Anyway...)
I looked into the manual and blocks-build.xml (as build.sh's output
advises), but couldn't figure out what the problem is.
Before running build.sh, i checked my JAVA_HOME and ANT_HOME (and
others) -- ant supposedly being part of my SuSE 9.3 installation:
$ env | grep _HOME
FORREST_HOME=/home/am/bin/apache-forrest-0.7
JRE_HOME=/usr/lib/jvm/java/jre
JAVA_HOME=/usr/lib/jvm/java
SDK_HOME=/usr/lib/jvm/java
JDK_HOME=/usr/lib/jvm/java
I "unset FORREST_HOME" -- after noting cocoon included some "calls" to
forrest and fiddling with FORREST_HOME -- and tried again. Same
error.
I've included the complete output from build.sh from my latest attempt
(below my eSig').
Any suggestions?
Thanks,
Andi
PS: I don't have a regular Net connexion. So it might be day or two
before i see any replies. But i *will* get to any that come.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]