You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Andreas Ernst <ae...@ae-online.de> on 2005/03/02 10:08:42 UTC
Building Jetspeed 2 with Java 1.5.01
Hi,
i am new to Jetspeed. I tried to
maven allClean allBuild
and get this errors:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
[javac] (try -source 1.4 or lower to use 'enum' as an identifier)
[javac] for (Enumeration enum = bundle.getKeys();
enum.hasMoreElements();)
this files are affected:
components\registry\src\java\org\apache\jetspeed\om\impl\LanguageImpl.java
portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
portals-bridges\perl\src\java\org\apache\portals\bridges\perl\PerlPortlet.java
portals-bridges\php\src\java\org\apache\portals\bridges\php\PHPApplicationPortlet.java
portals-bridges\myfaces\src\java\org\apache\portals\bridges\myfaces\PortletExternalContextImpl.java
portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
components\security\src\test\org\apache\jetspeed\security\TestPermissionManager.java
regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Building Jetspeed 2 with Java 1.5.01
Posted by Jouni Rajala <jo...@systeemiratkaisu.fi>.
>I have been building J2 with Java 1.5 with no problems for a while
>now. Where did you get the src from? HEAD or J2 M1? The M1 release
>may not be compatiable. You may want to try pulling the latest source
>and building again.
>
>
>
>
I had same problems. Even if I pulled it from HEAD two weeks ago it
still didn't work.
Then I noticed that problems were related to maven 'stuff'. I had to
clear out my .maven
folder and jetspeed-2 project from my machine entirely and check out
everything
again. After that it builded ok.
It seems that this was caused because I had to build jetspeed-2 with
jdk1.4 because
it didn't build with 1.5 about 1,5 months ago. Some jars were not
compiled again with
1.5 javac after update of jetspeed-2 project and build failed for some
reason.
I am sure there was cleaner way to fix the problem. However because
jetspeed-2
is only project that I have checked out with maven, I decided to try to
wipe it all out
and start from beginning. After all this maven thing is great but I have
no idea how
it works :)
--
Jouni Rajala
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Building Jetspeed 2 with Java 1.5.01
Posted by Andreas Ernst <ae...@ae-online.de>.
Jeremy Ford schrieb:
>I have been building J2 with Java 1.5 with no problems for a while
>now. Where did you get the src from? HEAD or J2 M1? The M1 release
>may not be compatiable. You may want to try pulling the latest source
>and building again.
>
>
>
I use jetspeed-2.0-M1-src.zip.
>Jeremy Ford
>jford@apache.org
>
>
>On Wed, 02 Mar 2005 10:08:42 +0100, Andreas Ernst <ae...@ae-online.de> wrote:
>
>
>>Hi,
>>
>>i am new to Jetspeed. I tried to
>>
>>maven allClean allBuild
>>
>>and get this errors:
>>
>>as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
>> [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
>> [javac] for (Enumeration enum = bundle.getKeys();
>>enum.hasMoreElements();)
>>
>>this files are affected:
>>components\registry\src\java\org\apache\jetspeed\om\impl\LanguageImpl.java
>>portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
>>portals-bridges\perl\src\java\org\apache\portals\bridges\perl\PerlPortlet.java
>>portals-bridges\php\src\java\org\apache\portals\bridges\php\PHPApplicationPortlet.java
>>portals-bridges\myfaces\src\java\org\apache\portals\bridges\myfaces\PortletExternalContextImpl.java
>>portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
>>components\security\src\test\org\apache\jetspeed\security\TestPermissionManager.java
>>
>>regards
>>Andreas
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Building Jetspeed 2 with Java 1.5.01
Posted by Jeremy Ford <je...@gmail.com>.
I have been building J2 with Java 1.5 with no problems for a while
now. Where did you get the src from? HEAD or J2 M1? The M1 release
may not be compatiable. You may want to try pulling the latest source
and building again.
Jeremy Ford
jford@apache.org
On Wed, 02 Mar 2005 10:08:42 +0100, Andreas Ernst <ae...@ae-online.de> wrote:
> Hi,
>
> i am new to Jetspeed. I tried to
>
> maven allClean allBuild
>
> and get this errors:
>
> as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
> [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
> [javac] for (Enumeration enum = bundle.getKeys();
> enum.hasMoreElements();)
>
> this files are affected:
> components\registry\src\java\org\apache\jetspeed\om\impl\LanguageImpl.java
> portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
> portals-bridges\perl\src\java\org\apache\portals\bridges\perl\PerlPortlet.java
> portals-bridges\php\src\java\org\apache\portals\bridges\php\PHPApplicationPortlet.java
> portals-bridges\myfaces\src\java\org\apache\portals\bridges\myfaces\PortletExternalContextImpl.java
> portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
> components\security\src\test\org\apache\jetspeed\security\TestPermissionManager.java
>
> regards
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org