Skip to main content

build problem from svn repository source code

4 replies [Last post]
tamerkarakan
Offline
Joined: 2008-01-23

I'm using netbeans6.0 in my computer with turkish local.so this cause a build
problem from svn repository source code:
at
com.sun.scenario.effect.compiler.JSLParser.fully_specified_type(JSLParser.java:2588)

code is: retval.type = Type.valueOf(input.toString(ts.start,ts.stop).toUpperCase());

toUpperCase() result void to VOÄ°D with turkish locale

solution of problem maybe: start Netbeans with english locale or toUpperCase(new
Locale(Locale.ENGLISH)); or or -Duser.language=tr Default

full error code:
do-compile-jsl:
Exception in thread "main" java.lang.IllegalArgumentException: No enum const
class com.sun.scenario.effect.compiler.model.Type.VOÄ°D
at java.lang.Enum.valueOf(Enum.java:192)
at com.sun.scenario.effect.compiler.model.Type.valueOf(Type.java:29)
at
com.sun.scenario.effect.compiler.JSLParser.fully_specified_type(JSLParser.java:2588)
at
com.sun.scenario.effect.compiler.JSLParser.function_prototype(JSLParser.java:2124)
at
com.sun.scenario.effect.compiler.JSLParser.function_definition(JSLParser.java:4242)
at
com.sun.scenario.effect.compiler.JSLParser.external_declaration(JSLParser.java:4175)
at
com.sun.scenario.effect.compiler.JSLParser.translation_unit(JSLParser.java:4063)
at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:126)
at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:102)
at CompileJSL.compileFile(Unknown Source)
at CompileJSL.compileFile(Unknown Source)
at CompileJSL.main(Unknown Source)
D:\scenegraphs_effects\Decora-Runtime\build.xml:137: The following error
occurred while executing this line:
D:\scenegraphs_effects\Decora-Runtime\build.xml:126: The following error
occurred while executing this line:
D:\scenegraphs_effects\Decora-Runtime\build.xml:94: Java returned: 1

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Chris Campbell

Apologies for the delayed response. I've just made some changes in
the Decora-Compiler project so that we use toUpperCase(ENGLISH) in all
cases, which should hopefully resolve these problems. Could you
please update from trunk and let me know if it solves your problem?

Thanks,
Chris

On Mar 18, 2008, at 3:54 PM, scenario@javadesktop.org wrote:
> problem from svn repository source code
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
>
> I'm using netbeans6.0 in my computer with turkish local.so this
> cause a bui=
> ld
> problem from svn repository source code:
> at
> com
> .sun
> .scenario.effect.compiler.JSLParser.fully_specified_type(JSLParser.j=
> ava:2588)
>
> code is: retval.type =3D
> Type.valueOf(input.toString(ts.start,ts.stop).toUp=
> perCase());
>
> toUpperCase() result void to VO=C4=B0D with turkish locale
>
> solution of problem maybe: start Netbeans with english locale or
> toUpperCas=
> e(new
> Locale(Locale.ENGLISH)); or or -Duser.language=3Dtr Default
>
> full error code:
> do-compile-jsl:
> Exception in thread "main" java.lang.IllegalArgumentException: No
> enum cons=
> t
> class com.sun.scenario.effect.compiler.model.Type.VO=C4=B0D
> at java.lang.Enum.valueOf(Enum.java:192)
> at
> com.sun.scenario.effect.compiler.model.Type.valueOf(Type.java:29=
> )
> at
> com
> .sun
> .scenario.effect.compiler.JSLParser.fully_specified_type(JSLParser.j=
> ava:2588)
> at
> com
> .sun
> .scenario.effect.compiler.JSLParser.function_prototype(JSLParser.jav=
> a:2124)
> at
> com
> .sun
> .scenario.effect.compiler.JSLParser.function_definition(JSLParser.ja=
> va:4242)
> at
> com
> .sun
> .scenario.effect.compiler.JSLParser.external_declaration(JSLParser.j=
> ava:4175)
> at
> com
> .sun
> .scenario.effect.compiler.JSLParser.translation_unit(JSLParser.java:=
> 4063)
> at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:126)
> at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:102)
> at CompileJSL.compileFile(Unknown Source)
> at CompileJSL.compileFile(Unknown Source)
> at CompileJSL.main(Unknown Source)
> D:\scenegraphs_effects\Decora-Runtime\build.xml:137: The following
> error
> occurred while executing this line:
> D:\scenegraphs_effects\Decora-Runtime\build.xml:126: The following
> error
> occurred while executing this line:
> D:\scenegraphs_effects\Decora-Runtime\build.xml:94: Java returned: 1
> [Message sent by forum member 'tamerkarakan' (tamerkarakan)]
>
> http://forums.java.net/jive/thread.jspa?messageID=3D264700
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
> For additional commands, e-mail: dev-help@scenegraph.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
For additional commands, e-mail: dev-help@scenegraph.dev.java.net

