Re: [classlib] trouble invoking build from 'afar'

2006-07-21 Thread Alexey Petrenko

Yep, it looks like an ant bug.
I've searched ant bug database and have not find any open bugs
according this issue.
So we probably should file it.

SY, Alexey

2006/7/20, Vladimir Gorr [EMAIL PROTECTED]:

On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:



 Vladimir Gorr wrote:
  On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
 
  I'm having a little trouble w/ classlib build when invoking from an ant
  task outside of trunk/
 

 [SNIP]

 
  The following fix eliminates your issue:
 
 
  ?xml version=1.0 encoding=UTF-8?
 
  project name=test default=default basedir=.
 
  *ant antfile=trunk/build.xml inheritall=false target=build/*
 
  /project
 

 Thanks.  That works.  I don't understand why

 ant dir=trunk inheritall=false target=build/

 doesn't.


It seems this is new bug if I correctly undrstand the ant sub-task
documentation:

*When the antfile attribute is omitted, the file build.xml in the supplied
directory (dir attribute) is used.*

Thanks,
Vladimir.


 I thought when I saw your answer the real problem was that I
 didn't use 'inheritall=false', but that's not the case.

 geir



 -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







--
Alexey A. Petrenko
Intel Middleware Products Division

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib] trouble invoking build from 'afar'

2006-07-21 Thread Vladimir Gorr

Yes, I'm in progress already.

Thanks,
Vladimir.

On 7/21/06, Alexey Petrenko [EMAIL PROTECTED] wrote:


Yep, it looks like an ant bug.
I've searched ant bug database and have not find any open bugs
according this issue.
So we probably should file it.

SY, Alexey

2006/7/20, Vladimir Gorr [EMAIL PROTECTED]:
 On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
 
 
 
  Vladimir Gorr wrote:
   On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
  
   I'm having a little trouble w/ classlib build when invoking from an
ant
   task outside of trunk/
  
 
  [SNIP]
 
  
   The following fix eliminates your issue:
  
  
   ?xml version=1.0 encoding=UTF-8?
  
   project name=test default=default basedir=.
  
   *ant antfile=trunk/build.xml inheritall=false target=build/*
  
   /project
  
 
  Thanks.  That works.  I don't understand why
 
  ant dir=trunk inheritall=false target=build/
 
  doesn't.


 It seems this is new bug if I correctly undrstand the ant sub-task
 documentation:

 *When the antfile attribute is omitted, the file build.xml in the
supplied
 directory (dir attribute) is used.*

 Thanks,
 Vladimir.


  I thought when I saw your answer the real problem was that I
  didn't use 'inheritall=false', but that's not the case.
 
  geir
 
 
 
  -
  Terms of use : http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




--
Alexey A. Petrenko
Intel Middleware Products Division

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [classlib] trouble invoking build from 'afar'

2006-07-21 Thread Alexey Petrenko

Ok, great.

2006/7/21, Vladimir Gorr [EMAIL PROTECTED]:

Yes, I'm in progress already.

Thanks,
Vladimir.

On 7/21/06, Alexey Petrenko [EMAIL PROTECTED] wrote:

 Yep, it looks like an ant bug.
 I've searched ant bug database and have not find any open bugs
 according this issue.
 So we probably should file it.

 SY, Alexey

 2006/7/20, Vladimir Gorr [EMAIL PROTECTED]:
  On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
  
  
  
   Vladimir Gorr wrote:
On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
   
I'm having a little trouble w/ classlib build when invoking from an
 ant
task outside of trunk/
   
  
   [SNIP]
  
   
The following fix eliminates your issue:
   
   
?xml version=1.0 encoding=UTF-8?
   
project name=test default=default basedir=.
   
*ant antfile=trunk/build.xml inheritall=false target=build/*
   
/project
   
  
   Thanks.  That works.  I don't understand why
  
   ant dir=trunk inheritall=false target=build/
  
   doesn't.
 
 
  It seems this is new bug if I correctly undrstand the ant sub-task
  documentation:
 
  *When the antfile attribute is omitted, the file build.xml in the
 supplied
  directory (dir attribute) is used.*
 
  Thanks,
  Vladimir.
 
 
   I thought when I saw your answer the real problem was that I
   didn't use 'inheritall=false', but that's not the case.
  
   geir
  
  
  
   -
   Terms of use : http://incubator.apache.org/harmony/mailing.html
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 


 --
 Alexey A. Petrenko
 Intel Middleware Products Division

 -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







--
Alexey A. Petrenko
Intel Middleware Products Division

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib] trouble invoking build from 'afar'

2006-07-21 Thread Vladimir Gorr

New ant bug has been created for this issue:

*http://issues.apache.org/bugzilla/show_bug.cgi?id=40088*http://issues.apache.org/bugzilla/show_bug.cgi?id=40088

Thanks,
Vladimir.



On 7/21/06, Alexey Petrenko [EMAIL PROTECTED] wrote:


Ok, great.

2006/7/21, Vladimir Gorr [EMAIL PROTECTED]:
 Yes, I'm in progress already.

 Thanks,
 Vladimir.

 On 7/21/06, Alexey Petrenko [EMAIL PROTECTED] wrote:
 
  Yep, it looks like an ant bug.
  I've searched ant bug database and have not find any open bugs
  according this issue.
  So we probably should file it.
 
  SY, Alexey
 
  2006/7/20, Vladimir Gorr [EMAIL PROTECTED]:
   On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
   
   
   
Vladimir Gorr wrote:
 On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:

 I'm having a little trouble w/ classlib build when invoking
from an
  ant
 task outside of trunk/

   
[SNIP]
   

 The following fix eliminates your issue:


 ?xml version=1.0 encoding=UTF-8?

 project name=test default=default basedir=.

 *ant antfile=trunk/build.xml inheritall=false
target=build/*

 /project

   
Thanks.  That works.  I don't understand why
   
ant dir=trunk inheritall=false target=build/
   
doesn't.
  
  
   It seems this is new bug if I correctly undrstand the ant sub-task
   documentation:
  
   *When the antfile attribute is omitted, the file build.xml in the
  supplied
   directory (dir attribute) is used.*
  
   Thanks,
   Vladimir.
  
  
I thought when I saw your answer the real problem was that I
didn't use 'inheritall=false', but that's not the case.
   
geir
   
   
   
   
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
   
   
  
  
 
 
  --
  Alexey A. Petrenko
  Intel Middleware Products Division
 
  -
  Terms of use : http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




--
Alexey A. Petrenko
Intel Middleware Products Division

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[classlib] trouble invoking build from 'afar'

2006-07-20 Thread Geir Magnusson Jr
I'm having a little trouble w/ classlib build when invoking from an ant
task outside of trunk/

To demonstrate, go to enhanced/classlib and run the following ant script :

?xml version=1.0 encoding=UTF-8?

project name=test default=default basedir=.

target name=default
ant dir=trunk/
/target
/project

It bombs because there is some confusion about basedir or something :

C:\dev\apache\harmony\enhanced\classlib\trunk\modules\accessibility\build.xml:23:
Cannot find
C:\dev\apache\harmony\enhanced\classlib\trunk/../../make/properties.xml
imported from C:\dev\apache\harmony\enhanced\classlib\trunk\modules\access
ibility\build.xml

I'll dig into this in the morning, but if any of you ant gurus could
propose a fix...

geir

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib] trouble invoking build from 'afar'

2006-07-20 Thread Vladimir Gorr

On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:


I'm having a little trouble w/ classlib build when invoking from an ant
task outside of trunk/

To demonstrate, go to enhanced/classlib and run the following ant script :

?xml version=1.0 encoding=UTF-8?

project name=test default=default basedir=.

   target name=default
   ant dir=trunk/
   /target
/project

It bombs because there is some confusion about basedir or something :


C:\dev\apache\harmony\enhanced\classlib\trunk\modules\accessibility\build.xml:23:
Cannot find
C:\dev\apache\harmony\enhanced\classlib\trunk/../../make/properties.xml
imported from C:\dev\apache\harmony\enhanced\classlib\trunk\modules\access
ibility\build.xml

I'll dig into this in the morning, but if any of you ant gurus could
propose a fix...



The following fix eliminates your issue:


?xml version=1.0 encoding=UTF-8?



project name=test default=default basedir=.



*ant antfile=trunk/build.xml inheritall=false target=build/*



/project



Thanks,

Vladimir.


geir


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [classlib] trouble invoking build from 'afar'

2006-07-20 Thread Geir Magnusson Jr


Vladimir Gorr wrote:
 On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:

 I'm having a little trouble w/ classlib build when invoking from an ant
 task outside of trunk/


[SNIP]

 
 The following fix eliminates your issue:
 
 
 ?xml version=1.0 encoding=UTF-8?
 
 project name=test default=default basedir=.
 
 *ant antfile=trunk/build.xml inheritall=false target=build/*
 
 /project
 

Thanks.  That works.  I don't understand why

ant dir=trunk inheritall=false target=build/

doesn't.  I thought when I saw your answer the real problem was that I
didn't use 'inheritall=false', but that's not the case.

geir



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib] trouble invoking build from 'afar'

2006-07-20 Thread Vladimir Gorr

On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:




Vladimir Gorr wrote:
 On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:

 I'm having a little trouble w/ classlib build when invoking from an ant
 task outside of trunk/


[SNIP]


 The following fix eliminates your issue:


 ?xml version=1.0 encoding=UTF-8?

 project name=test default=default basedir=.

 *ant antfile=trunk/build.xml inheritall=false target=build/*

 /project


Thanks.  That works.  I don't understand why

ant dir=trunk inheritall=false target=build/

doesn't.



It seems this is new bug if I correctly undrstand the ant sub-task
documentation:

*When the antfile attribute is omitted, the file build.xml in the supplied
directory (dir attribute) is used.*

Thanks,
Vladimir.



I thought when I saw your answer the real problem was that I
didn't use 'inheritall=false', but that's not the case.

geir



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]