You're right I'm using the Trunk repository:
https://x10.svn.sourceforge.net/svnroot/x10/trunk/
and It was this repository that I upgraded.
I just change the signature in main function, and everything is ok.
Thanks for your quick reply.
Danny MĂșnera
On Thu, Mar 7, 2013 at 11:01 PM, Olivier Tardieu <tard...@us.ibm.com> wrote:
> Danny,
>
> Are you using the 2.3.1 tag or the trunk of the repository?
>
> We are doing some disruptive changes in the trunk at this time with Rails
> and Arrays.
> If you are compiling against trunk the main method signature should be:
> public static def main(args:Rail[String]):void
>
> The Array type is no longer permitted for the main method args.
>
> Regards,
>
> Olivier
>
> Danny Munera <dannymun...@gmail.com> wrote on 03/07/2013 04:52:43 PM:
>
> > From: Danny Munera <dannymun...@gmail.com>
> > To: x10-users@lists.sourceforge.net
>
> > Date: 03/07/2013 04:53 PM
> > Subject: [X10-users] Error compiling after update 2.3.1
> >
> > Danny MĂșnera
>
> > Hello all,
> >
> > I have problems to compile any program just after the upgraded and
> > compile the new x10 2.3.1 version by svn.
> >
> > When I try to compile a program with c++ back-end I get a error message :
> >
> > x10c++: No main method found
> > 1 error.
> >
> > This is an example with the HelloWold in verbose mode:
> >
> > x10c++ -v HelloWorld.x10
> > "/usr/lib/jvm/jdk1.7.0/bin/java" -Xmx1024m -Dfile.encoding=UTF-8 -
> > Dx10.dist="/home/danny/Appz/x10/x10-trunk/x10.dist" -
> > Dx10c.ecj.jar="ecj.jar" -Dx10c.math.jar="commons-math3-3.0.jar" -
> > classpath "/home/danny/Appz/x10/x10-trunk/x10.dist/lib/x10c.jar:/
> > home/danny/Appz/x10/x10-trunk/x10.dist/lib/lpg.jar:/home/danny/Appz/
> > x10/x10-trunk/x10.dist/lib/com.ibm.wala.cast.java_1.0.0.
> > 201101071300.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/
> > com.ibm.wala.cast_1.0.0.201101071300.jar:/home/danny/Appz/x10/x10-
> > trunk/x10.dist/lib/com.ibm.wala.core_1.1.3.201101071300.jar:/home/
> > danny/Appz/x10/x10-trunk/x10.dist/lib/com.ibm.wala.shrike_1.3.1.
> > 201101071300.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/
> > x10wala.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/
> > org.eclipse.equinox.common_3.6.0.v20100503.jar" polyglot.main.Main
> > -extclass x10cuda.ExtensionInfo -x10lib /home/danny/Appz/x10/x10-
> > trunk/x10.dist/stdlib/libx10.properties 'HelloWorld.x10' '-define'
> '__CPP__'
> > x10c++: No main method found
> > 1 error.
> >
> > Can you give some hints to find the source of the problem?
> >
> > Thanks in advance!!!
> >
> > Regards,
> > --
> > Danny Munera
> > Ph.D. Student
> > Université Paris 1
> > Pantheon-Sorbonne
> >
> >
> ------------------------------------------------------------------------------
> > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> > endpoint security space. For insight on selecting the right partner to
> > tackle endpoint security challenges, access the full report.
> > http://p.sf.net/sfu/symantec-dev2dev
> > _______________________________________________
> > X10-users mailing list
> > X10-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/x10-users
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
>
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users