You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Joerg Heinicke <jo...@gmx.de> on 2008/06/12 05:41:14 UTC

Re: [2.1.x] Build failed after jdk1.* directories were removed

On 11.06.2008 09:17, Andreas Hartmann wrote:

>> Removed:
>>     cocoon/branches/BRANCH_2_1_X/src/jdk1.3/
>>     cocoon/branches/BRANCH_2_1_X/src/jdk1.4/
> 
> now the build fails for me due to the missing directories 
> (compile-build.xml):
> 
>   <!-- compiles the core -->
>   <target name="compile-core" depends="compile-mocks, clover.on">
>     <cocoon.compile srcdir="${java}"
>                     destdir="${build.dest}"/>
>     <echo>Compiling jdk ${used.vm} core classes</echo>
>     <cocoon.compile srcdir="${jdk.java}"
>                     destdir="${build.dest}"/>
>   </target>
> 
> 
> Does it work for you?

Hmm, on the one hand it does not really surprise me that it fails on 
missing directories, on the other hand that's exactly why I tried a 
"build clean" on my machine (Mac OS X though) before committing it. I 
will just take this compile statement out, but can not really test it 
obviously. Please report back if there are still problems.

Sorry for the inconveniences.

Joerg

Re: [2.1.x] Build failed after jdk1.* directories were removed

Posted by Andreas Hartmann <an...@apache.org>.
Hi Jörg,

Joerg Heinicke schrieb:
> On 11.06.2008 09:17, Andreas Hartmann wrote:
> 
>>> Removed:
>>>     cocoon/branches/BRANCH_2_1_X/src/jdk1.3/
>>>     cocoon/branches/BRANCH_2_1_X/src/jdk1.4/
>>
>> now the build fails for me due to the missing directories 
>> (compile-build.xml):
>>
>>   <!-- compiles the core -->
>>   <target name="compile-core" depends="compile-mocks, clover.on">
>>     <cocoon.compile srcdir="${java}"
>>                     destdir="${build.dest}"/>
>>     <echo>Compiling jdk ${used.vm} core classes</echo>
>>     <cocoon.compile srcdir="${jdk.java}"
>>                     destdir="${build.dest}"/>
>>   </target>
>>
>>
>> Does it work for you?
> 
> Hmm, on the one hand it does not really surprise me that it fails on 
> missing directories, on the other hand that's exactly why I tried a 
> "build clean" on my machine (Mac OS X though) before committing it. I 

strange, I'm also using Mac OS X …
But I'm building "through" Lenya, maybe it uses a different Ant version.

> will just take this compile statement out, but can not really test it 
> obviously. Please report back if there are still problems.

The build process is working again. Thanks a lot!

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01