Hi,
I am using the WSSD 5.1.2 trial version and I am trying to run an ant script in
side a bundle using a java program. It is as follows.
package oulu.info.capnet.samples;
import java.io.File;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.ProjectHelper;
/**
* @Author: Thar
>I am using the WSSD 5.1.2 trial version and I am trying to run
>an ant script in side a bundle using a java program. It is as follows.
>
>
>java.lang.NoClassDefFoundError: org/apache/tools/ant/Project
Sounds like the Ant jars are not accessible from your bundle
Jan
--
OK. I looked in the online documentation and read from the book "Java
Development With Ant", but neither documented this behavior of .
Thanks for your help,
Bob
Robert Pepersack
Senior Lead Developer
Maryland Insurance Administration
410-468-2054
>>> [EMAIL PROTECTED] 10/10/2006 4:29 PM >>>
>
Maybe not documented, but it's not too hard to discover empirically.
bash:/work/ant-test/mkdir$ ant
Buildfile: build.xml
test:
[mkdir] Created dir: /work/ant-test/mkdir/test
BUILD SUCCESSFUL
Total time: 0 seconds
bash:/work/ant-test/mkdir$ ant
Buildfile: build.xml
test:
BUIL
Ok, not everyone does have a look into the source ;-)
oata.taskdefs.MKdir.java:036: public class Mkdir extends Task {
oata.taskdefs.MKdir.java: :...
oata.taskdefs.MKdir.java:048:public void execute() throws BuildException
{
oata.taskdefs.MKdir.java: :...
oata.ta
Thanks everybody! Your responsiveness is part of why, as a new person to Ant,
I love it already. In comparision to other forums I've posted questions to in
the past, this forum is by far the best I've seen.
Bob
>>> [EMAIL PROTECTED] 10/11/2006 8:27 AM >>>
Ok, not everyone does have a look into
Thank you for the reply. Yes it seems so. but I did include them in the
libraries in the build path. Trying to figure out what else I should do.
Still have the same problem.
Thank you.
Tharanga Wijethilake
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 11,
But does WSSD use that "build path"? Do you have to configure WSSD to include
the Ant libs?
Jan
>-Ursprüngliche Nachricht-
>Von: tharanga wijethilake [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 11. Oktober 2006 14:40
>An: Ant Users List
>Betreff: Re: Problems in running ant in WebSp
I think the problem is that I have to specify the imported jars in the
MANIFEST.MF file but it does not allow me to do so. I have to figure out how
external packages can be imported in to the bundle. I think that is some
thing to be handled in WebSphere IDE. Thanks for the reply.
Tharanga Wije
even i solved this problem after seeing what Arthi had done. Thanks a ton.
Arti Singh wrote:
>
> Hi thanks,
> I figured that out the hard way on ffriday.I had placed
> weblogic.jar in my classpath , and hence my ant did no work.Problem solved
> .I just placed the jar file in ant li
Hi everybody.
I use cruise control over Ant.
And i've many projects managed by cruise control on different folders.
How can i avoid that build.xml script can access to upper folder by an
ant option.
I cant lock build.xml content so i need to jail each script execution in
it folder.
Could you
I'm writing a build.xml file that tests a program. Before using ANT,
I had a bash script that printed the results like init.d scripts do when
started/stopped. For instance, for an input file to be tested, called
mtp.mtp, it printed something like
mtp.mtp
is there a way to filterchain an individual property?
The *org.apache.catalina.ant.ServerinfoTask *somehow supports the
outputproperty attribute
anyway, i only want the first line of that property.
Tomcat's tasks support nested I/O redirectors. You
should be able to specify an outputfilterchain with an
outputproperty here.
HTH,
Matt
--- Hunter Peress <[EMAIL PROTECTED]> wrote:
> is there a way to filterchain an individual
> property?
>
> The *org.apache.catalina.ant.ServerinfoTask *someh
Hi Matt,
The type doesn't support the nested "outputfilterchain"
element.
On 10/11/06, Matt Benson <[EMAIL PROTECTED]> wrote:
Tomcat's tasks support nested I/O redirectors. You
should be able to specify an outputfilterchain with an
outputproperty here.
HTH,
Matt
--- Hunter Peress <[EMAIL
OK fixed.
http://localhost:8080/manager";
username=""
password=""
outputproperty="HI"
>
${HI}
it didnt matter that I gave redirector an output property but i needed to
give
It woud still be easiest if you could give any property to a filterchain
instead of having to implement I/O redirection for everything.
On 10/11/06, Hunter Peress <[EMAIL PROTECTED]> wrote:
OK fixed.
http://localhost:8080/manager";
username=""
password=""
You might want to look at the -emacs command line option to surpress the
'prefixing' that appears on the output
- Original Message
From: Iván Pérez Domínguez <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Wednesday, October 11, 2006 2:54:30 PM
Subject: Quiet output
I'm writing a bui
18 matches
Mail list logo