You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Upayavira <uv...@upaya.co.uk> on 2004/10/15 17:25:49 UTC

Re: Cannot compile cocoon

You should be grabbing from SVN. We switched some while ago.

There's two branches there, trunk and 2.1.X. The latter is probably more 
stable.

You've got the arbitrary snapshot at the point at which we switched.

If you're new to Subversion, consider getting something like tortoisesvn 
- makes the job a lot easier for Windows users.

Regards, Upayavira

Michael J. Sherman wrote:

>
> Hi everyone;
>
> I grabbed down Cocoon CVS from 11am EDT Oct 15.  I have ant 1.6.2 and 
> Java JDK 1.5.0.
>
> When I attempt a './build.sh' in the cocoon-2.1/ dir, I eventually get 
> this error:
>
> -----------------------------------------------------------
> Compiling 268 source files to 
> /root/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/forms/dest
> /root/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22: 
> as of release 1.5, 'enum' is a keyword, and may not be used as an 
> identifier
> (try -source 1.4 or lower to use 'enum' as an identifier)
> import org.apache.commons.lang.enum.ValuedEnum;
>                                ^
> 1 error
>
> BUILD FAILED
> /root/cocoon-2.1/tools/targets/compile-build.xml:210: The following 
> error occurred while executing this line:
> /root/cocoon-2.1/build/cocoon-2.2.0-dev/temp/blocks-build.xml:6821: 
> Compile failed; see the compiler error output for details.
> -----------------------------------------------------------
>
> If I try to compile the latest source release (2.1.5.1, not CVS), I 
> get this error right away:
>
> -----------------------------------------------------------
> Buildfile: build.xml
>
> init-tasks:
> Created dir: /root/cocoon-2.1.5.1/tools/anttasks
> Compiling 5 source files to /root/cocoon-2.1.5.1/tools/anttasks
> javac: target release 1.3 conflicts with default source release 1.5
>
> BUILD FAILED
> /root/cocoon-2.1.5.1/tools/targets/init-build.xml:159: Compile failed; 
> see the
> compiler error output for details.
>
> Total time: 1 second
> -----------------------------------------------------------
>
> I thought I had read in the mailing list archives that the JDK 1.5 
> issues with the new keyword 'enum' had been worked out.  Can someone 
> clue me in?  I need to get Cocoon installed and working, but all three 
> of my varied attemps have failed (older binary release, current 
> release, and CVS).
>
> Thanks!
> -Mike
>
>
> ---------------------------------------------------------------------
> 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: Cannot compile cocoon

Posted by "Michael J. Sherman" <ms...@dsbox.com>.
Bertrand Delacretaz wrote:
> Le 15 oct. 04, à 17:38, Michael J. Sherman a écrit :
> 
>> I was merely following the instructions on the cocoon website about 
>> "getting Cocoon from CVS".  If you've switched to another versioning 
>> system, please update the page!
> 
> 
> Sorry about that, the site has not been updated yet (but of course 
> everybody's welcome to submit a patch to the relevant documentation pages).
> 
> In the meantime see http://wiki.apache.org/cocoon/SubversionMigration
> 

Thanks!  I found that Wiki page and it solved all my problems.  I 
pulled down the latest code and it worked just fine.  I appreciate 
your help in getting this figured out.

-Mike

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


Re: Cannot compile cocoon

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 15 oct. 04, à 17:38, Michael J. Sherman a écrit :

> I was merely following the instructions on the cocoon website about 
> "getting Cocoon from CVS".  If you've switched to another versioning 
> system, please update the page!

Sorry about that, the site has not been updated yet (but of course 
everybody's welcome to submit a patch to the relevant documentation 
pages).

In the meantime see http://wiki.apache.org/cocoon/SubversionMigration

-Bertrand

Re: Cannot compile cocoon

Posted by "Michael J. Sherman" <ms...@dsbox.com>.

I was merely following the instructions on the cocoon website about 
"getting Cocoon from CVS".  If you've switched to another versioning 
system, please update the page!

Where would I find specifics about the SVN server, etc... ?

I'm not a windows user, so tortoisesvn doesn't help.

Thanks,
Mike


Upayavira wrote:
> You should be grabbing from SVN. We switched some while ago.
> 
> There's two branches there, trunk and 2.1.X. The latter is probably more 
> stable.
> 
> You've got the arbitrary snapshot at the point at which we switched.
> 
> If you're new to Subversion, consider getting something like tortoisesvn 
> - makes the job a lot easier for Windows users.
> 
> Regards, Upayavira
> 
> Michael J. Sherman wrote:
> 
>>
>> Hi everyone;
>>
>> I grabbed down Cocoon CVS from 11am EDT Oct 15.  I have ant 1.6.2 and 
>> Java JDK 1.5.0.
>>
>> When I attempt a './build.sh' in the cocoon-2.1/ dir, I eventually get 
>> this error:
>>
>> -----------------------------------------------------------
>> Compiling 268 source files to 
>> /root/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/forms/dest
>> /root/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22: 
>> as of release 1.5, 'enum' is a keyword, and may not be used as an 
>> identifier
>> (try -source 1.4 or lower to use 'enum' as an identifier)
>> import org.apache.commons.lang.enum.ValuedEnum;
>>                                ^
>> 1 error
>>
>> BUILD FAILED
>> /root/cocoon-2.1/tools/targets/compile-build.xml:210: The following 
>> error occurred while executing this line:
>> /root/cocoon-2.1/build/cocoon-2.2.0-dev/temp/blocks-build.xml:6821: 
>> Compile failed; see the compiler error output for details.
>> -----------------------------------------------------------
>>
>> If I try to compile the latest source release (2.1.5.1, not CVS), I 
>> get this error right away:
>>
>> -----------------------------------------------------------
>> Buildfile: build.xml
>>
>> init-tasks:
>> Created dir: /root/cocoon-2.1.5.1/tools/anttasks
>> Compiling 5 source files to /root/cocoon-2.1.5.1/tools/anttasks
>> javac: target release 1.3 conflicts with default source release 1.5
>>
>> BUILD FAILED
>> /root/cocoon-2.1.5.1/tools/targets/init-build.xml:159: Compile failed; 
>> see the
>> compiler error output for details.
>>
>> Total time: 1 second
>> -----------------------------------------------------------
>>
>> I thought I had read in the mailing list archives that the JDK 1.5 
>> issues with the new keyword 'enum' had been worked out.  Can someone 
>> clue me in?  I need to get Cocoon installed and working, but all three 
>> of my varied attemps have failed (older binary release, current 
>> release, and CVS).
>>
>> Thanks!
>> -Mike
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 


-- 
Michael J. Sherman
Director of Advanced Technology
Digital Sandbox, Inc. | http://www.dsbox.com/

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