set a property in a .properties file

2006-12-19 Thread jm

hi,

I have been looking for a way to set a property in a .properties file
via ant. Could not find any easy way...somebody knows a way to do it
or a external task or something?

I know about the  stuff, but I am trying to change the
property without knowing the value it had before, that is, I cannot
assume it is '[EMAIL PROTECTED]@'

thanks,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: set a property in a .properties file

2006-12-19 Thread Antoine Levy-Lambert

Hi,

there are a lots of ways to write to a property file in ant.

Look at the following :


somekey=somevalue


there is also the propertyfile task which can do some limited  
arithmetics on properties (in the Optional Tasks section of the manual).


there might also be the option of using the  task with a  
nested filterchain (see explanations about filterchains under  
Concepts and Types).


Regards,

Antoine

On Dec 19, 2006, at 5:44 AM, jm wrote:


hi,

I have been looking for a way to set a property in a .properties file
via ant. Could not find any easy way...somebody knows a way to do it
or a external task or something?

I know about the  stuff, but I am trying to change the
property without knowing the value it had before, that is, I cannot
assume it is '[EMAIL PROTECTED]@'

thanks,




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: set a property in a .properties file

2006-12-19 Thread Rebhan, Gilbert

Hi,

if you want to reset / overwrite an existing property the easiest way is
via script
task and language of your choice (ruby,javascript,groovy ...) , f.e. =













 
 

 
  
 


 



 
  



Regards, Gilbert
 

