Hi
In my.properties file
I have defined
offline=0
In main.xml, I have
In _p_alive.xml, I have
But in debug mode, I could not retrieve offline property in main.xml. It
doesn't print out the offline value. It shows
Condition false; setting offline to 1
Setting project p
Hi
I'm trying to "ping" hosts on network using with ant-contrib.
All these hosts variables point to the same host ie linpac2.
start isreachable @{letter}
build_main.debug=${offline}
When I ran this I get for example -
[echo] start isreachable linpac2
Dynamically discovered
This is really good progress. Is there any technical issue to enable remote
ant build file by http or whatever?
The goal is to enable to start writting a build just referencing a remote
build file (may be cached in a temp that would be used if remote
unavailable) and to share build among several p
I added a bug to the bug database and attached a patch that adds the
same classpath functionality as taskdef to the import task.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44214
- Jonathan
On Fri, 2008-01-11 at 09:40 -0800, kermitt wrote:
> In a previous post I suggest this:
>
> I wish A
In a previous post I suggest this:
I wish Ant import would support URL + jar like that :
http://repo/build.jar!common-build.xml"/>
As ivy became a sub project, it would make sense to have a closer
integration like :
we could imagine deeper integration :
jonathan doklovic
Hi,
I know there's not currently a way to do this, but I think it would be
very helpful to be able to use the import task to import a file from a
jar.
This way, when I have a handful of projects, all with common targets, I
can put the common.xml build file in a jar and have each project depend
on
Thank you David.
That worked great!
--Todd
-Original Message-
From: David Weintraub [mailto:[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 10:58 AM
To: Ant Users List
Subject: Re: How do I specify the compiler on the cmd line?
Define your build.xml like this. Use properties to defin
Define your build.xml like this. Use properties to define the
"executabe" and "compiler" parameters. You can then override these
values via the "-D" flag on the command line. If you don't specify any
overriding properties with the -D flag, it'll take the value in the
build.xml file.
I have a simple target:
In which I specify to use JDK 5 in the Javac Task.
How do I specify the compiler on the cmd line and remove the following
lines from the Javac Task:
executable="/usr/jdk1.5.0_06/bin/javac"
compiler="
There's a way around this. Do this to use your property file:
wrote:
> You're right - adding the following line to build build.xml did the trick:
>
>
>
> So why doesn't it work with -propertyfile? I want to be able to specify
> different property files on the cmd line, and I was hop
There may be a further problem: Windows doesn't like path names
greater than 155 characters. I"ve found that installing JDKs and other
Java components under C:\Program and Files can cause you to go over
this limit. That plus the space issue can cause all sorts of issues.
The best way to handle thi
Hi,
there have been some known bugs in the past with Ant and Java for paths
including "spaces".
I'd give it a try with Java and Ant installed directly on C:
Nicolas
-Original Message-
From: Chris Calvin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 4:04 PM
To: user@ant.apache.
You're right - adding the following line to build build.xml did the trick:
So why doesn't it work with -propertyfile? I want to be able to specify
different property files on the cmd line, and I was hoping to take advantage of
this feature.
Chuck Holzwarth <[EMAIL PROTECTED]> w
I'm using Vista with cygwin and ant 1.7.. When I create a build.xml and run
ant, I get this:
cygpath: can't convert empty path
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.6.0_03\lib\tools.jar
While I have a C:\P F\Java\jre1.6.0_03, I also have "C:\Program
Use the antcontrib var task to override the property temporarily. Remember to
use it in a target where you use antcall to invoke it so it disappears after
use.
Thank you,
Chuck Holzwarth
(804) 403-3478 (home)
(540) 335-3171 (cell)
- Original Message
From: "Hannum, Daniel" <[EMAIL PROT
You have to import the property file or declare the properties in the build
file.
Thank you,
Chuck Holzwarth
(804) 403-3478 (home)
(540) 335-3171 (cell)
- Original Message
From: Michael Pelz Sherman <[EMAIL PROTECTED]>
To: Ant Users List
Sent: Thursday, January 10, 2008 5:52:27 PM
Sub
Please check for activate.jar, mail.jar files in your ANT_HOME/lib directory.
Knuplesch, Jürgen wrote:
>
> When I run the mail task I often get this Errormessage:
>
> mailtest:
> [mail] Failed to initialise MIME mail: javax/mail/MessagingException
> [mail] Sending email: Mailtest
>
Juergen
Your problem appears similar to something I ran across a while back. After
doing some digging I did find the cause but the details are escaping me for the
moment. I believe you're correct that it's a missing jar file. In any event,
since the messages I was sending were plain text, addin
When I run the mail task I often get this Errormessage:
mailtest:
[mail] Failed to initialise MIME mail: javax/mail/MessagingException
[mail] Sending email: Mailtest
[mail] Failed to send email
BUILD FAILED
C:\DopeBuildBase\Build\DopeBuildServer\dopebuild_ant.xml:2973: IO error sen
19 matches
Mail list logo