Karel Gardas
unread,Sep 9, 2010, 12:38:00 PM9/9/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAL Language Discussion
Hello,
I'm currently facing troubles with using CAL from Java. I.e.
java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.<init>(File.java:366)
at
org.openquark.cal.services.BasicNullaryEnvironment.getFile(BasicNullaryEnvironment.java:
199)
at
org.openquark.cal.services.BasicNullaryEnvironment.getFile(BasicNullaryEnvironment.java:
101)
at org.openquark.cal.services.BasicCALWorkspace
$BasicWorkspaceEnvironmentProvider.getDefaultSourceGenerationRoot(BasicCALWorkspace.java:
263)
at org.openquark.cal.services.BasicCALWorkspace
$BasicWorkspaceEnvironmentProvider.getDefaultProgramResourceRepositoryProvider(BasicCALWorkspace.java:
240)
at
org.openquark.cal.services.WorkspaceManager.getWorkspaceManager(WorkspaceManager.java:
152)
at
org.openquark.cal.services.BasicCALServices.make(BasicCALServices.java:
270)
at
org.openquark.cal.services.BasicCALServices.make(BasicCALServices.java:
243)
at
org.openquark.cal.services.BasicCALServices.make(BasicCALServices.java:
196)
at
org.openquark.cal.services.BasicCALServices.makeCompiled(BasicCALServices.java:
209)
while callling:
CompilerMessageLogger cmlog = new MessageLogger();
BasicCALServices calserv =
BasicCALServices.makeCompiled("processor.cws", cmlog);
and so I'd like to add some debug messages into the CAL runtime/
services sources and recompile them (as it seems sources itself does
not provide any debugging facility in this domain). Following
OpenQuark building guide I also need to build Eclipse plug-in together
with OpenQuark and here is the issue since I'm not able to find
Eclipse plug-in sources anywhere.
Any hint where those sources might be obtainable is highly welcome
here -- or a way how to build w/o them too of course.
Thanks,
Karel