You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andreas Doms <ad...@inf.tu-dresden.de> on 2004/10/11 11:01:29 UTC

build cocoon with Java5 alias Java 1.5

I get compiler error because in some sources the enum keyword is used as
an identifier.
I tried to add the "-source 1.4" option into the ant build but I still
get errors when compiling the deprecated sources.

cocoon version 2.1.5.1 was used.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: build cocoon with Java5 alias Java 1.5 - Thank you Bertrand! This group rocks!

Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
you're welcome - but I didn't do any work re. Java 1.5, as it is not 
available for my favorite platform yet ;-)

I'm glad you found the bugzilla info helpful though. And you're right, 
this group rocks!

-Bertrand

Re: build cocoon with Java5 alias Java 1.5 - Thank you Bertrand! This group rocks!

Posted by Ray Allis <ra...@comcast.net>.
Bertrand Delacretaz wrote:

> FYI there has been work on JDK1.5 compilation issues recently, see
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30883
>
> -Bertrand
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: build cocoon with Java5 alias Java 1.5

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 14 oct. 04, à 19:10, Ray Allis a écrit :

> I asked this same question a week ago.  Let me know what you find out. 
>  I am
> not planning to revert to java 1.4.

FYI there has been work on JDK1.5 compilation issues recently, see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30883

-Bertrand

AW: build cocoon with Java5 alias Java 1.5

Posted by Andreas Doms <ad...@inf.tu-dresden.de>.
I added the "-source 1.4" option into all ant build files (also for the
javadoc tags)
The errors in the one deprecated source I fixed by renaming a local variable
from enum to enumeration.

> -----Ursprüngliche Nachricht-----
> Von: Ray Allis [mailto:rayallis@comcast.net]
> Gesendet: Donnerstag, 14. Oktober 2004 19:11
> An: ad11@inf.tu-dresden.de
> Cc: users@cocoon.apache.org
> Betreff: Re: build cocoon with Java5 alias Java 1.5
> 
> I asked this same question a week ago.  Let me know what you find out.  I
> am
> not planning to revert to java 1.4.
> 
> > init-tasks:
> > Compiling 12 source files to /export/home/ray/cocoon-2.1/tools/anttasks
> > javac: target release 1.3 conflicts with default source release 1.5
> 
> 
> Andreas Doms wrote:
> 
> > I get compiler error because in some sources the enum keyword is used as
> > an identifier.
> > I tried to add the "-source 1.4" option into the ant build but I still
> > get errors when compiling the deprecated sources.
> >
> > cocoon version 2.1.5.1 was used.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: build cocoon with Java5 alias Java 1.5

Posted by Ray Allis <ra...@comcast.net>.
I asked this same question a week ago.  Let me know what you find out.  I am
not planning to revert to java 1.4.

> init-tasks:
> Compiling 12 source files to /export/home/ray/cocoon-2.1/tools/anttasks
> javac: target release 1.3 conflicts with default source release 1.5


Andreas Doms wrote:

> I get compiler error because in some sources the enum keyword is used as
> an identifier.
> I tried to add the "-source 1.4" option into the ant build but I still
> get errors when compiling the deprecated sources.
>
> cocoon version 2.1.5.1 was used.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org