Ask Your Question
0

Does Rascal support webaplications as a Resource?

asked Feb 01

Erwin de Jager gravatar image Erwin de Jager
1 1

Trying this results in error on resource@method.

delete close flag offensive retag edit

Comments

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)edit

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?

Erwin de Jager (Feb 15)edit

2 Answers

Sort by ยป oldest newest most voted
0

answered Feb 02

Erwin de Jager gravatar image Erwin de Jager
1 1

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?

link delete flag offensive edit
0

answered Feb 02

JasperT gravatar image JasperT
33 1 5 11

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.

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]
Also see the Rascal Tutor.

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: Feb 01

Seen: 27 times

Last updated: Feb 02