> I'm trying to include a set of properties, taken from a file, in the
> Java task as system properties.
>
> I have been fiddling around with various combinations of file="file.props" id="jeff" /> With in the
> Java task, but with no joy.
>
> Anybody know how to achieve this? I'm sure it must be
>
Shouldn't this be:
??
> I've even tried defining the fix level in a property, and then using the
> property name in the defineset value, but it was too smart for that.
>
> How can I force this thing to listen to me?
If this doesn't work, doesn't the pre-processor support a "stringify"
comm
>
>
>
>
>
>
>
>
> It appeared to exclude the build.xml in the ClearCache folder, but was
> picking up the build.xml files in the com subdirectory. How do these
> two nested elements interact?
First file are selected from the includes. Th
> [C:\builder\builds\fle\staging\src\com\myhome\ParamDataType.java:8: as
> of release 1.5, 'enum' is a keyword, and may not be used as an
> identifier
>[javac] (try -source 1.4 or lower to use 'enum' as an identifier)
>[javac] import org.apache.commons.lang.enum.Enum;
>[javac]
I'm confused. What's the issue, that the task somehow doesn't fork a
child JVM (I'd be surprised), or that the child JVM doesn't have a
security manager?
If the latter, you'd probably need to explicitly tell Ant to start up
the forked VM with a security manager. I vaguely remember Antoine
doing wo
> [...] So A.xml imports B.xml which imports C.xml which imports D.xml. A.xml,
> C.xml and D.xml all have deploy targets.
> [...]
> This is the dependency list for D.xml's deploy target. The build starts
> to execute the targets in the depends="" and the build fails because
> A.xml can't support th
> Is this the wrong list to post this to? if so, what would be a better list?
It's the right forum. Not all question get answers though...
>
> Kevin Martin wrote:
> > Saw a thread from 2004 where the user had multiple subant tasks that
> > weren't dependent on each other so he set the
> > failo
On 3/14/06, Le, Vu (EDS) <[EMAIL PROTECTED]> wrote:
> Could someone provide me a pointer on this ? Thanks. I can get
> checkstyle and junit working just fine by putting their jar files in
> ANT_HOME/lib but I don't want to do that and that is when my problems
> come.
You like it the hard way I se
> I would like to submit it to development, though it may not be
> Apache-quality code. It is well tested and stable, but is inefficient
> with files (reads and writes the same file once or twice, passes the
> file as a String through several regex-like loops, and bypasses most
> of the elegance in
Or Peter's most excellent , which belong to Ant-Contrib.
I've used it for yacc/lex grammars, much like a Make rule (albeit more
verbose ;-)
Highly recommanded. --DD
On 3/15/06, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote:
> Please look at task:
> http://ant.apache.org/manual/CoreTasks/apply.
On 3/17/06, EJ Ciramella <[EMAIL PROTECTED]> wrote:
> So no explanation for this strange behavior?
>
> When I do this, the sync starts syncing all kinds of things that are NOT
> in the fileset. What am I doing wrong?
You don't give much context...
If it is *removing* from 'todir' files which don
Those statements...
@ggov_applications.spc
@ggov_applications.bdy
are not standard sql, they are specific to oracle's sqlplus. IMHO, Your
best option is to create a fileset, then run each file through the sql
task using the task from ant-contrib.
-Rob Anderson
> -Original Message-
> Fr
I'm a little grumpy today. I apologize. -Rob A
> -Original Message-
> From: Matt Benson [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 17, 2006 11:41 AM
> To: Ant Users List
> Subject: RE: sql task
>
> --- "Anderson, Rob (Global Trade)"
> <[EMAIL PROTECTED]> wrote:
>
> > First of all,
All,
I tried my best and searched this list for a solution to my problem before
posting it, and did find a few suggestions, but am still stuck..so please
bear with me.
Problem: I have a SQL file that loads our entire schema's oracle stored
procedure bodies and signatures( spc and bdy) by loa
--- "Anderson, Rob (Global Trade)"
<[EMAIL PROTECTED]> wrote:
> First of all, posting the same question several
> times is annoying. Try
> not to do that.
Didn't annoy me at all--I saw the same subject several
times in a row from the same poster, and deleted every
one without reading any of them.
First of all, posting the same question several times is annoying. Try
not to do that.
It looks like the first thing you tried should have worked. Are you
using the right Driver? My sql tasks use the Oracle driver that is in
ojdbc14.jar. Also, try putting the jar file in $ANT_HOME/lib rather than
Shouldn't the last entry you tried be jdbc:oracle:thin:@localhost:1521:harshal
and not jdbc:oracle:thin:@localhosthost:1521:harshal with 2 host
-Original Message-
From: Harshal Chavda [mailto:[EMAIL PROTECTED]
Sent: Friday, March 17, 2006 11:23 AM
To: user@ant.apache.org
Subject: sql ta
Hello to all users
My configuration is
--pentium 4,CPU 3GHz,512 MB RAM,windows XP professional
--JDK 1.5,Ant 1.6.3,Tomcat 4.1,Cruisecontrol 2.2.1
I ahve a problem regarding the sql task. I use the following code to which I
get The following error:
insert
int
Hello to all users
My configuration is
--pentium 4,CPU 3GHz,512 MB RAM,windows XP professional
--JDK 1.5,Ant 1.6.3,Tomcat 4.1,Cruisecontrol 2.2.1
I ahve a problem regarding the sql task. I use the following code to which I
get The following error:
insert
int
Hello to all users
My configuration is
--pentium 4,CPU 3GHz,512 MB RAM,windows XP professional
--JDK 1.5,Ant 1.6.3,Tomcat 4.1,Cruisecontrol 2.2.1
I ahve a problem regarding the sql task. I use the following code to which I
get The following error:
insert
int
Hello to all users
My configuration is
--pentium 4,CPU 3GHz,512 MB RAM,windows XP professional
--JDK 1.5,Ant 1.6.3,Tomcat 4.1,Cruisecontrol 2.2.1
I ahve a problem regarding the sql task. I use the following code to which I
get The following error:
insert
i
> -Original Message-
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> This is not an ant problem. This is javac, which is probably
> just very memory hungry on account of the large number of
> pages to compile. Please dont blame us.
Is there a way he could reduce the number of fil
Hello to all users
My configuration is
--pentium 4,CPU 3GHz,512 MB RAM,windows XP professional
--JDK 1.5,Ant 1.6.3,Tomcat 4.1,Cruisecontrol 2.2.1
I have a problem regarding the sql task. I use the following code to which I
get The following error:
insert
int
The entire ASF is off CVS as of the end of last year.
Please check ant.apache.org for SVN locations.
-Matt
--- Tim Gordon <[EMAIL PROTECTED]> wrote:
> Is it just me, is the repository at
>
> cvs -d
> :pserver:[EMAIL PROTECTED]:/home/cvspublic
> login
>
> unavailable?
>
> Tim Gordon
> Allustr
Is it just me, is the repository at
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
unavailable?
Tim Gordon
Allustra Limited
Paxton House
30 Artillery Lane
London
E1 7LS
Tel +44 (0)20 7539 5722
Fax +44 (0)20 7539 5710
http://www.allustra.com/
So no explanation for this strange behavior?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 1:03 PM
To: Ant Users List
Subject: sync not syncing what's in a fileset
Has anyone tried something like this:
Xiangzhou Wang wrote:
> Hi,
>
> I know it is not a new problem.
>
> I am using ant 1.6.5 to compile large number of java
> files pre-generated from jsp pages with tomcat 5.5.15
> jspC. The total number of bytes of these java files is
> around 150 MB, total class is 40MB, total lib (exclude
> java)
27 matches
Mail list logo