You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Joern Nettingsmeier <po...@uni-due.de> on 2006/08/22 20:32:45 UTC

migration target broken (java "source release" problem)

hi *!


on a linux system with sun java 1.5.0_07, the migration target no longer
compiles:

test-module-org.apache.lenya.modules.migration:
Compiling 1 source file to
/srv/lenya/build/lenya/modules/org.apache.lenya.modules.migration/java/test
javac: invalid source release: 1.5.0_07
Usage: javac <options> <source files>
<...>
BUILD FAILED
/srv/lenya/src/targets/modules-build.xml:105: The following error
occurred while executing this line:
/srv/lenya/build/lenya/temp/modules-build.xml:1389: Compile failed; see
the compiler error output for details.

it Used To Work Yesterday(tm).


regards,

jörn



-- 
"I don't need backups. I need restore!" - Trad.

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: migration target broken (java "source release" problem)

Posted by Joern Nettingsmeier <po...@uni-due.de>.
Andreas Hartmann wrote:
> Paloma Gomez wrote:
>> Hi Joern,
>>
>> 2006/8/22, Joern Nettingsmeier <po...@uni-due.de>:
>>> hi *!
>>>
>>>
>>> on a linux system with sun java 1.5.0_07, the migration target no longer
>>> compiles:
>>>
>>> test-module-org.apache.lenya.modules.migration:
>>> Compiling 1 source file to
>>> /srv/lenya/build/lenya/modules/org.apache.lenya.modules.migration/java/test
>>>
>>> javac: invalid source release: 1.5.0_07
>>
>> I got this error the first time I modified build.properties. In my
>> first attempt I gave the name "java.version" to the java version
>> variable and it didn't work because the build process ignored the
>> value set in the build.properties file (java.version=1.5) and used the
>> java version number instead ( mine was 1.5.0_06). After changing the
>> variable name to src.java.version it worked fine.
>>
>> I have updated my copy and tried building with src.java.version=1.5
>> and src.java.version=1.4 and in both cases the build has been
>> successful. Is this variable named src.java.version in your
>> build.properties file?
> 
> Paloma, the patch still contained java.version in one place.
> I changed it to src.java.version, please try again.

your fix works for me. thanks.

-- 
"I don't need backups. I need restore!" - Trad.

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: migration target broken (java "source release" problem)

Posted by Paloma Gomez <pa...@gmail.com>.
Hi Andreas,

>
> Paloma, the patch still contained java.version in one place.
> I changed it to src.java.version, please try again.
>

I'm sorry for this mistake. My patch worked in my copy because  I
don't have any module test at the moment.

Thanks,

Paloma

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: migration target broken (java "source release" problem)

Posted by Andreas Hartmann <an...@apache.org>.
Paloma Gomez wrote:
> Hi Joern,
> 
> 2006/8/22, Joern Nettingsmeier <po...@uni-due.de>:
>> hi *!
>>
>>
>> on a linux system with sun java 1.5.0_07, the migration target no longer
>> compiles:
>>
>> test-module-org.apache.lenya.modules.migration:
>> Compiling 1 source file to
>> /srv/lenya/build/lenya/modules/org.apache.lenya.modules.migration/java/test 
>>
>> javac: invalid source release: 1.5.0_07
> 
> I got this error the first time I modified build.properties. In my
> first attempt I gave the name "java.version" to the java version
> variable and it didn't work because the build process ignored the
> value set in the build.properties file (java.version=1.5) and used the
> java version number instead ( mine was 1.5.0_06). After changing the
> variable name to src.java.version it worked fine.
> 
> I have updated my copy and tried building with src.java.version=1.5
> and src.java.version=1.4 and in both cases the build has been
> successful. Is this variable named src.java.version in your
> build.properties file?

Paloma, the patch still contained java.version in one place.
I changed it to src.java.version, please try again.

-- Andreas


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: migration target broken (java "source release" problem)

Posted by Paloma Gomez <pa...@gmail.com>.
Hi Joern,

2006/8/22, Joern Nettingsmeier <po...@uni-due.de>:
> hi *!
>
>
> on a linux system with sun java 1.5.0_07, the migration target no longer
> compiles:
>
> test-module-org.apache.lenya.modules.migration:
> Compiling 1 source file to
> /srv/lenya/build/lenya/modules/org.apache.lenya.modules.migration/java/test
> javac: invalid source release: 1.5.0_07

I got this error the first time I modified build.properties. In my
first attempt I gave the name "java.version" to the java version
variable and it didn't work because the build process ignored the
value set in the build.properties file (java.version=1.5) and used the
java version number instead ( mine was 1.5.0_06). After changing the
variable name to src.java.version it worked fine.

I have updated my copy and tried building with src.java.version=1.5
and src.java.version=1.4 and in both cases the build has been
successful. Is this variable named src.java.version in your
build.properties file?

My system:
java version: sun java 1.5.0_06
OS: Ubuntu Linux

HTH,
Paloma
> Usage: javac <options> <source files>
> <...>
> BUILD FAILED
> /srv/lenya/src/targets/modules-build.xml:105: The following error
> occurred while executing this line:
> /srv/lenya/build/lenya/temp/modules-build.xml:1389: Compile failed; see
> the compiler error output for details.
>
> it Used To Work Yesterday(tm).
>
>
> regards,
>
> jörn
>
>
>
> --
> "I don't need backups. I need restore!" - Trad.
>
> --
> Jörn Nettingsmeier, EDV-Administrator
> Institut für Politikwissenschaft
> Universität Duisburg-Essen, Standort Duisburg
> Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org