Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Evaluating code from inside an EAR

Hi, this is my first question to the  list.

In our project we use the following technologies

* Eclipse 3.2.1
* WTP 1.5.1
* Tomcat 5.5 (the server side is deployed as a single .war file)

and we are trying to migrate to

* JBoss 4.0.2 (the server side now beeing deployed as a .ear file containg both .jars files and .war files inside).

Everything seems to work fine until we try to evaluate code residing in .jar files contained in the main .ear file.

Graphically:

eSidif.ear
core.war
entes.war
entes-server.jar
entes-common.jar
pagos.war
base.jar
dto.jar
ttbb.jar

While debugging 'entes-server.jar' (which is placed in the WEB-INF/lib folder inside entes.war) code evaluation works properly, the problem occurs with code inside base.jar where evaluating any _expression_ throws the following error:

Unable to evaluate the selected _expression_ :
To perform an evaluation, an _expression_ must be compiled in the context of a Java project's build path. The currect execution context is not associated with a Java project in the workspace.
Screenshot: http://screencast.com/t/uNvEm8hc8so

Another member of our team tried other versions of Eclipse+WTP without succeeding.
Any links, suggestions, comments on this issue would be highly appreciated.

Thanks a million,

Fernando Troya.
Semisenior Developer at LIFIA,
50 & 115 st., first floor (1900) La Plata, Buenos Aires, Argentina.
+542944313104 (mobile)

Back to the top