You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2008/06/10 05:00:43 UTC

svn commit: r665956 - in /cocoon/branches/BRANCH_2_1_X/src: java/org/apache/cocoon/transformation/EncodeURLTransformer.java jdk1.3/ jdk1.4/

Author: joerg
Date: Mon Jun  9 20:00:42 2008
New Revision: 665956

URL: http://svn.apache.org/viewvc?rev=665956&view=rev
Log:
With minimum Java raised to 1.4.2 it is no longer necessary to have different implementations of EncodeURLTransformer for Java 1.3 and 1.4.

Added:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
      - copied unchanged from r665948, cocoon/branches/BRANCH_2_1_X/src/jdk1.4/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
Removed:
    cocoon/branches/BRANCH_2_1_X/src/jdk1.3/
    cocoon/branches/BRANCH_2_1_X/src/jdk1.4/


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


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

Posted by Joerg Heinicke <jo...@gmx.de>.
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

[2.1.x] Build failed after jdk1.* directories were removed (was: svn commit: r665956 - in /cocoon/branches/BRANCH_2_1_X/src: java/org/apache/cocoon/transformation/EncodeURLTransformer.java jdk1.3/ jdk1.4/)

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

joerg@apache.org schrieb:
> Author: joerg
> Date: Mon Jun  9 20:00:42 2008
> New Revision: 665956
> 
> URL: http://svn.apache.org/viewvc?rev=665956&view=rev
> Log:
> With minimum Java raised to 1.4.2 it is no longer necessary to have different implementations of EncodeURLTransformer for Java 1.3 and 1.4.
> 
> Added:
>     cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
>       - copied unchanged from r665948, cocoon/branches/BRANCH_2_1_X/src/jdk1.4/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
> 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?
TIA!

-- Andreas



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