Trying this results in error on resource@method.
When using Rascal for extracting facts of standalone Java Eclipse projects all is working fine. When I tried this on J2EE webapplication projects using frameworks like Spring and GWT extracting facts doesn't work anymore. Is Rascal suited for this type of projects?
Looking at the tutor about util::Resources, I can quote this:
"The Resource library provides direct access to Eclipse projects and the resources they contain. A Resource is the Rascal representation of an Eclipse project, or a folder or a file in an Eclipse project. In combination with the IO library module, users of the Resources library gain access to the contents of any file that is in an Eclipse project."
Thus although the loc type can represent an internet address, a resource only accepts project:// locs, as I am not mistaken.
Asked: Feb 01
Seen: 27 times
Last updated: Feb 02
Copyright CWI, 2010-2012. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
I don't understand the question. What do you mean "support as a Resource"? What do you mean by "webapplication", and what is the error that you get? ;-)
JurgenVinju (Feb 02)editWhen using Rascal for extracting facts of standalone Java Eclipse projects all is working fine. When I tried this on J2EE webapplication projects using frameworks like Spring and GWT extracting facts doesn't work anymore. Is Rascal suited for this type of projects?
Erwin de Jager (Feb 15)edit