>What is the Ant task to pre-compile JSPs into class/java
>files? I'm using Ant 1.6, WebLogic 9.2.2 with Java 1.5.
This is an often asked question, so I added a FAQ entry
http://ant.apache.org/faq.html#precompile-jsps
"Ant has a built in optional task which was intended for that.
But this t
Hi All
I am seeking help from you guys for my below problem.
I have following classes :
Class TestAntError
public class TestANtError {
final protected> void add(final K setDS) throws
Exception {
//synchronized final protected void add(final
K
I just played around with the -properties parameter. Whatever
propertyfile file you select with -propertfile takes presidence over
any properties loaded with the task, but any
properties specified with the -D command line parameter takes
presidence over the ones set via the -propertyfile p
Thanks David. I got essentially the same information from supareno above. But
yours goes into much more details and I'm sure that would be helpful to
other people who are even newer to ant than I am.
My original question/curiosity remains: Is there no way to access the name
of the file passed in
My build.xml files include something like this:
[...]
This way, the default name of the build properties file is
build.properties, so if the user uses that as their build properties
file, they don't have to put anything on the command line. If the user
wants to use a different one
hmm...
That's an interesting solution. I'm not a big fan of specifying a property
on the command line. Especially with the -D. But this would be a way to get
things done. Thanks.
I just feel that saying:
ant -propertyfile filename.properties test
looks a lot better/user-friendly than
ant
goelshek,
you can use this:
ant -D=
which in your case will produce
ant -Duser.property.file=foo.properties test
property file name: ${user.property.file}
if in your properties file you define some properties
e.g.
prop1=foo
prop2=bar
then, you can access them in ant wi
Hi Jeff,
we have to update these installation instructions...
You can download the ivy.jar from a maven repository, like:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc1/ivy-2.1.0-rc1.jar
Maarten
- Original Message
From: jeff.t.bowman
To: ivy-u...@ant.apache.org
Sent: M
Hi,
What is the Ant task to pre-compile JSPs into class/java files? I'm using Ant
1.6, WebLogic 9.2.2 with Java 1.5.
Thanks, - Dave
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: u
When I run ant as follows:
ant -propertyfile
e.g.
ant -propertyfile myProps.properties test
how do I find out the the name of the properties file that the user passed
in the command line argument. So my ant script looks like:
Essentially, is there a place/property where the comma
Thank you all. Its done
-Original Message-
From: Pankaj Arora01 [mailto:pankaj_aror...@infosys.com]
Sent: Monday, April 06, 2009 6:13 PM
To: juergen.knuple...@icongmbh.de; Ant Users List
Subject: RE: Getting substring in ANT
Hi Jürgen ,
Can you please help me in finding the regular expr
I have written a small installer tool using Ant.
One small problem that I have is related to the input task. I want a Input
Handler that will echo default if user hits enter but not if user types in a
value (even if the value is the same as the default) and then hits enter. Of
course, I can just e
Hi Jürgen ,
Can you please help me in finding the regular expression that needs to be used?
In a loop, @{file} contains
"C:\abc\deploy\oracle\NAAM09102NNAQAE\NAAM09102NNAQAE_core01".
What regular expression shall I use so that I get NAAM09102NNAQAE_core01?
Thanks
Pankaj
-Original Message
Hi
Hey guys why are u polluting the actual query with your own query and
answers. It would be great if you can post this other query and answers into
another thread.
Nony
NonySingh wrote:
>
> Hi Experts
>
> I am seeking help from you guys for my below problem.
>
> I have following classes
I have written a small installer tool using Ant.
One small problem that I have is related to the input task. I want a Input
Handler that will echo default if user hits enter but not if user types in a
value (even if the value is the same as the default) and then hits enter. Of
course, I can just e
As I wrote last week in a different context:
I use propertyregex from antcontrib:
Property vm.propertyname=${vm.propertyname}
--
Jürgen Knuplesch
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophiens
Maybe ?
Jan
>-Ursprüngliche Nachricht-
>Von: Pankaj Arora01 [mailto:pankaj_aror...@infosys.com]
>Gesendet: Montag, 6. April 2009 12:17
>An: Ant Users List
>Betreff: Getting substring in ANT
>
>HI All,
>
>
>
>I have following directory structure:
>
>
>
>C:\abc\deploy\oracle\NAAM09102NNA
HI All,
I have following directory structure:
C:\abc\deploy\oracle\NAAM09102NNAQAE\NAAM09102NNAQAE_core01
C:\abc\deploy\oracle\NAAM09102NNAQBX\NAAM09102NNAQBX_ext_point_address01
C:\abc\deploy\oracle\ NAAM09102NNAQCF\NAAM09102NNAQCF_ext_sdo01
I have a variable x that contains following v
Hi all,
I upgraded my ant installation from 1.6.5 to 1.7.1
now I've got the follwing problem with the record-task.
Look at this sample script:
Hi Experts
I am seeking help from you guys for my below problem.
I have following classes :
Class TestAntError
public class TestANtError {
final protected> void add(final K setDS) throws Exception {
//synchronized final protected void add(final K set
20 matches
Mail list logo