-Original Message-
From: jm [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 11:45 AM
To: Ant Users List
Subject: set a property in a .properties file

hi,

I have been looking for a way to set a property in a .properties file
via ant. Could not find any easy way...somebody knows a way to do it
or a external task or something?

I know about the  stuff, but I am trying to change the
property without knowing the value it had before, that is, I cannot
assume it is '[EMAIL PROTECTED]@'

thanks,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: set a property in a .properties file

2006-12-19 Thread Rebhan, Gilbert

Hi,

forgot the replacement in my last mail =

given propertyfile test.props :

foo=bar


 
  

test.props afterwards :
foo=foobar


Regards, Gilbert
 

-Original Message-
From: jm [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 11:45 AM
To: Ant Users List
Subject: set a property in a .properties file

hi,

I have been looking for a way to set a property in a .properties file
via ant. Could not find any easy way...somebody knows a way to do it
or a external task or something?

I know about the  stuff, but I am trying to change the
property without knowing the value it had before, that is, I cannot
assume it is '[EMAIL PROTECTED]@'

thanks,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: set a property in a .properties file

2006-12-19 Thread Rebhan, Gilbert
 
Oops, 

should have been =

test.props afterwards :
foo=nobar


Regards, Gilbert
 

-Original Message-
From: jm [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 11:45 AM
To: Ant Users List
Subject: set a property in a .properties file

hi,

I have been looking for a way to set a property in a .properties file
via ant. Could not find any easy way...somebody knows a way to do it
or a external task or something?

I know about the  stuff, but I am trying to change the
property without knowing the value it had before, that is, I cannot
assume it is '[EMAIL PROTECTED]@'

thanks,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: set a property in a .properties file

2006-12-19 Thread jm

Antoine,
echoing would add a second line with the property no?, and I want the
exisiting line to be modified...propertyFile would do, I had missed
that one, it's a pity comments are lost though...

Gilbert ,
yes I think that would work, but I have never used any of these
scripting languages.

does anybody know where the souce code for propertyFile is? maybe its
easy to make it keep the comments...

thanks both,
javi

On 12/19/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:


Oops,

should have been =

test.props afterwards :
foo=nobar


Regards, Gilbert


-Original Message-
From: jm [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 11:45 AM
To: Ant Users List
Subject: set a property in a .properties file

hi,

I have been looking for a way to set a property in a .properties file
via ant. Could not find any easy way...somebody knows a way to do it
or a external task or something?

I know about the  stuff, but I am trying to change the
property without knowing the value it had before, that is, I cannot
assume it is '[EMAIL PROTECTED]@'

thanks,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Ant-sql task in rel 1.7.0

2006-12-19 Thread Caleandro
Hi all,

Please, I need help about ant  task.
A script like this:



 
  
  
   
  Select * from SCHEMA1.Table01;
   
  


runs correctly (as is) in ant 1.6.5 but in 1.7.0 it seem to hang-up and loop
indefinitely
till I type a break key on keyboard.
Oracle(9i) server console does not signal any query or activity apart my
connection.

Where could be the problem?

Thanks to anyone for some suggestion.

Vito


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: set a property in a .properties file

2006-12-19 Thread Peter Reilly

On 12/19/06, jm <[EMAIL PROTECTED]> wrote:

Antoine,
echoing would add a second line with the property no?, and I want the
exisiting line to be modified...propertyFile would do, I had missed
that one, it's a pity comments are lost though...

Gilbert ,
yes I think that would work, but I have never used any of these
scripting languages.

does anybody know where the souce code for propertyFile is? maybe its
easy to make it keep the comments...


There is a patch for this.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36901
I would not call it "easy".

Peter


thanks both,
javi

On 12/19/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
>
> Oops,
>
> should have been =
>
> test.props afterwards :
> foo=nobar
>
>
> Regards, Gilbert
>
>
> -Original Message-
> From: jm [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 19, 2006 11:45 AM
> To: Ant Users List
> Subject: set a property in a .properties file
>
> hi,
>
> I have been looking for a way to set a property in a .properties file
> via ant. Could not find any easy way...somebody knows a way to do it
> or a external task or something?
>
> I know about the  stuff, but I am trying to change the
> property without knowing the value it had before, that is, I cannot
> assume it is '[EMAIL PROTECTED]@'
>
> thanks,
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Replace Question

2006-12-19 Thread Master, Tariq \(Abbeywood\)
One thing to be aware of is the encoding type of a file.  Replace will only 
perform a replace on one encoding.  A default is used if not specified.
I had an issue where developers were using different text editors to edit text 
files and my replace didn't work initially.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 13:35
To: user@ant.apache.org
Subject: AW: Replace Question





Jan
 

>-Ursprüngliche Nachricht-
>Von: Andrew Goktepe [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 15. Dezember 2006 16:09
>An: Ant Users List
>Betreff: Re: Replace Question
>
>If you are running Ant 1.6.3 or later, you can use the 
>condition:
>
>
>
>
>
>
>
>The skip.replacement property will be set if the file already contains 
>the replacement text. You can then run  conditionally on this 
>property.
>
>You could also use ant-contrib with  to combine the check with the
>execution:
>
>
> 
>
>
>
> 
> 
>
>
>
> 
>
>
>-Andrew
>
>
>On 12/14/06, Fenlason, Josh <[EMAIL PROTECTED]> wrote:
>>
>> I want to add a line to a file, but only if the file doesn't already 
>> contain that line.  I can add the line fine, but I can't
>figure out how
>> to do it conditionally.  Is this possible?   Here's what I 
>have so far.
>> Any suggestions would be greatly appreciated.  Thanks in advance.
>> 
>> 
>> 
>> 
>> 
>>  
>>
>>  
>>  
>> 
>> 
>> 
>>  
>>
>>   
>> ,
>> Josh.
>>
>>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ant-sql task in rel 1.7.0

2006-12-19 Thread Peter Reilly

Are you using ant 1.7.0RC1 ?
If so, try using ant -noproxy

Peter

On 12/19/06, Caleandro <[EMAIL PROTECTED]> wrote:

Hi all,

Please, I need help about ant  task.
A script like this:



 
  
  
   
  Select * from SCHEMA1.Table01;
   
  


runs correctly (as is) in ant 1.6.5 but in 1.7.0 it seem to hang-up and loop
indefinitely
till I type a break key on keyboard.
Oracle(9i) server console does not signal any query or activity apart my
connection.

Where could be the problem?

Thanks to anyone for some suggestion.

Vito


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



xmlvalidate: check for well-formedness *only*

2006-12-19 Thread paul . arzul
hi all,

nicola mentioned about 3 years ago the same problem:



any progress or workaround on that (for ant stable 1.6.5)?

i'm backing up source and doing sanity checking to make sure the files aren't
fubar, so i thought a simple well-formedness check on all the xml files was in
order. xmlvalidate/build fails with lenient="true" (and failonerror="false") on
the first xml file with a missing dtd, eg:



and no log4j.dtd in the same folder. i've tried various things like pointing it
in the right direction, but that gets tricky when there's no publicId in the
doctype (as above) or the dtd isn't even in local cvs (as it perhaps should be).
i don't really want it to do *anything* with dtds anyway-- a well-formedness
check is quicker (no?) and i thought it a simple test to add to the other data
integrity checks i'm doing.

please let me know if anyone has something to suggest.
thanks in advance,

- p


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: set a property in a .properties file

2006-12-19 Thread jm

Peter,

thanks for pointing that out, I'll check that if it works that would
be perfect. The 'maybe its easy' comment was moslty thinking aloud
without any prior knowledge obviously...

On 12/19/06, Peter Reilly <[EMAIL PROTECTED]> wrote:

On 12/19/06, jm <[EMAIL PROTECTED]> wrote:
> Antoine,
> echoing would add a second line with the property no?, and I want the
> exisiting line to be modified...propertyFile would do, I had missed
> that one, it's a pity comments are lost though...
>
> Gilbert ,
> yes I think that would work, but I have never used any of these
> scripting languages.
>
> does anybody know where the souce code for propertyFile is? maybe its
> easy to make it keep the comments...
>
There is a patch for this.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36901
I would not call it "easy".

Peter

> thanks both,
> javi
>
> On 12/19/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
> >
> > Oops,
> >
> > should have been =
> >
> > test.props afterwards :
> > foo=nobar
> >
> >
> > Regards, Gilbert
> >
> >
> > -Original Message-
> > From: jm [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, December 19, 2006 11:45 AM
> > To: Ant Users List
> > Subject: set a property in a .properties file
> >
> > hi,
> >
> > I have been looking for a way to set a property in a .properties file
> > via ant. Could not find any easy way...somebody knows a way to do it
> > or a external task or something?
> >
> > I know about the  stuff, but I am trying to change the
> > property without knowing the value it had before, that is, I cannot
> > assume it is '[EMAIL PROTECTED]@'
> >
> > thanks,
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: xmlvalidate: check for well-formedness *only*

2006-12-19 Thread paul . arzul
Quoting [EMAIL PROTECTED]:

> any progress or workaround on that (for ant stable 1.6.5)?

i've got this working, but at a snail's pace... not surprising since the
following is rather io intensive (as well as unidiomatic):

  
  
  
  

  



  

  

you'll notice 2 optional tasks:

- jing for an alternate well-formedness checker (specified in the relax-ng
file wellformed.rng). also using the undocumented jing attribute failonerror
here, to stop jing from failing the build. however, just like xmlvalidate, it
stops processing after the first problem anyway, so we can't use a nested
fileset, but:

- antcontrib and the  task to iterate over the lot

i've got 400 xml files, and this took just short of 5 minutes, so about 1
second per file. xmllint did it near instantly.

still hoping to hear of a better solution. anyone?

- p


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Ant Property Task - Environment Variables

2006-12-19 Thread Adeel Omer

Hi,
 The Property task documentation (Ant 1.6.5) states that fetching
environment variables using the   and
subsequently accessing environment variables using xyz.Env_Var is supported
on "select" operating systems.
 Can anyone direct me to a listing of these "select" operating systems?
Thanks a lot...


slow?

2006-12-19 Thread Matt Benson
Has anyone ever noticed Ant running junit tests
exceedingly slowly, perhaps only in the case of
testsuites or nested testsuites?  I am looking at a
testsuite that has about 600 child tests, which all
run in < 2 seconds in Eclipse's JUnit runner, but take
15-20 minutes in Ant.  :|

-Matt

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: slow?

2006-12-19 Thread Kevin Cline

I have noticed the same thing.  Which version of Junit are you using?

On 12/19/06, Matt Benson <[EMAIL PROTECTED]> wrote:


Has anyone ever noticed Ant running junit tests
exceedingly slowly, perhaps only in the case of
testsuites or nested testsuites?  I am looking at a
testsuite that has about 600 child tests, which all
run in < 2 seconds in Eclipse's JUnit runner, but take
15-20 minutes in Ant.  :|

-Matt

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: slow?

2006-12-19 Thread Matt Benson
3.8.2.  I might try it with 3.8.1 tomorrow just for
kicks...  ;)

Thanks,
Matt

--- Kevin Cline <[EMAIL PROTECTED]> wrote:

> I have noticed the same thing.  Which version of
> Junit are you using?
> 
> On 12/19/06, Matt Benson <[EMAIL PROTECTED]>
> wrote:
> >
> > Has anyone ever noticed Ant running junit tests
> > exceedingly slowly, perhaps only in the case of
> > testsuites or nested testsuites?  I am looking at
> a
> > testsuite that has about 600 child tests, which
> all
> > run in < 2 seconds in Eclipse's JUnit runner, but
> take
> > 15-20 minutes in Ant.  :|
> >
> > -Matt
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: set a property in a .properties file

2006-12-19 Thread Ninju Bohra
You may want to look at the FilterChains and FilterReaders elements to 'select' 
which lines of the original properties file to copy and then merely append the 
new line.

Maybe use the  element to 'select' all the lines EXCEPT the 
one(s) you want to change and copy the 'selected' lines to a temp file and then 
merely  the new property value into the temp file and the copy the temp 
to the final name/location.

Alternately you can create your own FilterReader...rather simple but requires a 
little JAVA coding experience

Hope that helps,

Ninju
 




- Original Message 
From: jm <[EMAIL PROTECTED]>
To: Ant Users List 
Sent: Tuesday, December 19, 2006 8:07:05 AM
Subject: Re: set a property in a .properties file


Peter,

thanks for pointing that out, I'll check that if it works that would
be perfect. The 'maybe its easy' comment was moslty thinking aloud
without any prior knowledge obviously...

On 12/19/06, Peter Reilly <[EMAIL PROTECTED]> wrote:
> On 12/19/06, jm <[EMAIL PROTECTED]> wrote:
> > Antoine,
> > echoing would add a second line with the property no?, and I want the
> > exisiting line to be modified...propertyFile would do, I had missed
> > that one, it's a pity comments are lost though...
> >
> > Gilbert ,
> > yes I think that would work, but I have never used any of these
> > scripting languages.
> >
> > does anybody know where the souce code for propertyFile is? maybe its
> > easy to make it keep the comments...
> >
> There is a patch for this.
> http://issues.apache.org/bugzilla/show_bug.cgi?id=36901
> I would not call it "easy".
>
> Peter
>
> > thanks both,
> > javi
> >
> > On 12/19/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
> > >
> > > Oops,
> > >
> > > should have been =
> > >
> > > test.props afterwards :
> > > foo=nobar
> > >
> > >
> > > Regards, Gilbert
> > >
> > >
> > > -Original Message-
> > > From: jm [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, December 19, 2006 11:45 AM
> > > To: Ant Users List
> > > Subject: set a property in a .properties file
> > >
> > > hi,
> > >
> > > I have been looking for a way to set a property in a .properties file
> > > via ant. Could not find any easy way...somebody knows a way to do it
> > > or a external task or something?
> > >
> > > I know about the  stuff, but I am trying to change the
> > > property without knowing the value it had before, that is, I cannot
> > > assume it is '[EMAIL PROTECTED]@'
> > >
> > > thanks,
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[ANN] Ant 1.7.0 Released

2006-12-19 Thread Antoine Levy-Lambert

Hi,

We have the pleasure to announce the release of Apache Ant 1.7.0.

Ant 1.7 introduces a resource framework. Some of the core ant tasks  
such as  are now able to process not only file system  
resources but also zip entries, tar entries, paths, ... Resource  
collections group resources, and can be further combined with  
operators such as union and intersection. This can be extended by  
custom resources and custom tasks using resources.


Ant 1.7 starts outsourcing of optional tasks to Antlibs. The .NET  
antlib replaces the .NET optional tasks which ship in Ant. Support  
for the version control system Subversion is also provided as an antlib.


Ant 1.7 fixes also a large number of bugs.

Ant 1.7 has some initial support for Java6 features.

The Apache Ant Team

Re: please update the next release of Ant 1.7 to Xerces 2.9.0

2006-12-19 Thread Jacob Kjome


Since this missed the 1.7.0 release, here's a friendly reminder to 
put it on the agenda for the 1.7.1 release.  I'm a little curious why 
this didn't make it?  It fixed a lot of bugs and finally included a 
proper official release of xml-commons-external (xml-apis-1.3.04.jar) 
and included much improved (and shared) serializer code, in 
serializer.jar, maintained by the Xalan team, not to mention the new 
xml-commons-resolver release.  There's a lot to love, but not enough 
to get included in Ant-1.7.0, I guess.


Jake

At 11:13 AM 12/5/2006, you wrote:
>
>Here's the official Xerces statement on JDK1.2 compatibility...
>
>
>They're supposed to be compatible with JDK 1.2 however no one has tested
>that so I can't say whether they actually are. The same is true for all of
>the previous releases starting from Xerces 2.6.0. These were only built
>and tested with JDK 1.3 and above (though we only distribute the jars
>built with 1.3).
>
>
>The fact that Xerces is built using IBM JDK1.3 means instant 
compatibility with

>1.2 unless 1.3-specific APIs are used, no?  They don't use -target or -source
>flags for their  extension of  in the build file, but that
>shouldn't matter since, according to the Ant docs, -target defaults 
to 1.1 (for

>JDKs 1.1 through 1.3) and -source is ignored previous to JDK1.4.
>
>BTW, who is the Ant build manager?  I think there's enough information
>to make a
>final decision on including XercesImpl-2.9.0.jar and 
xml-apis-1.3.04.jar (and I
>recommend including serializer.jar, which is the new shared 
serializer between

>Xerces-2.9.0 and Xalan).
>
>BTW, the deployment of Xerces-2.9.0 to the maven repository is being actively
>worked on as we speak by Nathan Beyer.  Can't say for sure when it 
will be out

>there, but it should be soon.
>
>Jake
>
>Quoting Stefan Bodewig <[EMAIL PROTECTED]>:
>> On Tue, 05 Dec 2006, James Abley <[EMAIL PROTECTED]> wrote:
>>
>> > > >
>> > That works for me, although I noticed something slightly surprising
>> > when I compiled using a 1.4 and 1.5 JDK.
>> >
>> > [javac] '-source'
>> > [javac] '1.3'
>>
>> Ant magically upgraded the -source switch to 1.3 since most JDKs don't
>> support -source 1.2 at all.  And for those that do (1.4.2 does while
>> 1.5.0 doesn't IIRC) it doesn't make any difference since anything
>> below 1.4 is "the same" as far as -source is concerned.
>>
>> Stefan
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]