Might not be the same but I remember one where a new BigDecimal(int i)
caused a problem. That constructor doesn't exist in JDK 1.4 but the
compiler would convert it to BigDecimal(double d) under the covers.
Java 1.6 does allow the BigDecimal(int i) so it left it alone and
compiled it as is.
The
I'm using Ant version 1.7.0 on AIX 5.3 servers and I'm seeing some odd
behavior, just wondering if anyone else has encountered this. I'm copying
some zip files over to another server, unzipping them, ssh'ing and doing a
chmod u+x, then trying to execute one of the scripts.
It seems everytime I
Here's an altogether different approach, but if your developers' goal is
to control what version of byte code is created, have them utilize the
-source and -target attributes of the task. I have my
developers do that and it allows me to use the latest JDK for all builds
(400+ development stre
>
> Actually, that's the conflict I was worried about. Jenkins
> allows me
> to specify both the Java version and the Ant version. I
> WANT to use
> the Java version specified in Hudson control panel and not
> whatever
> JAVA_HOME might be set to.
>
I see, Jenkins exposes JAVA_HOME variable whic
I'm running ivy:report and I see that modules form our repository that
have only poms do not list the license information (even though the
information is in the pom).
I searched the list archives and found this:
http://www.mail-archive.com/ivy-user@ant.apache.org/msg01388.html
including thi
David,
Here's an altogether different approach, but if your developers' goal is
to control what version of byte code is created, have them utilize the
-source and -target attributes of the task. I have my
developers do that and it allows me to use the latest JDK for all builds
(400+ development
On Tue, Feb 15, 2011 at 2:50 PM, Robert Kirkpatrick wrote:
> See http://jwaresoftware.org/wiki/antxtras/home
Yeah, I was just looking at it, and it requires different versions for
different versions of Ant. Otherwise, it looks like what Apache is
pushing.
--
David Weintraub
qazw...@gmail.com
-
> Dual Java Compilers
> I have a project that I build using Jenkins (previously Hudson) which
> allows me to choose the version of the JDK I want to use when building the
> project. My developers want the ability to select the JAVA compiler to use
> via a properties file.
>
> The problem is
Original Message
Subject: Dual Java Compilers/Replacement for antcontrib
From: David Weintraub
To: Ant Users List ,
jenkinsci-users+subscr...@googlegroups.com
Date: Tue Feb 15 2011 20:38:32 GMT+0100 (CET)
> I've got two questions:
[..]
> Replacement for AntContrib
> ==
Le 15/02/2011 20:38, David Weintraub a écrit :
I've got two questions:
Dual Java Compilers
===
I have a project that I build using Jenkins (previously Hudson) which
allows me to choose the version of the JDK I want to use when building
the project. My developers want the ability
>
> Dual Java Compilers
> ===
>
> I have a project that I build using Jenkins (previously
> Hudson) which
> allows me to choose the version of the JDK I want to use
> when building
> the project. My developers want the ability to select the
> JAVA
> compiler to use via a properties f
I've got two questions:
Dual Java Compilers
===
I have a project that I build using Jenkins (previously Hudson) which
allows me to choose the version of the JDK I want to use when building
the project. My developers want the ability to select the JAVA
compiler to use via a properties
[Pulling together a few responses]
On 2011-02-15, Mohan wrote:
> I'm not using any wrapper script for ant invocation. I'm invoking the
> ant script directly from Ant-1.8.2/bin/ant as shown in the second
> update.
"the ant script directly from Ant-1.8.2/bin/ant" is the wrapper script I
was talkin
> Just to clarify, if I use getProject(), I'm not getting an
> error. But I
> would like to create a new Project in the Obfuscate's
> execute method where I
> want to run my tasks.
>
> Is there no way to create a new Project and run the tasks
> that I want?
It s not advisable to create a new p
Just to clarify, if I use getProject(), I'm not getting an error. But I
would like to create a new Project in the Obfuscate's execute method where I
want to run my tasks.
Is there no way to create a new Project and run the tasks that I want?
Thanks,
Mohan.
--
View this message in context:
htt
Stefan,
Are you able to reproduce the issue using the code snippet provided?
Thanks,
Mohan.
--
View this message in context:
http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3386125.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---
>> You shouldn't create a new Project object
Is there any reason? It was working perfectly fine with 1.7.1 version
--
View this message in context:
http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-tp3385716p3386108.html
Sent from the Ant - Users mailing list archiv
> /**
> * Executes the desObfuscate task.
> */
> @Override
> public void execute() throws BuildException
> {
> myProject = new Project();
>
> // Create ANT tasks
> Task delete = (Delete)
> myProject.createTask(DELETE_TASK);
>
> }
> }
You shou
I'm also attaching the stack trace of the error produced by the "-v" option,
if it helps :)
$> /prod/tools/infra/apache/ant-1.8.2/bin/ant compile -v
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Trying the default build file: build.xml
Buildfile: /u/chittelk/build.xml
Detected Java ve
Also we see failures when we donot have "force" attribute set for overriding
read only files. So we should be using 1.8.2 version only right as this
feature is present only in this version.???
--
View this message in context:
http://ant.1045680.n5.nabble.com/project-createTask-not-working-wi
>> One thing to look out for apart from the obvious CLASSPATH environment
variable, ${ANT_HOME}/lib and ~/.ant/lib is the shell script you use to
launch Ant (I assume a Unix like system from ant.jar's path in your
error message).
* I do not have the CLASSPATH variable set. I also do not have th
On 2011-02-15, bool wrote:
> createTask() method is throwing the following error with ant-1.8.2 while it
> works perfectly with Ant 1.7.1.
> import org.apache.tools.ant.taskdefs.Delete;
> Delete delete = (Delete) myProject.createTask("Delete");
> jar:file:/myant/ant-1.8.2/lib/ant.jar!/org/apache
I'm attaching a sample code to reproduce the issue mentioned above. Could
you please suggest a solution for this issue:
The build.xml file :
Build file
${ant.version}
===
Java
createTask() method is throwing the following error with ant-1.8.2 while it
works perfectly with Ant 1.7.1.
import org.apache.tools.ant.taskdefs.Delete;
Delete delete = (Delete) myProject.createTask("Delete");
jar:file:/myant/ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml:37:
Problem:
24 matches
Mail list logo