>> If your really really really want to use "new Project()" you should make
sure it gets initialized properly by invoking the init() method on your new
instance before you call createTask.
This suggestion worked for us. Thanks Stefan for the quick response!!
--
View this message in context:
ht
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
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
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
/prod/tools/infra/apache/ant-1.8.2/lib/ant-launcher.jar"
-Dant.home="/prod/tools/infra/apache/ant-1.8.2"
-Dant.library.dir="/prod/tools/infra/apache/ant-1.8.2/lib"
org.apache.tools.ant.launch.Launcher -cp ""
I do not see any other version of ant being loaded in t
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
I'm using Proguard 4.5 jar in the Ant lib path. I think that the problem is
with including Proguard 4.5 jar.
Could you please suggest the solution for this?
Thanks,
Mohan.
--
View this message in context:
http://ant.1045680.n5.nabble.com/Problems-while-migrating-from-ant-1-7-1-to-ant-
I have not set either of the environment variables ANT_HOME or CLASSPATH.
What could be the reason for this failure?
Thanks,
Mohan.
--
View this message in context:
http://ant.1045680.n5.nabble.com/Problems-while-migrating-from-ant-1-7-1-to-ant-1-8-2-tp3325519p3384540.html
Sent from the Ant
Could someone help me how to fix this problem?
Thanks,
Mohan.
--
View this message in context:
http://ant.1045680.n5.nabble.com/Problems-while-migrating-from-ant-1-7-1-to-ant-1-8-2-tp3325519p3325519.html
Sent from the Ant - Users mailing list a
That is a problem with access rights.
Thanks,
Mohan
--
View this message in context:
http://www.nabble.com/StarTeam-ANT-tasks-tp23389192p23399774.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To
h. I have a StarTeam client installation.
I see this error
"You do not have access rights to perform this operation. If you need
access, contact your administrator."
I am suspecting that this is not a problem with access rights but classpath
or path.
Mohan
--
View this message in c
Hi all,
I am using the following tasks within a target that
check to see if the servers are shutdown or not?
My question is: Is there a deterministic way of
finding out if the server has shutdown completely?
What if the timeout value is not sufficient ? Any
thoughts ?
Than
Hi,
I need to precompile the jsps and export them to an ear file. The ear file will
then be deployed on oracle10g. Could anyone help how to compile the JSP's using
ant script. The precompiled JSP code should work on oracle10g
thanks & regards,
S. An
s the designed reports --- "dir" attribute of "fileset")
Could some please let me know if you ran into this issue or where I'm
making a mistake?
Thanks,
Mohan
**
This message, including any attachments, contains confide
Hello All,
I have some properties that I'm initilizing by using task in
some targets. I want to dynamically initialize the value of some other
property inside other target based on the values from other targets. Is
this possible?
Thanks,
alse]).
Is there an issue with "if" and "unless" when creating new property with
"setNewProperty" method inside the java code?
Note: checkout target depends on the labelFrozen target.
I'm using ANT 1.6.5. I have attached java class and the build file.
Thanks,
Moh
:
[labelStatus] Label Frozen: true
I have attached the java class and build.xml for
convenience.
Thanks,
Mohan
**
This message, including any attachments, contains confidential information intended for a specific individual
Mohan Guttula
-Original Message-
From: Michael Giroux [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 1:33 PM
To: Ant Users List
Subject: Would like to suppress leading spaces in multi-line and
Given that most ANT
The following IVAN's suggestion resolved the issue:
${line.seprator}
-Original Message-
From: Guttula, Mohan
Sent: Friday, April 21, 2006 3:16 PM
To: Ant Users List
Cc: [EMAIL PROTECTED]
Subject: RE: Create a file that contains files in directory
--- Snippet
mp1/temp1.ind
@temp4/temp4.ind
@temp2/temp2.trg
@temp5/temp5.trg
Thanks,
Mohan
-Original Message-
From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 9:11 PM
To: Ant Users List
Subject: RE: Create a file that contains files in directory
@temp2/temp2.trg
@temp5/temp5.trg
@temp3/temp3.seq
In the above file, I have to rearrange lines based on the extension.
Regards,
Mohan
-Original Message-
From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 6:56 PM
To: Ant Users List
build.xml
${all.files}
Regards,
Mohan
-Original Message-
From: Guttula, Mohan
Sent: Wednesday, April 19, 2006 3:35 PM
To: Ant Users List
Subject: RE: Create a file that contains files in directory
Hello,
didn't resolve the abso
Hello,
didn't resolve the absolute path issue?
Do I need to use some other mapper?
Regards,
Mohan
-Original Message-
From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED]
Sent: Monday, April 17, 2006 4:58 PM
To: Ant Users List
Subject: Re: Create a file that co
machine.
Reason for asking you to check the above options:
I have run into a weird issue in windows environment with JDK hard coded
in the environment variable. No matter what I did on the command prompt,
JDK was overwritten with the JDK from System variable "JAVA_HOME". I'm
file "temp4.fn"
I need to generate a file which contains the following contents:
temp/temp.tab
temp1/temp1.ind
temp2/temp2.trg
temp3/temp3.seq
temp4/temp4.fn
Note: Contents of "temp" folder changes during each checkout from Source
code control.
Thank
task working without this jar (commons-net-1.4.1.jar) form
the above links.
Thanks,
Mohan
-Original Message-
From: ilango [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 12:54 PM
To: Ant Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Help with ftp
Hi Rakesh
Could you tell me what
task following instructions from
http://ant.apache.org/manual/develop.html#set-magic and
http://www.onjava.com/pub/a/onjava/2004/06/02/anttask.html
Thanks,
Mohan Guttula
From: Kishore.G [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 1:20 PM
To: Guttula, Mo
Hello Jon,
Thanks for all your help. Your solution resolved my issue.
Question: What is the industry standard for Database scripts?(i.e.,
either using "SQL" ANT task or using sqlplus.exe inside ant through
"Apply/Exec" tasks)?
Thanks,
Mohan
-Original Message-
Fr
Hello Jan,
How do I create the project.xml? Is this Manual Process or do you want me to
create java class that will dynamically create the project.xml?
As mentioned earlier, I have to call SQL task once and compile all the files in
"sample.sql".
Thanks,
Mohan
-Original Message
Thank you for your Response.
Part of my requirement is to call the "SQL" task only once and add as many
"" elements as the number of lines in "sample.sql".
Note: "Sample.sql" contains other sql file names as mentioned in my first
e-mail.
Mohan
r way to achieve what I want using some other task?
Thanks,
Mohan
**
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are
Sphere Mosiac
WebSphere Brandmark
"Guttula, Mohan" <[EMAIL PROTECTED]> wrote on 04/06/2006 09:37:01
AM:
> Hello All,
>
>
>
> Requirement: Dynamically increase the number of arguments to EXEC task
> based on the number and name of the file in a directory.
&g
how I can achieve my requirement. (Should I use marcodef?
If so how?)
Any help is highly appreciated.
Thanks,
Mohan
**
This message, including any attachments, contains confidential information
intended for a specific indi
:1062)
at
org.apache.tools.ant.Main.runBuild(Main.java:673)
at
org.apache.tools.ant.Main.startAnt(Main.java:188)
at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Thanks for the help,
Mohan
(Class.java:190)
[junit] Test
com.blockbuster.revenue.allocation.utility.Test FAILED
Thanks,
Mohan
__
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yah
35 matches
Mail list logo