facebook

JAR’s not deploying

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #233387 Reply

    gcormier
    Member

    I 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?

    #233419 Reply

    Scott Anderson
    Participant

    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

    #233465 Reply

    gcormier
    Member

    Yes, those are the settings I’ve changed as described in the original post… still no JAR exporiting automatically.

    #233516 Reply

    Scott Anderson
    Participant

    Can 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.

    #233591 Reply

    gcormier
    Member

    Windows 2000
    Eclipse Platform
    Version: 3.0.1
    Build id: 200409161125

    ME 3.8.4
    Fresh install
    Java 5.0 used to run it.

    #233603 Reply

    Scott Anderson
    Participant

    As 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.exe

    And 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?

    #233663 Reply

    gcormier
    Member

    @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.

    #233684 Reply

    Scott Anderson
    Participant

    Is 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.

    #233758 Reply

    gcormier
    Member

    Yes, 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..

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: JAR’s not deploying

You must be logged in to post in the forum log in