--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/A0iHNL0f13UJ.
To post to this group, send email to gosu...@googlegroups.com.
To unsubscribe from this group, send email to gosu-lang+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gosu-lang?hl=en.
and I tried to execute the following commands:
gosu -classpath C:/Users/Claudio/Gosu/src/miopackage/xsd MyMain.gsp
gosu -classpath C:\Users\Claudio\Gosu\src\miopackage\xsd MyMain.gsp
gosu -classpath xsd MyMain.gsp
but all of them fails with this output:
C:\Users\Claudio\Gosu\src\miopackage>gosu -classpath xsd MyMain.gsp
gw.lang.parser.exceptions.ParseResultsException: MyMain.gsp
Errors:
"xsd" is not a valid type. [line:3 col:13] in
line 2:
Line Number: 1 Column: 13
"xsd" is not a valid type. [line:3 col:13] in
line 2:
Line Number: 1 Column: 13
at gw.internal.gosu.parser.ParserBase.verifyParsedElement(ParserBase.java:268)
at gw.internal.gosu.parser.GosuClassParser.parseDefinitions(GosuClassParser.java:435)
at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1409)
at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1354)
at gw.internal.gosu.parser.GosuClass.isValid(GosuClass.java:774)
at gw.internal.gosu.parser.GosuProgram_Proxy.isValid(gw.internal.gosu.parser.GosuProgram_Proxy:2)
at gw.internal.gosu.parser.GosuProgramParser.parseExpressionOrProgram(GosuProgramParser.java:130)
at gw.lang.Gosu$ExecuteMode.runWithFile(Gosu.java:792)
at gw.lang.Gosu$ExecuteMode.run(Gosu.java:749)
at gw.lang.Gosu.start(Gosu.java:87)
at gw.lang.launch.GosuLauncher.run(GosuLauncher.java:116)
at gw.lang.launch.GosuLauncher.main(GosuLauncher.java:46)
Hi Claudio,
The problem is that example.xsd is not in the Gosu classpath. I'd suggest placing it into a subdirectory, such as "xsd", then add "-classpath /path/to/xsd" to the Gosu command line. You should then be able to do "var x = new example.Person()"
Dana
To unsubscribe from this group, send email to gosu-lang+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/W1_0EMO9oKsJ.
To unsubscribe from this group, send email to gosu-lang+...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/yMsYS2tJvaQJ.
To post to this group, send email to gosu...@googlegroups.com.
To unsubscribe from this group, send email to gosu-lang+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gosu-lang?hl=en.
<miopackage.zip>
Try adding a line at the top as such:classpath "remote:releases:gosu-lang.org-releases:http://gosu-lang.org/nexus/content/groups/releases"While leaving your existing classpath line intact. This will make Gosu download the XML type loader library, which is no longer in the core distribution, and include it in the classpath.I'm at an airport at the moment so I haven't had a chance to verify the line I wrote. I'll do my best to get online soon and try it out.
Sent from my iPhone
To unsubscribe from this group, send email to gosu-lang+unsubscribe@googlegroups.com.
<miopackage.zip>
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/X2sHMIeF4FMJ.
To unsubscribe from this group, send email to gosu-lang+...@googlegroups.com.