* softgnostics k <[EMAIL PROTECTED]> [2005-01-19 15:01]:
> Hi all,
>
> I am newbie to ant and have one query. My application has a new
> menu.This menu creates a build.xml Ant file. Now, when this menu is
> invoked, its action should call Ant build, so that the build.xml will
> do what is necessa
Hi vivek,
have a look at the following class.
Best regards,
Maik
import java.io.File;
import org.apache.tools.ant.*;
public class AntExecuterImpl {
private String buildFileName;
private String executeTarget;
private String buildDir = "";
private String property = "";
public
Maybe it contains a path to an interpreter (first line after #!) that
does not exist on your system, or it is not available under your user id.
- Alexey.
Jirong Hu wrote:
Hi
I am working on Solaris 10 and trying to invoke SunOne's web service
compiler to generate the static stub. But Ant can't fi
Hi
I am working on Solaris 10 and trying to invoke SunOne's web service
compiler to generate the static stub. But Ant can't find the exectuable.
Any idea?
Jirong
bash-2.05b$ ant -verbose wscomp
Are you sure the empty folders are not zipped? When you view the zip
file with WinZip, you won't actually see the entries for empty folders.
I was fooled by this as well, until I unzipped the file to a clean
location and saw that the empty directories were created even though I
couldn't see them i
Follow the whole thread. You might find some usefull information.
http://marc.theaimsgroup.com/?l=ant-user&m=107668689014077&w=2
HTH - Luis
-Original Message-
From: softgnostics k [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 12:22 PM
To: user@ant.apache.org
Subject: how to
Hello:
I'm scratching my head over this one. I need to have the zip file that I'm
going to deploy include all the empty folders that the build creates. I
have tried manually setting the 'filesonly=false' attribute but that still
did not create the zip file with the empty folders.
Now I can pla
Hi all,
I am newbie to ant and have one query. My application has a new
menu.This menu creates a build.xml Ant file. Now, when this menu is
invoked, its action should call Ant build, so that the build.xml will
do what is necessary.
How can I do it? That is, how to call the Ant via java? Is there
I have had a similar problem. In my situation I execute ANT preprocessor
written in Jython, then ANT itself, then some script within ANT. The
problem was that Jython launcher used a single state class and did not
reinitialize it when a script is executed from ANT. To fix the problem I
had to wr
I'm having an issue which seems to be caused by my Ant configuration,
but it's involving some other tools. If you're not familiar with these
other tools, either ignore this or try to muddle through it.
I'm using WebLogic's WLST tool, which uses Jython (Python interpreter in
Java). I'm trying to
The attached class contains a custom task that will do the trick. The javadoc
explains how to use it.
Gerard
On Wednesday 19 January 2005 16:36, Dick, Brian E. wrote:
> I need to remove the extension from a file name. The basename task
> almost works when specifying the suffix attribute. How
Have you considered using Eclipse, which is a great freeware IDE with
Eclipse already built in, rather than trying to "roll your own"? Or do you
*want* to re-invent the wheel?
Rhino
- Original Message -
From: "softgnostics k" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 19, 2005 3:0
I used Runtime.exec () to invoke ant
-Original Message-
From: softgnostics k [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 3:01 PM
To: user@ant.apache.org
Subject: how to invoke ant via java
Hi all,
I am newbie to ant and have one query. My application has a new
menu.This
I would probably use pathconvert with a regexpmapper
then.
-Matt
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote:
> I just want the string.
>
> -Original Message-
> From: Matt Benson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 19, 2005 2:47 PM
> To: Ant Users List
> Subject: RE
I just want the string.
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 2:47 PM
To: Ant Users List
Subject: RE: Remove extension from a file name
Do you mean you just want the string, or you want to
rename the file? Either way you can do
Hi all,
I am newbie to ant and have one query. My application has a new
menu.This menu creates a build.xml Ant file. Now, when this menu is
invoked, its action should call Ant build, so that the build.xml will
do what is necessary.
How can I do it? That is, how to call the Ant via java? Is there
Do you mean you just want the string, or you want to
rename the file? Either way you can do it with a
regexpmapper.
HTH,
Matt
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote:
> With which task? I already have the file name with
> extension in a property. I need the file name sans
> extension in
With which task? I already have the file name with extension in a property. I
need the file name sans extension in a new property.
BTW, I found the propertyregex task in ant-contrib. I can use that if there is
no other way.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
Hi,
I was wondering if there is a way to
get a task which contains a
to ignore the CLASSPATH
enviromental variable altogether. I've
tried using the fork and newenvironment
attributes in addition to the env,
sysproperty and jvmarg nested elements
but nothing seems to prevent the
CLASSPATH from
There is also a longer javascript solution, for those
who do not know regular expressions very well:
$${basename} is ${basename}
Regards Ivan
--- [EMAIL PROTECTED] wrote:
> using regexps
> (.*)\..* --> \1
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von:
using regexps
(.*)\..* --> \1
Jan
> -Ursprüngliche Nachricht-
> Von: Dick, Brian E. [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 19. Januar 2005 16:36
> An: Ant Users List
> Betreff: Remove extension from a file name
>
> I need to remove the extension from a file name. The basen
I need to remove the extension from a file name. The basename task
almost works when specifying the suffix attribute. However, I don't know
the value of the suffix.
Does anyone know how I can remove the extension (suffix) from a file
name?
Later,
BEDick
--
A file-based semaphore. That's easy. Thanks Jan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 8:21 AM
To: user@ant.apache.org
Subject: AW: Stopping an ant target
The simplest thing which comes into my mind is (if the monitor is y
I'm putting this back on this list so that others can help you - and learn
from your question and the responses you get.
I'm afraid I can't help any further with your problem.
Rhino
- Original Message -
From: "Swathi Rao" <[EMAIL PROTECTED]>
To: "Rhino" <[EMAIL PROTECTED]>
Sent: Wednesd
The simplest thing which comes into my mind is (if the monitor is your own
work)
monitor an additional file, the "heartbeat file".
- When the monitor application starts it generates the file and monitors its
existence
- When it ends, it deletes the file
- If the monitor app recognizes that the file
This is more of a java question, but I would appreciate your help.
I have a java application that I start from ant. This program
continuously monitors our database for cpu utilization, connection
attempts, and other general health statistics.
Currently, when I want to stop the application for mai
26 matches
Mail list logo