tamerkarakan
Offline
Joined: 2008-01-23

[b]Hello everybody from turkiye(Turkey).[/b]
thanks to respose my building problem.But I have a problem for now.Thanks for reponses!!!

[b]line 204:22 no viable alternative at character 'ı'
Exception in thread "main" NoViableAltException(49!=[517:1: external_declaration returns [List res = new ArrayList()] : (f= function_definition | d= declaration | g= glue_block );])
at com.sun.scenario.effect.compiler.JSLParser.external_declaration(JSLParser.java:4150)
at com.sun.scenario.effect.compiler.JSLParser.translation_unit(JSLParser.java:4063)
at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:126)
at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:93)
at CompileBlend.main(Unknown Source)
D:\scenegraph_effects\trunk\Decora-Runtime\build.xml:142: The following error occurred while executing this line:
D:\scenegraph_effects\trunk\Decora-Runtime\build.xml:126: The following error occurred while executing this line:
D:\scenegraph_effects\trunk\Decora-Runtime\build.xml:94: Java returned: 1
BUILD FAILED (total time: 2 seconds)
[/b]

Chris Campbell

Okay, I think I've fixed the problem. Last time around I had fixed
all the places we use toUpperCase(), but I had forgotten about the
places where we use toLowerCase(). Please update from trunk and let
us know how it goes.

Thanks,
Chris

On Mar 29, 2008, at 1:09 PM, scenario@javadesktop.org wrote:
> [b]Hello everybody from turkiye(Turkey).[/b]
> thanks to respose my building problem.But I have a problem for
> now.Thanks for reponses!!!
>
> [b]line 204:22 no viable alternative at character 'ı'
> Exception in thread "main" NoViableAltException(49!=[517:1:
> external_declaration returns [List res = new
> ArrayList()] : (f= function_definition | d= declaration |
> g= glue_block );])
> at
> com
> .sun
> .scenario
> .effect.compiler.JSLParser.external_declaration(JSLParser.java:4150)
> at
> com
> .sun
> .scenario.effect.compiler.JSLParser.translation_unit(JSLParser.java:
> 4063)
> at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:126)
> at com.sun.scenario.effect.compiler.JSLC.compile(JSLC.java:93)
> at CompileBlend.main(Unknown Source)
> D:\scenegraph_effects\trunk\Decora-Runtime\build.xml:142: The
> following error occurred while executing this line:
> D:\scenegraph_effects\trunk\Decora-Runtime\build.xml:126: The
> following error occurred while executing this line:
> D:\scenegraph_effects\trunk\Decora-Runtime\build.xml:94: Java
> returned: 1
> BUILD FAILED (total time: 2 seconds)
> [/b]
> [Message sent by forum member 'tamerkarakan' (tamerkarakan)]
>
> http://forums.java.net/jive/thread.jspa?messageID=266597
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
> For additional commands, e-mail: dev-help@scenegraph.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
For additional commands, e-mail: dev-help@scenegraph.dev.java.net

tamerkarakan
Offline
Joined: 2008-01-23

[b]Congratulations.You have fixed the problem.
[/b]
Thank You
Dt.Tamer KARAKAN