At 11:20 20/4/01 +0200, Jérôme Lacoste wrote:
>[Perhaps this mail should have been sent to the developer mailing list]
yep ;)
>I've made a reusable task for the Ant project around the JDepend tool.
>It is possible for it to be included as an Ant optional package?
yep - submit it on ant-dev ;)
At 12:09 21/4/01 +1200, Bevan Arps wrote:
>I have found that the size/complexity of your build.xml file has a
>disproportionately large impact on the amount of memory used by Ant.
yup ;(
>PS: Should Ant behave like this - or have I uncovered some kind of bug?
>If this *is* a bug, I can try to
This seems to be a question that pops up reasonably regularly - I even
asked it myself a few weeks ago.
I have found that the size/complexity of your build.xml file has a
disproportionately large impact on the amount of memory used by Ant.
In my situation, I had the following:
-- A single Bu
Has anyone experienced problems with Junit when including a manifest file in
the *.jar? Unless I'm overlooking something this appears to be the case:
When I include a manifest file the Junit test fail complaining that
java.lang.NoClassDefFoundError: When I repeat the process but do not include
the
Given two directories A and B how do I use Ant to delete all files in B
that also exist in A?
ie
If A contains the files: one.file, two.file, three.file
and B contains the files: one.file, three.file, fish.file
I want to delete one.file and three.file from B.
I haven't been able to work out h
[Perhaps this mail should have been sent to the developer mailing list]
I've made a reusable task for the Ant project around the JDepend tool.
It is possible for it to be included as an Ant optional package?
Should there be a maintainer?
Jerome
>
>
> 5. I don't want every build.xml file to contain hard-coded references to the
> infrastructure - for example:
>
>
>
>
Look at the proprty task, you can pull in property values from a file.
>From the docs:
When a property was set by the user, or was a property in a parent project (that
s
We use a task (we wrote) which acts as a build
listener. It works like this:
The source code is attached if you are interest.
Cheers,
Nick
--- Steve Donie <[EMAIL PROTECTED]> wrote:
> What I did is write a shell script (on NT/2K) that
> runs ant and the main
> build target, then checks
hi
just learned it from the list. ;)
i use this to get the JAVA_HOME variable:
bye
fabian
Francisco Franco wrote:
>
> I need to assign a value to my basedir attribute in my project tag using a
> reference to an environmental variable. I tried including a property ta
Running the following build-file:
gets me the following properties set:
ant.file java.version
ant.home java.vm.info
ant.java.version java.vm.name
awt.toolkit java.vm.specification.name
basedir
Hi.
I've noticed that I am unable to run junit tasks (via forking) using the
HotSpot VM on Linux (redhat 7.0 w/ sun 1.2.2/1.3, ibm 1.3 or blackdown
1.2.2/1.3 jvms). It works if it is run within the ant jvm, but this is
not ideal because ant's environment and classpath must contain the
superset o
Title: property file issue
I have a file , which i use as a manifest file.
Before I make the jar I use the property file task to add the current date in the file.
Now, my file has entries like
Name="class a"
JavaBean="true"
Name="class b"
JavaBean="true"
-- and so on for abt 10 suc
For a specific file, you can use a combination of the task and
the "unless" attribute:
Diane
--- Jiong Wei <[EMAIL PROTECTED]> wrote:
>
> I notice the "failonerror" attribute only available for the following
> tasks:
>
> and .NET tasks
>
I notice the "failonerror" attribute only available for the following tasks:
and .NET tasks
If true, then how to fail a build when such as a critical failed?
Currently, even when the src file is missing, ant still continues.
Also, the I really have no clue how to tigger t
I found the problem, if the vss user has files
check out / or others things that will cause the vss to prompt the user.
The [vssget] feature will display BUILD FAILED even though it still retrieves
the files. but it cannot continue on to the next target.
Thanks for your help anyway.
Just wonder if there's a full list somewhere that show all the ant's
built-in properties.
I picked some from the user manual, such as:
basedir
ant.file
ant.project.name
ant.java.version
os.name
user.home
build.compiler
DSTAMP
--- Dana Rice <[EMAIL PROTECTED]> wrote:
> You can put your redirection etc. in a script and have ant call that.
> Worked for me.
Or, if it's a simple one-liner, you can "sh -c ..."
Diane
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April
Simon,
Have you tried setting the "failonerror" attribute to "no"?
Diane
--- [EMAIL PROTECTED] wrote:
> I see from the mail list archive that this problem has been raised
> before,
> but I can't see what the *solution* is!!
>
> Our problems is that we *have to* build the classes using jdk1.3,
I see from the mail list archive that this problem has been raised before,
but I can't see what the *solution* is!!
Our problems is that we *have to* build the classes using jdk1.3, I
understand from our developers that it has a lot to do with the security
features this offers over and above 1.2.
Hi there,
I am running VAJ 3.0. I have my project resources set as shared (so
pointing to a LAN drive instead of my personal project-resources directory).
The problem I am having is that VAJExport will only look in my local
project-resources to find resource files - it won't look in the shared
p
Hello,
attached is what I did to solve the problem, for Unix.
mfg Frank
"Lloyd H. Meinholz" wrote:
>
> Is it possible to use chmod to change directory permissions? From the
> description of chmod in the manual, it appears to only work with files
> and not directories. I am on Solaris. What
You can put your redirection etc. in a script and have ant call that. Worked
for me.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 12:21 PM
To: [EMAIL PROTECTED]
Subject: Re: unix redirection - how do you specify input files?
Also:
What I did is write a shell script (on NT/2K) that runs ant and the main
build target, then checks the errorlevel when it returns, and based on that
runs ant again, to send the mail. Much easier than the build listener, works
great, and I can do things like have the subject line include FAILED/SUC
Figured this out. It appears to be a conflict in the Sun RMIC compiler and
the WebSphere EJB classes.
Monte Morast II
CALEB Technologies, Corp.
512-345-1973 x143
[EMAIL PROTECTED]
The information contained in this message is confidential, and is intended
only for the use of the individual(s) na
thank you.
--
Salman Halim
Advisory Software Engineer, HP Bluestone
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Frank Wierzbicki [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 9:59 AM
To: [EMAIL PROTECTED]
Subject: Re: exec in thread
Salman,
You will
Salman,
You will probably get a quicker response to this sort of question on the
ant-dev list. They discuss source code level stuff much more over there.
Frank Wierzbicki
--- "Halim, Salman" <[EMAIL PROTECTED]> wrote:
> hi,
>
> i didn't recieve a response last time so i'm trying again. . . a
On Fri, 20 Apr 2001 [EMAIL PROTECTED] wrote:
> We use ANT in the way you described-- with a cascading model. We have a
> project that contains many sub-projects. We built a build_.xml
> file in the appropriate directories for each sub-project. Then, at the
> main root of the project, we use a
hi,
i didn't recieve a response last time so i'm trying again. . . any advice
is appreciated. thank you!
--
Salman Halim
Advisory Software Engineer, HP Bluestone
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Halim, Salman [mailto:[EMAIL PROTECTED]]
Sent: Tuesda
The build.xml file is nothing more than an xml file. You can include another
document by using xml include semantics. See the Ant 1.3 documentation.
jim
- Original Message -
From: "Baldry, Scot M" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 5:55 AM
Subject: I
We use ANT in the way you described-- with a cascading model. We have a
project that contains many sub-projects. We built a build_.xml
file in the appropriate directories for each sub-project. Then, at the
main root of the project, we use a build.xml file. This file uses the
command. Consid
On Fri, 20 Apr 2001, Baldry, Scot M wrote:
> instead I would like to include something like "infra.xml" within every
> build file - this will ensure that the entire tree build with consistent
> infrastructure. Short of writing my own task I can't see how I can achieve
> this. The "ant" task seems
I think I may have found a deficiency in ANT - in the old days of Unix
Makefiles it was common to structure Makefiles in such a way that you would
"include" various targets and attributes for use within other Makefiles. I
can't seem to find a way to do this within ANT (the ant task is not quite
wh
Hi,
I'm using Ant on Win98 :(, and every time I call ant it echos all my
environment variables. Is there any way to stop this?
In case it's something in my build file I've enclosed highlights below.
thanks,
jim
...
...
OK, sorry. Found the bug in Ant1.3 through the mail-list archives. The carriage
returns in bin/antRun needs to be adjusted for unix...
/Adam
> -Original Message-
> From: Adam Lidvik (ERA) [mailto:[EMAIL PROTECTED]]
> Sent: den 20 april 2001 12:49
> To: '[EMAIL PROTECTED]'
> Subject: Cvs
Hi!
I am trying to work with cvs checkout and the dest parameter. It works fine without
the dest parameter or dest="." but if I include dest="${src}" nothing happens and
nothing is checked out. Anybody have a clue? cvs is version 1.10 on SPARC and this is
my build file:
Hi,
Here's how I do it.
In your build.bat (or build.sh) script that wraps your build, do something
like
set PROJECT_HOME=C:\foo\main
call ant -Dbasedir=%PROJECT_HOME% -buildfile .
More info on pre-defined props is in the Using Ant section of the manual.
Bye,
Les
> -Original Message
I need to assign a value to my basedir attribute in my project tag using a
reference to an environmental variable. I tried including a property task
before my project tag but this did not work. How can this be done and does
anyone have some example code?
Thanks,
Francisco
See http://support.microsoft.com/support/kb/articles/Q222/5/08.ASP
We had the same problem here a couple of months ago and it drove me crazy
until I found this bug.
It looks like installing the service pack does not ensure the problem will
disappear, we were forced to modify the registry as indi
Thank you, Jon: that's just what i wanted to know!
I have added the following to my 'buil.xml' and it runs:
__
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 96504 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias
W a n a d
Title: Apologies for HTML mails...
Apologies to all for the HTML mailings. As far as I can tell,
this *should* be in plain text - I'm setting everything I can find
to treat it as plain text. If it still comes out in HTML I'll
ask my sysadmin to have a look at the server side.
(If anyone
Title: RE: Jar updating?
> there was a discussion on this recently:
Excellent - thanks very much. It's not entirely pleasant (and I guess it
won't be terribly fast) but it's much better than doing it all manually.
Presumably I could extend the jar task itself to do this automatically?
there was a discussion on this recently:
- the main eye opener was that the task inherits from the task
and while documentation not always says so you have access to most (all?)
zip-features (defined asn ested elements and/or attributes) while using jar
- as for the thread itself, here are the
42 matches
Mail list logo