- This topic has 8 replies, 2 voices, and was last updated 19 years, 3 months ago by gcormier.
-
AuthorPosts
-
gcormierMemberI have a web project which uses another project’s classes.
I’ve selected off that needed project under the Build Path Projects, and the Order & Export.
Also under MyEclipse-Web, Deployment, I’ve explicitly ticked off “JAR dependant projects and place in lib directory’, and all of the Library deployment policies.
My JAR file is still not being exported 🙁 So far I’m manually exporting the JAR each time which is a bit cumbersome.
Any ideas?
Scott AndersonParticipantCan you reverify your settings with what’s described in the Advanced section of the Working with Web Projects Quickstart here:
http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.html
gcormierMemberYes, those are the settings I’ve changed as described in the original post… still no JAR exporiting automatically.
Scott AndersonParticipantCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
gcormierMemberWindows 2000
Eclipse Platform
Version: 3.0.1
Build id: 200409161125ME 3.8.4
Fresh install
Java 5.0 used to run it.
Scott AndersonParticipantAs a first cut, I’d run Eclipse with JDK 1.4.2 since 3.0.1 and MyEclipse 3.8.4 were never tested on JDK 1.5. You can do this
by changing the startup alias to be:
eclipse.exe -vm <path-to-jdk-1.4.2>\bin\javaw.exeAnd these comments:
[quote]
JAR dependant projects and place in lib directory’
[quote]My JAR file is still not being exported 🙁 So far I’m manually exporting the JAR each time which is a bit cumbersome.
The option you selected will take all the *classes* in a Java project, compiled form source in that project, and jar and deploy them. If the jars are already built in a depependent project, you’re not selecting the correct deployment option. Please have another look at the Advanced Section of the Working With Web Projects tutorial here: http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.html
If that doesn’t resolve the issue, can you post *all* the rest of the info, like log entries etc that we ask for as well?
gcormierMember@support-scott wrote:
Can you reverify your settings with what’s described in the Advanced section of the Working with Web Projects Quickstart here:
http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.html@gcormier wrote:
Yes, those are the settings I’ve changed as described in
the original post… still no JAR exporiting automatically.—
There are 8 org.eclipse.pde.* folders.
JDK running eclipse is now 1.4.2_05
JDK and Application Server are not applicable to this problem.
I’ve tried a “Clean”. This deletes my manually exported JAR (as expected) but fails to do the automatic re-deploy.
Application server is WAS5.1. Not applicable.
I’ve deleted the .log file. I did a clean of the project. Modified some class files to have it recompile. Modified JSP files. I’ve also re-deployed BOTH the main project and the dependant.
The .log file has nothing in it.
I have two projects, A and B. A uses B’s class files. I want B to be compiled and put in a JAR, and put in A’s lib directory automatically whenever I change stuff in B.
Scott AndersonParticipantIs B a Web Project? Dependent project Jaring support will only package plain Java projects, not MyEclipse Web projects as theirs no “merge”
model across web projects.
gcormierMemberYes, B is a web project.
OK, I’ve moved the class files to a seperate project and this is JAR’ing properly now.
Are any plans slated for supporting web projects as a JAR? Just the class files from them…
Basically, we have a common “tools” section which has various classes, etc which are used across all of our applications. Some of these classes involve database access, etc. So as part of this, we also provide the tools (via the web) for updating these.
Other projects need just the classes obviously. It’s just nice to have these “global” classes, and their web-interface in 1 project since they’re very related..
-
AuthorPosts