You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by malini <on...@yahoo.co.in> on 2004/01/12 10:57:04 UTC

Basic Install steps

Hai,
I am totally new to these opensource product.i have come with some basic doubts and steps to install it.

RE: Help me

Posted by Vincent Massol <vm...@pivolis.com>.
Have you read my previous email? Can you provide feedback on what I
said/asked? Then we can progress.

Thanks
-Vincent

> -----Original Message-----
> From: MS [mailto:only4ukutty@yahoo.co.in]
> Sent: 14 January 2004 11:21
> To: Cactus Users List
> Subject: RE: Help me
> 
> hai all,
> i have got this error when i did as said in the link
> i dono where to set that taskdef tag and itz actual purpose
> when i did ant -v
> 
> i got
> 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.
> Total time: 3 seconds
> 
> 
> 
> Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and
> more.Download now.


RE: Help me

Posted by MS <on...@yahoo.co.in>.
hai all,
i have got this error when i did as said in the link
i dono where to set that taskdef tag and itz actual purpose
when i did ant -v
 
i got
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.
Total time: 3 seconds


 
Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.

RE: Help me

Posted by Vincent Massol <vm...@pivolis.com>.
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:only4ukutty@yahoo.co.in]
> 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.


Help me

Posted by MS <on...@yahoo.co.in>.


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.java:324)
        at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:240)
        at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:115)
        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.

RE: Basic Install steps

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: MS [mailto:only4ukutty@yahoo.co.in]
> Sent: 13 January 2004 04:36
> To: Cactus Users List
> Subject: RE: Basic Install steps
> 
> 
> 
> 
> hai vincent,
> 
> i am in the position to do that task.i was given the source and asked
to
> install it.thatz why i am very specific to know that steps.

Yes, but maybe the person who gave you the source doesn't know that a
binary version exists...

> 
> just help me out.i'll also try to binary version

Yes, using the binary version is easier.

-Vincent


RE: Basic Install steps

Posted by MS <on...@yahoo.co.in>.


hai vincent,

i am in the position to do that task.i was given the source and asked to install it.thatz why i am very specific to know that steps.

just help me out.i'll also try to binary version 

 


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.

RE: Basic Install steps

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Malini,

If you want me to help you, you need to read again the email I have sent
to you and answer the questions I have asked you... :-)

More specifically can you explain why you wish to build Cactus from its
sources instead of using a binary distribution?

Thanks
-Vincent

> -----Original Message-----
> From: MS [mailto:only4ukutty@yahoo.co.in]
> Sent: 12 January 2004 12:42
> To: Cactus Users List
> Subject: RE: Basic Install steps
> 
> 
> 
> 
> hai vincent,
> 
> i saw the webpage u linked.even i was reading that only.i have got the
> jakarta-cactus-src-1.5 source.i just want to install and test it in my
HP-
> UX system.
> 
> My directory structure is like
> 
> samples
> 
> -->ejb
> 
> -->jetty
> 
> -->servlet
> 
> integration
> 
> -->ant &others as such.
> 
> BUt what they call as dependency jars is not in my system.
> 
> for ex.when i did $ant dist(as in the link u gave me)
> 
> i got
> 
> BUILD FAILED
> file:/disk1/release3/cactus/1.5/Source/jakarta-cactus-src-
> 1.5/framework/build.xml:146: One or more required dependencies could
not
> be resolved
> 
> 
> 
> 
> Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and
> more.Download now.


RE: Basic Install steps

Posted by MS <on...@yahoo.co.in>.


hai vincent,

i saw the webpage u linked.even i was reading that only.i have got the jakarta-cactus-src-1.5 source.i just want to install and test it in my HP-UX system.

My directory structure is like

samples

-->ejb

-->jetty

-->servlet

integration

-->ant &others as such.

BUt what they call as dependency jars is not in my system.

for ex.when i did $ant dist(as in the link u gave me)

i got

BUILD FAILED
file:/disk1/release3/cactus/1.5/Source/jakarta-cactus-src-1.5/framework/build.xml:146: One or more required dependencies could not be resolved

 


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.

RE: Basic Install steps

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Malini,

Let me try to understand by rephrasing your question:

You're trying to build Cactus from its sources? Right? And you're
missing some jars required for building Cactus?

If you're new to Cactus, I'd suggest you grab a *binary* version of
Cactus instead of building it from sources. It'll be much easier.

Now, that said, if you still wish to build cactus from its sources, I'd
recommend reading
http://jakarta.apache.org/cactus/participating/howto_build.html

Thanks
-Vincent

> -----Original Message-----
> From: malini [mailto:only4ukutty@yahoo.co.in]
> Sent: 12 January 2004 10:57
> To: cactus-user@jakarta.apache.org
> Subject: Basic Install steps
> 
> Hai,
> I am totally new to these opensource product.i have come with some
basic
> doubts and steps to install it.
> From the weblink i got some stuffs related to cactus.
> they require some jar files as dependencies.In my ant/lib i don't find
> these jars.(servlet.jar,aspectjrt.jar,aspectjtools.jar,commons-
> httpclient.jat,commons-logging.jar).Actually where can we find these
jars
> from the source and they are linked.
> NOw i am have a hp-ux system with the cactus source.so i have to build
> it.when i tried to follow the steps,i noticed that these jars are not
in
> my system.what to do?
> can anyone help
> 
> 
> Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and
> more.Download now.