Currently this is not supported for the VAJ PlugIn.
You could import Ant and just run the org.apache.tools.ant.Main
class. Then You can specify command line parameters in the
properties notebook of that class.
Wolf
-Original Message-
From: Shaikh, Mehmood [mailto:[EMAIL PROTECTED]]
David Scassa [EMAIL PROTECTED] wrote:
With the help of one of my Java developers, I was able to
instantiate the BuildMonitor.class file. For some reason, I am still
unable to get it to work. Here is the output:
javax/activation/DataSource
Looks as if you had JavaMail in your CLASSPATH,
here is an example:
target name=testall depends=jars,_inittest
junit printsummary=yes fork=yes haltonfailure=no
formatter type=plain /
test name=alltests.AllTests
outfile=${reports}/all /
classpath
Octavian Giurgiu [EMAIL PROTECTED] wrote:
I have a problem with Ant.
I know this is not the propper mail list, but time is...
Sure it is. I can't think of any better place to ask questions about
Ant.
So, ant.bat gives me an error caused by the fact that every _ or
. character in the path
David Thielen wrote:
By any chance is there a feature in Ant that will let us know if any .java files
have a TAB in them? (So we can finish the build but then let the builder know if
someone checked in a file with tabs in it.)
I don't know of one, but it would be moderately easy for someone
Hi all,
I've been using ANT as the build tool for the LEAP project
(http://leap.crm-paris.com) which aims to develop an intelligent agent
platform which works with J2SE, PersonalJava, J2ME CLDC, J2ME MIDP on a
numbers of devices including iPaqs and Palms. Consequently our build
environment is
Hello,
I would like to know why javac does not compile those
two classes while compiling the whole package.
Have you got any ideas ?
Is the package statement in these two files correct ?
What does javac say if you compile the package without
ant from the cmd-line ?
thanks,
mfg Frank
Stefan Bodewig wrote:
[EMAIL PROTECTED] wrote:
I could have sworn, that I once was using the JUnit task, and it
would generate output where it listed each test (method) and the
time it took to execute.
I think you are talking about the output of the plain formatter.
Stefan
This is the javac from my build file.
javac srcdir=${build.classes}
destdir=${build.classes}
classpath=${classpath}
debug=on
deprecation=on
src path=${build.classes}/
src path=${build.classes}/
include
Rajkumar Seth [EMAIL PROTECTED] wrote:
javac srcdir=${build.classes}
destdir=${build.classes}
classpath=${classpath}
debug=on deprecation=on
src path=${build.classes}/
src path=${build.classes}/
include
Hi,
I have got a question concernig the optional task 'script'.
Besides the file 'optional.jar' in my ANT_HOME/lib directory, do I need
anything else to get this task working?
Whenever I execute it I get the following error:
Could not create task of type: script. Common solutions are to use
You should have the bsf.jar as well as the jar for the script language your
using. See http://oss.software.ibm.com/developerworks/projects/bsf.
Joseph
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 9:07 AM
To: [EMAIL PROTECTED]
Hi,
I have got a question concernig the optional task 'script'.
Besides the file 'optional.jar' in my ANT_HOME/lib directory, do I need
anything else to get this task working?
Whenever I execute it I get the following error:
Could not create task of type: script. Common solutions are to use
You need to have the bsf.jar and a scripting engine such as rhino (for
Javascript)
Conor
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 9:08 PM
Subject: Optional task - script
Hi,
I have got a question concernig the optional task
Jim,
Actually because of Windows. I think if you look for *.jar in a batch file,
the old 8.3 thing comes out to play and you find files with any extension
starting with jar. It is probably this line in ant.bat
for %%i in (%ANT_HOME%\lib\*.jar) do call %ANT_HOME%\bin\lcp.bat %%i
I tried this
for
At 04:00 PM 23/05/01, you wrote:
Jim,
Actually because of Windows.
Ah should have guessed! Further testing revealed that it didn't happen
on the Aix box we have here, although there was a different problem there,
which further adds to the confusion ;) On Aix, the classes are loaded
Title: RE: Jar file loading
I would be interested in those utilities.
Pat O
[EMAIL PROTECTED]
-Original Message-
From: Jim Cheesman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Jar file loading
At 04:00 PM 23/05/01, you
Is there a way to unset a property?
I am trying to use the conditional target execution based on a property.
The problem is that once the property has been set (to any value) I have
not been able to return to the previously set state. For example,
ant target=doSomething
!- does nothing
Still, if anyone needs a couple of utilities to trace down
where a class is being loaded from, I'm happy to share. (One's even
defined as an ant task! ;)
I've come into this discussion late, but I thought I'd chip in one small
contribution, if people don't want to download whole full
Thanks I found the problem the 2 files in the package ended in .Java not
.java so javac would not process them.
I didn't need to compile them separately.
Seth
-Original Message-
From: Shaikh, Mehmood [mailto:[EMAIL PROTECTED]]
Sent: 2001 May 23 14:21
To: '[EMAIL PROTECTED]'
Subject: RE:
Thanks Frank spot on, 2 files in the package ended in .Java not
.java so javac would not process them. I didn't need to compile them
separately.
Seth
-Original Message-
From: Frank Endriss [mailto:[EMAIL PROTECTED]]
Sent: 2001 May 23 09:17
To: [EMAIL PROTECTED]
Subject: Re: Why does
jochen dost [EMAIL PROTECTED] wrote:
I have got a question concernig the optional task 'script'. Besides
the file 'optional.jar' in my ANT_HOME/lib directory, do I need
anything else to get this task working?
Yes. You need BSF and maybe additional jars for the scripting language
you want to
At 04:29 PM 23/05/01, you wrote:
Still, if anyone needs a couple of utilities to trace down
where a class is being loaded from, I'm happy to share. (One's even
defined as an ant task! ;)
I've come into this discussion late, but I thought I'd chip in one small
contribution, if people don't
How do I delete a file that's older then, either a specific date, or x days
ago, or something like that?
--
Jay Dickon Glanville
P068 - SiteManager Development, Nortel Networks
613-765-1144 (ESN 395-1144)
MS: 045/55/A05
E-Mail: [EMAIL PROTECTED]
Title: RE: WL 6.0 EJBC Ant build
Still no luck with setting this property as you describe. Perhaps my ability to RTFM has degraded over the years. ;) I added the following to my build.cmd -Djavax.xml.parsers.DocumentBuilderFactory=weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl. I can
Title: RE: WL 6.0 EJBC Ant build
THANKS! The fork="yes" resolved the issue. I'm not sure why but
I'm not going to argue with results.
Thanks again.
-Brett
-Original Message-From: Conor MacNeill
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 22, 2001
10:58 PMTo: [EMAIL
How can i reference current working directory within a build file (on
windows platform)?
Title: RE: WL 6.0 EJBC Ant build
OK so
you've got a .jar with META-INF/services that's it's finding
then.
Glad
you got it working. You don't need the D bit I'd imagine then if
you've
got a
.jar with that META-INF/services stuff in it.
What
does nestesting everything inside that property
Title: I am a little confused about tasks
I am adding a new Star Team task to label the source. I have also modified the Star Team check out task to take a label. I assume I have to add a task def for my new task, but I don't see where the task def for the Star Team check out task is. Is this
dns or netbios?
-Original Message-
From: nick.home.account [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 11:38 AM
To: ant-user
Cc: nick.home.account
Subject: machine name
Hi All,
Is there a way to determine the machine name
from ANT without writing a new task?
Cheers,
Nick
Is it just me or does anyone else think that it is bad that when the ant
tag is used to execute a sub-build, the properties defined in the enclosing
build file override the properties defined in an enclosed build file?
I have a property that I define in all of my build files: build_dir. I do
not
--- Shaikh, Mehmood [EMAIL PROTECTED] wrote:
How can i reference current working directory within a build file (on
windows platform)?
If you mean the dir you're in when you run 'ant', ${user.dir} (on any
platform).
Diane
=
([EMAIL PROTECTED])
From my memory the property ${user.dir} should be the current directory. You
may want to check this though.
Dave Townsend [EMAIL PROTECTED]
To be sure of hitting the target, shoot first, and call whatever you hit
the target.
-Original Message-
From: Shaikh, Mehmood [mailto:[EMAIL
Thanks.
Is there a list somewhere (in docs) which contains all such environment
variables.
Thanks
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: May 23, 2001 2:37 PM
To: [EMAIL PROTECTED]
Subject: Re: CWD on windows
--- Shaikh, Mehmood [EMAIL PROTECTED] wrote:
--- Jay Glanville [EMAIL PROTECTED] wrote:
How do I delete a file that's older then, either a specific date, or x
days ago, or something like that?
You could do an exec with 'find', put the results out to a file, then
use that as the includesFile for delete (but it wouldn't be useable on
Win*
http://marc.theaimsgroup.com/?l=ant-userm=98960031910321w=2
http://marc.theaimsgroup.com/?l=ant-userm=98779377226211w=2
I'm slowly working on publishing my working notes on Ant. Looks like I
should step them up, eh?
-Original Message-
From: Mehmood.Shaikh [mailto:[EMAIL PROTECTED]]
Possibly the quickest way is to run ant with the -debug argument - it will
list every property that is created. Most of them though are copies of the
default system properties in java - look to System.getProperties() in the
j2se api docs.
Dave Townsend [EMAIL PROTECTED]
Try not to beat yourself
--- Lou Colon [EMAIL PROTECTED] wrote:
Is there a way to unset a property?
Not currently. I seem to remember someone recently sending either a new
task to do that or a mod to property, but I couldn't find anything in
the archives. So either I dreamed it, or I just didn't hit on the right
thing
This is a known RFE (request for enhancement).
Vote for it.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1732
For future reference, the bug database can be queried at:
http://nagoya.apache.org/bugzilla/query.cgi
-mark
-Original Message-
From: Diane Holt [mailto:[EMAIL
I am trying to get perl to run with the script tag. I have successfully run the
javascript example but I either get an error saying
the perl engine can't be found or the language is unsupported.
Any pointers would be appreciated.
TIA
***
Title: parsing targets
Hi, I have a few applications, say foo1 and foo2, all needs to be build in the .war directory structure. I'd like to be able to type build foo1.compile, build foo2.clean, etc. Since the tasks are all the same, I managed to create a general app.compile target that
Title: quiet copy,move, delete
Hi,
I want
to ftp files to different folders in my server. But the following code just uses
one folder(the remotedir) as the target directory on the server.Is
there a way to use nested remotedirs as targets with different filesets as the
source?
target
How are you determining the length of the file? Some non-Unix OSes
don't show exact lengths (some show disk block based lengths).
Do you have access to any Unix commands (like from MKS) so you can run
the sum command on the files? If so, you'll be able to see if they
are really different.
I
Actually one way to solve my problem is to use the
shell string operators, as follows:
exec executable="echo"
arg
line="current_dir=${PWD##/*/}build.properties" /
/exec
property file="build.properties"
/
This will set a property named current_dir to the
last directory of the current
Title: quiet copy,move, delete
I
would think that you would just use the ftp task repeatedly, each time with a
different remotedir and a different fileset.
JP
-Original Message-From: Urmi Roy
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, May 23, 2001 3:28
PMTo: '[EMAIL
- Original Message -
From: Jacob Martin [EMAIL PROTECTED]
To: Ant users [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 12:00 AM
Subject: SCP for file transfer?
Would the preferred way be to just do a shell command?
Not on Windows.
Or what kind of answer do you expect? - Scp was
Title: quiet copy,move, delete
- Original Message -
From:
Jeff Post
To: '[EMAIL PROTECTED]'
Sent: Thursday, May 24, 2001 2:00
AM
Subject: RE: FTP task
I
would think that you would just use the ftp task repeatedly, each time with a
different remotedir
47 matches
Mail list logo