Yay! :). This is good. Thanks for sharing this information.
On 9/24/2009 3:57 PM, Stefan Bodewig wrote:
On 2009-09-24, Francis GALIEGUE wrote:
But ideally, I'd like to use these properties all the time, with
boolean values. Say, for example, if I have nomail set to 1 or true,
then no mail
+1 to this feature request.
I am curious to know. why if and unless attributes in 'target' work the
way they do, i.e only check existence of the property and not its value.
Currently ant-contrib's if tag has to be used to accomplish this sort of
control over build execution.
Hi,
If you are getting an exception "Outof memory in eclipse" try following
Right click on build.xml>Run as--->External tool conf--->In environment
variable add ANT_OPTS variable with value -Xmx512M -XX:PermSize=1024m. Then
in JRE tab add virtual memory argument select from variable list
Take a look at "mapper"
http://ant.apache.org/manual/CoreTypes/mapper.html
manku wrote:
Hi ,
I am new to ant to script. I am looking for some help for the below task
Suppose the directory "/d1/user1/abc/" has 50 subdirectories. and these sub
directories in turn have some other directories an
Phani Kumar wrote:
I removed from
target and test runs fine, i got result.xml file .. but could not able to
get the reports.. is there anything wrong in this report Target code?
i have put the jar file outside of Ant\lib still getting same result
i am using jdk 15 and Ant 1.7, installed xalan a
solution is not scalable, if you want your build.xml
to run on other machines..
-Prashant
Phani Kumar wrote:
Hi,
I am trying to generate html report through ant build.xml file, in that
process i am able to run my test successfully but it fails to generate html
report and it giving me error
se the XSD from that temp location.
Just wanted to know whether there's a better way out?
So please do help. Thanks in advance
Thanks & Regards
Prashant Neeraj
MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In
Yes 'encoding' option exists in javac task.
http://ant.apache.org/manual/CoreTasks/javac.html
Raghuveer wrote:
Is there option compiling all my source files in my web application in
"tomcat\webapps\testApp" with "-encoding "option in ant.
Example:
. javac -encoding ISO-8859-2 Hel
e JAR file needs to have a
MANIFEST.MF file with entry 'Main-Class'.
The value of this entry must be the fully qualified class name which has
the main() function.
-Prashant
[EMAIL PROTECTED] wrote:
Hi All,
I have 10 java files and I have written Ant build.xml to compile and
c
XML/plain text based on what you
choose.
I am not sure there is a generic way to achieve this (xml formatted
output) for all of the ant tasks.
Also the answer depends on how you define the XML format.
Is the XML as simple as :
whatever the target's output is..
Hope this he
May be you have tell Eclipse to use UTF-8 encoding when showing the file
in which ANT has replaced ?
On Thu, 2008-05-08 at 06:46 -0700, Hilden wrote:
> Hello everybody,
>
> I have a problem with charsets, by using the "replace-task" of Ant in the
> Eclipse IDE.
> After ant relaces a token (the
.com
Dekoh is a Servlet,JSP runtime which can be easily[1] installed on users
desktops. Your application a simple WAR file can be deployed on Dekoh.
This way you don't have to worry about things how to install a webserver
on end-users desktops. Will they have Java installed ? How will y
en you are
expecting to find 3 replacements but only found 2.
I guess modifying task itself, (since it obviously knows the
number of occurrences) to take expected number of occurrences would have
been a clean soln.
-Prashant
On Tue, 2008-02-05 at 17:36 +0530, Prashant Reddy wrote:
> He
.
On Tue, 2008-02-05 at 18:24 +0530, Prashant Reddy wrote:
> Thanks for a good idea. nice and simple.
>
> Quick check with following build.xml reveals that the replace does not
> modify timestamp even when token is replaced. However this approach will
> not catch scenario where
.
$ ls -lt
total 12
-rw-r--r-- 1 prashant prashant 5 2008-02-05 18:22 source.txt
-rw-r--r-- 1 prashant prashant 8 2008-02-05 18:22 temp.txt
-rw-r--r-- 1 prashant prashant 569 2008-02-05 18:22 build.xml
-Prashant
On Tue, 2008
resourcecount
which is in ANT 1.7)
Thanks for your time.
-Prashant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Another very common usage that i have seen & used many times is the
following :
Where as 'compile' target does not declare dependency on remove.classes.
However cleancompile assumes that the dependent targets are executed
sequentially.
I am interested to know why
This way the build file
importing the macros can pass its preferences as attributes. And the
build file looks much more readable.
-Prashant
>
> Cheers,
> Joe
>
> On Tue, November 27, 2007 3:23 pm, Dimitris Mouchritsas wrote:
> > Hi all, I'm trying to figure out what's t
quot; task extends jar task and hence inherits jar task's
functionality.
Hope this helps
-Prashant
On Mon, 2007-11-26 at 20:04 -0600, Todd Patrick wrote:
> Using Ant 1.6.5
>
> I am learning to use Ant and I have purchased Steve Holzner's Ant The
> Definitive Guide from O'Re
.
Prashant
Yup, that is a better way of doing it. I should have tested the snippet
before positing. Thanks for sharing the correction.
-Prashant
On Thu, 2007-10-11 at 17:32 -0700, Saladin Sharif wrote:
> >oh you are looking to do something like :
> >cat log.txt | grep "
ng" | wc -l
So now you have the lines from the ${output} which contain ${lookingFor}
in a temp file temp.txt
After this, you could use the example Matt gave to find out the number
of lines in temp.txt
Hope this helps.
--
-Prashant
Don't upload, just
Ok, that looks interesting. But I seem to lack the requisite
imagination. :-)
I could not find an example that uses the resources in the ant-book
(Thanks Steve L) either.
I was thinking along the lines of
-Prashant
On Tue, 2007-10-09 at 05:55 -0700, Matt Benson wrote:
> Oh,
Ok, none of the named filters that exist in ANT dist can help achieve
this. You might need to use the scriptfilter, and i am not an expert in
using scripting lang.
-Prashant
On Tue, 2007-10-09 at 11:09 +0530, Prashant Reddy wrote:
> checkout the filterchains:
>
> http://ant.apache.o
t great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECT
Try :
On Mon, 2007-10-08 at 16:20 +0530, Alexis Votta wrote:
> Currently, my compile target is as follows.
>
>
>
>
>
>
> So, it compiles everything in ${src.dir}.
>
> Apart from this I want to add one single Java file to be compiled.
> Therefore, I want:
>
> 1. All Java f
? I read that javadoc tool starting JDK
1.5 chose the name package-info.java precisely because it was invalid
and couldn't have existed before.
Thank you for taking time to respond.
-Prashant
>
> >
> > Do ANT-experts think including the packa
given that
this file is meant only for the javadoc tool ? Why should the user have
to explicitly include it ?
Do ANT-experts think including the package-info.java where ever its
found too much magic ?
Thank you
-Prashant
-
To
ther
combination.
-Prashant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
va.lang.ClassNotFoundException:
> org.jnp.interfaces.NamingContextFactory]
Looks like org.jnp.interfaces.NamingContextFactory is not in the classpath. Is
the jar that has this class in the classpath ?
HTH
-Prashant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
May be a strategy like this will be of use :
http://blogs.sun.com/geertjan/entry/p_img_src_http_blogs
-Prashant
On Mon, 2007-08-20 at 11:36 +0200, Krzysztof KucybaĆa wrote:
> Hi,
>
> I just wanted to know if there is a possibility to achieve something
> like this in Ant:
>
>
Does the file checkstyle.xsl exist in the directory where your build.xml
is ?
-Prashant
On Mon, 2007-07-30 at 02:20 -0700, Sameer Borwankar wrote:
> Hi all,
>
> I am trying to generate a report using checkstyle plugin with IBM RAD.
> I have written an ant script for the sam
On Tue, 2007-07-10 at 12:25 +0530, Prashant Reddy wrote:
> >> Based on http://ant.apache.org/manual/CoreTypes/fileset.html, how
> do
> >> we know the element supports "refid" attribute?
>
The relevant documentation seem to be here :
http://ant.apache.org/manua
t;id" attribute to seems to be allowed.
I have tried this out, and executing target 'dist' did create WAR file
including all the jars referenced in base.path in WEB-INF/lib. I am
using ant version 1.6.2.
--
-Prashant
Don
On Tue, 2007-07-10 at 14:06 +0800, hezjing wrote:
> Hi Prashant
>
> Thanks for the WAR task description.
>
> If I have a path-like structure called "base.path",
>
>
>
>
>
>
>
> How can I referencing "base.path" directly
sitory.
>
> How can I inlucde these JARs into WEB-INF/lib when creating a WAR
> file, without copying the JARs into local project directory?
>
>
--
-Prashant
Don't upload, just share : www.dekoh.com
-
To
is helps
http://www.w3.org/1999/XSL/Transform";>
--
-Prashant
Don't upload,
Why not have all the NANT task activities in a separate build file, and
simply use task in ANT to launch the NANT process ?
There is some evidence in Google
(http://www.google.co.in/search?q=nantcall) of building a
task to facilitate this. I am not sure how far that effort got to.
-Prashant
On
In the sited Phase 2, you would run the cleancompile target, instead of
simple 'jar' target. This would remove C.class along with other class
files from ${dest} directory. During the next compilation since C.java
is deleted C.class will not be generated, and you jar will not have
c.class
/>
>
HTH
On Tue, 2007-06-26 at 17:24 +0800, Yadav, Akshat Kumar wrote:
> Thanks Prashant for reply.
>
> I had gone through this link earlier, my source dir structure mirrors
> package dir structure. Even I tried to put the sour
issing...
>
> Thanks,
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
-Prashant
Don't upload, just share : www.dekoh.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
As it says on the front page, the Eclipse plugin will be available on the
final release :)
Prashant
On 6/20/07, Chris Velevitch <[EMAIL PROTECTED]> wrote:
Since it's written in Java, when do you plan to do a Eclipse plugin?
Chris
--
Chris Velevitch
Manager - Sydney Flash Platform
lized
environment similar to Windows Explorer and run your tasks on a Virtual File
System to see what they do, in real time, without affecting your real file
system. The actual Ant build script is generated in the background. "
--
Prashant Deva
Founder, Placid Systems, www.placidsystems.com
Hi,
We have just released the beta version of our crazy new GUI for Ant. You
can get it at -
http://placidsystems.com/virtualant
I would recommend watching the short demo video first.
Waiting for your comments :)
--
Prashant Deva
Founder, Placid Systems, www.placidsystems.com
can I do it using ANT, so that using '/' as
> separator and in loop I can create branch in one shot, instead writing 4
> or 5 time the same command.
>
> Thanks in advance.
>
> Wishes,
> Pritesh
>
> -
> To unsubscribe, e-
Use and tasks.
More here : http://ant.apache.org/manual/CoreTypes/zipfileset.html
HTH
-Prashant
On Thu, 2007-06-14 at 11:26 +0530, Ravi Roy wrote:
> Hi All,
>
>
>
> I have a zip archive, which I want to update with ad
not essential.
HTH
--
-Prashant
Don't upload, just share : www.dekoh.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
. Is there any way in ANT to make one project dependable on the Jar
> file of other project.
> Can someone help me. its very urgent. Thanks in advanced
>
--
-Prashant
Don't upload, just share : www.dekoh.com
-
hat is spawned? I have a java task:
>
> and I'd like to be able to echo the process id to the user (so that
> they can kill the process if they so desire).
>
> Is there a convenient way to get the process id?
>
> Thank
Hi david,
You could try running the target 'testApp' in verbose mode.
This will print the java command used to launch the tests. You can then
compare this with the setup which is working fine to figure out which
configuration is missing.
Hope this helps.
-Prashant
On Wed, 2007-05-1
on June 28 2005
Buildfile: build.xml
Detected Java version: 1.5
in: /home//programs/java/jdk1.5.0_10/jre
--
-Prashant
Don't upload, just share : www.dekoh.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
w a 'copy' task is written in ANT.
--
-Prashant
Don't upload, just share : www.dekoh.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
eTasks/javac.html
> >
> > This javac task itself must be written in a build.xml file
> > http://ant.apache.org/manual/using.html
> >
> > ANT also has 'exec' task which can execute any commands.
> > So appletviewer command can also be called from ANT
org/manual/CoreTasks/javac.html
This javac task itself must be written in a build.xml file
http://ant.apache.org/manual/using.html
ANT also has 'exec' task which can execute any commands.
So appletviewer command can also be called from ANT's build.xml.
Hope this helps.
-Prashant
Try
You will get more help, if you are more specific about what you want to
achieve.
-Prashant
On Wed, 2007-04-18 at 22:04 -0700, alam wrote:
> Hi as Prashant has given me some link regarding the cvs checkout,update that
> is fine but i want how to write a task "TAG" a m
googling provided this library :
http://subclipse.tigris.org/svnant.html
Hope this helps
-Prashant
On Wed, 2007-04-18 at 05:13 -0700, alam wrote:
> Here i mean that i did the build for a module and now i would like to TAG
> it and put the timestamp i am able to write the timestamp but can yo
http://www.google.com/search?q=install+ant
Naresh Achary V wrote:
HI All,
I am the beginner in Ant. I would like to install Ant tool in my
Desktop. I am unable to do the same. If anybody has worked with the same
please help me out
In this regard. Thank you in advance.
Naresh Achary v
sages like
build.xml does not exist!
Build failed
You need a build.xml to invoke ANT.
HTH
-Prashant
vmanthi wrote:
I had my apache-ant-1.6.2 and completed setting varaibles
ANT_HOME
PATH
but when I run basic ant command like ant -version at CMD
getting messages like(copied from the CMD, no ma
[Wild guess] I am not sure if the following Xerces Bug on attribute
order preservation is relevant here.
http://issues.apache.org/jira/browse/XERCESJ-863
-Prashant
Jacob Kjome wrote:
seems to have a problem with resolution of attributes within the
current element. It appears to resolve the
cting your real file system. The actual Ant build script is
generated in the background.'
Of course, this doesnt even begin to describe it, so i would suggest
you go ahead and see the website.
Your feedback is greatly appreciated.
Thanks,
--
Prashant Deva
Creator, ANTLR Studio, Virtual A
ploy.
[1] : http://www.google.com/search?q=ant+pvcs+ant
[2] : http://ant.apache.org/manual/OptionalTasks/pvcstask.html
- Prashant
Karimulla Shaik wrote:
Hi All ,
I am very new to PVCS and I have a requirement to run the ant scripts
from
the remote system to get the latest code from PVCS and
instead of javac directly.
Since you can control the javac version from the common-build.xml, you
can pick whatever JAVA_HOME version you want.
-Prashant
Actually I would use "exec" instead of "ant" but it doesn't get the build
result. So the builds never fail.
An
Prashant, I have not been able to figure out how to get Intellij to
produce a build script, I wrote my own.
Click Menu > Build Choose Generate ANT Build option. I am using 4.5
version of Intellij
Thanks, Tom.
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTEC
your opinion what makes ANT a neat tool ?
What kind of tasks did you get done using ANT.
- Prashant
Aruna Challapalli wrote:
Does anybody have any tips? on Interview questions on ANT and Mavem2?
**
-
To unsubscribe, e-mail
Hi Tom,
If you do not have these problems with the classes that IntelliJ
generates.
then can you not ask IntelliJ to generate a ANT build script to build
your project ? :)
You could take a look at that generated build script and figure out what
to do..
-Prashant
Tom Corcoran wrote
Steve Loughran wrote:
Prashant wrote:
Is there any reason why ANT 1.7 still distributes Xerces 2.6.2 in its
lib [1] ? While the current release version of Xerces is 2.8 with
support for DOM Level 3, Schema Validation, Not to mention the bug
fixes.
As of 30 seconds ago, it distributes v
in ant/lib got in the way and i had to use
java.endorsed.dirs mechanism in ANT_OPTS.
-Prashant
[1]:http://svn.apache.org/viewvc/ant/core/trunk/lib/
PS: I have not downloaded the 1.7, i am not sure if the ANT downloads
later versions of Xerces from repositories at build time.
Antoine Levy
Use switch -verbose when running your ant target. This will spit out the
'javac' command ANT is using.
Eg: ant op1 -verbose
Examine how this command is different from the 'javac' command that
works for you.
Hope this helps.
-Prashant
[EMAIL PROTECTED] wrote:
Hi Every
.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";>
Observe how the xmlns value for both XML instance documents is same.
How would one use the thingie in these cases to
locate web_2_.4.xsd / ejb-jar_2.1.xsd locally ?
Thanks.
-Prashant
[1]http://mail-archives.apac
erstand what you mean. Can you kindly explain with an
example.
Thanks for you time,
- Prashant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Adrian Herscu wrote:
Prashant wrote:
And it takes it a very long time to complete (almost ten minutes for
70-80 XML files).
Could't you use to locate the XSD schemas locally instead of
http download, which perhaps is taking time.
Does it work for XML schemas?
>And it takes it a very long time to complete (almost ten minutes for
> 70-80 XML files).
Could't you use to locate the XSD schemas locally instead of
http download, which perhaps is taking time.
-Prashant
Adrian Herscu wrote:
Hi all,
I am using the task in a Maven An
Wow, This is very nice work!
Specially think cut-paste is very cool.
-Prashant
Brian Agnew wrote:
Version 1.13 of xmltask is out now. This version contains a new
instruction, , which permits uncommenting of sections of
XML. This allows you to (say) maintain multiple config elements in one
Hello All:
Does anyone know if there is there a selector that can select
a CVS /SVN Modified files ?
I would like to select all CVS modified files from a directory, and back
them up or whatever.
Thanks
-Prashant
-
To
You could also use a CustomSelector to select only interfaces.
Something like :
Hope this helps
-Prashant
RADEMAKERS Tanguy wrote:
if your interfaces follow some kind of a naming pattern
("IInterfaceName.java"), you can selec
Take a look if this utility detailed in this blog can help you figure
out which process has the JAR locked.
http://blogs.sun.com/roller/page/quinn?entry=tool_for_diagnosing_failed_glassfish
HTH
-Prashant
Steve Loughran wrote:
Marc Farrow wrote:
Everytime I run an ant task (either in
prompt , I need to recompile
all the 1200 files.
How I can avoid this & compile only those previously failed files in the
second round & create the jar file ??
This will save a lot of time.
Thanks for your valuable time.
Prashant Chaudhary
Stock Options Services,
Polaris
77 matches
Mail list logo