You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Prashanth Krishnamurthy <pk...@yahoo.com> on 2006/10/16 20:20:30 UTC

compilation error

Hi,

I get the following compilation error when run through
continuum. The same works fine when I do it outside
continuum ( using mvn ). pom.xml is configured with
the right ver of jdk.

Please suggest.

thanks
--Prashanth

----------------------------------------------------
[INFO] Compilation failure

C:\continuum-1.0.3\apps\continuum\working-directory\45\src\main\java\com\company\tools\ui\isomorphic\TreeGridDSCommand.java:[22,39]
generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
public abstract class TreeGridDSCommand extends
DSCommand {

C:\continuum-1.0.3\apps\continuum\working-directory\45\src\main\java\com\company\tools\ui\isomorphic\TreeGridDSCommand.java:[75,28]
for-each loops are not supported in -source 1.3
(try -source 1.5 to enable for-each loops)
                for (N node : nodes) {

-----------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: compilation error

Posted by Wayne Fay <wa...@gmail.com>.
I'd suspect the server/user you are running Continuum on does not have
the proper PATH, JAVA_HOME, etc environment properties set.

Log into that server as the user who owns the Continuum process and
try to run your Maven build... I'd expect you will see the same
results. Resolve your issues with that user and it should run OK under
Continuum.

Wayne

On 10/16/06, Prashanth Krishnamurthy <pk...@yahoo.com> wrote:
> Hi,
>
> I get the following compilation error when run through
> continuum. The same works fine when I do it outside
> continuum ( using mvn ). pom.xml is configured with
> the right ver of jdk.
>
> Please suggest.
>
> thanks
> --Prashanth
>
> ----------------------------------------------------
> [INFO] Compilation failure
>
> C:\continuum-1.0.3\apps\continuum\working-directory\45\src\main\java\com\company\tools\ui\isomorphic\TreeGridDSCommand.java:[22,39]
> generics are not supported in -source 1.3
> (try -source 1.5 to enable generics)
> public abstract class TreeGridDSCommand extends
> DSCommand {
>
> C:\continuum-1.0.3\apps\continuum\working-directory\45\src\main\java\com\company\tools\ui\isomorphic\TreeGridDSCommand.java:[75,28]
> for-each loops are not supported in -source 1.3
> (try -source 1.5 to enable for-each loops)
>                for (N node : nodes) {
>
> -----------------------------------------------------
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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