You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leif Mortenson <le...@silveregg.co.jp> on 2002/03/26 13:15:23 UTC

Question about building altrmi from base directory

I am having a problem getting the instrument-client sub project to build when built
from the build file in the root directory.

I get the following error.
----
altrmiinterfaces:

BUILD FAILED

C:\Jakarta\jakarta-avalon-excalibur\instrument-client\build.xml:114: Cannot make source output file 'C:\Jakarta\jakarta-avalon-excalibur\build\genjava\AltrmiGeneratedInstrumentManagerClient_Main.java'
-----

I commented out the call to build this project in the build file for now so that
this does not break things for everyone,

I think this is a problem in the org.apache.commons.altrmi.generator.ant.AltrmiInterfaceTask task?

Cheers,
Leif


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Question about building altrmi from base directory

Posted by Leif Mortenson <le...@silveregg.co.jp>.
I should have been clearer in the mail.   The problem is that the AltrmiInterfaceTask does
not seem to be handling the relative directories correctly.

When I run build from the: C:\Jakarta\jakarta-avalon-excalibur\instrument-client
directory, it correctly uses the build directory:
C:\Jakarta\jakarta-avalon-excalibur\instrument-client\build\genjava
But when I run the root build from: C:\Jakarta\jakarta-avalon-excalibur
The root build calls the build.xml file in the instrument-client subdirectory.
All other references are correct, but this task attempts to use a build
directory relative to the root:
C:\Jakarta\jakarta-avalon-excalibur\build\genjava

Leif

Paul Hammant wrote:

> Leif,
> 
> Did you make the 'genjava' dir before invoking <altrmiinterfaces> (to be
> renamed shortly altrmiproxies)?
> 
> - Paul
> 
> 
>>I am having a problem getting the instrument-client sub project to build when built
>>
>>from the build file in the root directory.
> 
>>I get the following error.
>>----
>>altrmiinterfaces:
>>
>>BUILD FAILED
>>
>>C:\Jakarta\jakarta-avalon-excalibur\instrument-client\build.xml:114: Cannot make source output file 'C:\Jakarta\jakarta-avalon-excalibur\build\genjava\AltrmiGeneratedInstrumentManagerClient_Main.java'
>>-----
>>
>>I commented out the call to build this project in the build file for now so that
>>this does not break things for everyone,
>>
>>I think this is a problem in the org.apache.commons.altrmi.generator.ant.AltrmiInterfaceTask task?
>>
>>Cheers,
>>Leif
>>
>>
>>--
>>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>>
>>
>>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Question about building altrmi from base directory

Posted by Paul Hammant <Pa...@yahoo.com>.
Leif,

Did you make the 'genjava' dir before invoking <altrmiinterfaces> (to be
renamed shortly altrmiproxies)?

- Paul

>I am having a problem getting the instrument-client sub project to build when built
>from the build file in the root directory.
>
>I get the following error.
>----
>altrmiinterfaces:
>
>BUILD FAILED
>
>C:\Jakarta\jakarta-avalon-excalibur\instrument-client\build.xml:114: Cannot make source output file 'C:\Jakarta\jakarta-avalon-excalibur\build\genjava\AltrmiGeneratedInstrumentManagerClient_Main.java'
>-----
>
>I commented out the call to build this project in the build file for now so that
>this does not break things for everyone,
>
>I think this is a problem in the org.apache.commons.altrmi.generator.ant.AltrmiInterfaceTask task?
>
>Cheers,
>Leif
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>