Hi,

You need to follow *to the letter* what's written on:

http://jakarta.apache.org/cactus/participating/howto_build.html

For example, it seems you're missing the aspectjtools jar which is
described there...

-Vincent

> -----Original Message-----
> From: MS [mailto:[EMAIL PROTECTED]
> Sent: 14 January 2004 08:24
> To: Cactus Users List
> Subject: Help me
> 
> 
> 
> 
> hai all,
> 
> iam trying to install cactus from source.i am not allowed to download
the
> binaries.Now How can i do that from source.Is it possible to install
from
> source??
> 
> Currently i follow the following steps
> 
> 1.i have all the following jars in a directory under my cactus source
> directory.
> 
> ant-antlr.jar            commons-collections.jar  httpunit-1.5.3.jar
> jasper-runtime.jar       servlet.jar
> aspectjrt-1.1.1.jar      commons-httpclient.jar   j2ee.jar
> junit.jar                xercesImpl.jar
> commons-beanutils.jar    commons-logging.jar      jasper-compiler.jar
> log4j-20040112.jar       xmlParserAPIs.jar
> 
> 
> 2.i jave the ant/lib in my system with optional.jar file too.
> 
> 3.i followed as said in
> 
> http://jakarta.apache.org/cactus/participating/howto_build.html
> 
> i got the following error when it type ant -v
> 
> compile.main.prepare:
> 
> compile.main:
> 
> BUILD FAILED
> file:/disk1/release3/cactus/1.5/Source/jakarta-cactus-src-
> 1.5/framework/build.xml:242: Could not create task or type of type:
iajc.
> 
> Ant could not find the task or a class this task relies upon.
> 
> This is common and has a number of causes; the usual
> solutions are to read the manual pages then download and
> install needed JAR files, or fix the build file:
>  - You have misspelt 'iajc'.
>    Fix: check your spelling.
>  - The task needs an external JAR file to execute
>    and this is not found at the right place in the classpath.
>    Fix: check the documentation for dependencies.
>    Fix: declare the task.
>  - The task is an Ant optional task and optional.jar is absent
>    Fix: look for optional.jar in ANT_HOME/lib, download if needed
>  - The task was not built into optional.jar as dependent
>    libraries were not found at build time.
>    Fix: look in the JAR to verify, then rebuild with the needed
>    libraries, or download a release version from apache.org
>  - The build file was written for a later version of Ant
>    Fix: upgrade to at least the latest release version of Ant
>  - The task is not an Ant core or optional task
>    and needs to be declared using <taskdef>.
> 
> Remember that for JAR files to be visible to Ant tasks implemented
> in ANT_HOME/lib, the files must be in the same directory or on the
> classpath
> 
> Please neither file bug reports on this problem, nor email the
> Ant mailing lists, until all of these causes have been explored,
> as this is not an Ant bug.
>         at
>
org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.
ja
> va:324)
>         at
>
org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:240)
>         at
>
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:1
15
> )
>         at org.apache.tools.ant.Task.perform(Task.java:318)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:336)
>         at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>         at org.apache.tools.ant.Main.runBuild(Main.java:610)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> 
> Total time: 3 seconds
> 
> 
> Now,i want to know where is my mistake.I want to know how to set
> classpaths for ant/cactus.
> 
> I am very new to cactus and Unix
> 
> help me
> 
> 
> 
> 
> Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and
> more.Download now.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to