facebook

MyEclipse Build does not build class files for a web project

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #281751 Reply

    linkjr
    Member

    Hi Riyad,

    The only capability enabled in my is the web.

    what else do you need from there?

    #281815 Reply

    Riyad Kalla
    Member

    linkjr,
    Can you post or PM me a screenshot of the project properties from the MyEclipse > Web page, as well as your Java Build Path > Source page?

    Also do you have any build errors that are marked for your project?

    #281845 Reply

    linkjr
    Member

    Hi Riyad,

    How do you expect me to post you these screenshots?

    How do I post images here?
    Do I have to have them online somewhere?

    If so, I haven’t got any place to do it.

    [/img]

    #281876 Reply

    Riyad Kalla
    Member

    You can “PM” them to me by clicking the “PM” button under my post and attaching them. (PM means “private message”)

    #282077 Reply

    Sean Blaes
    Member

    This exact same problem. I’ve been pulling my hair out trying to work around it. I’ve tried redeploying more times than I can count.

    Here’s my installation summary. I’ll try to get shots of my project setup and pm them to you.

    *** Date:
    Friday, February 22, 2008 1:52:26 PM CST

    ** System properties:
    OS=MacOSX
    OS version=10.5.2
    Java version=1.5.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Platform

    Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
    Build id: M20071023-1652

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: I20070625-1500

    Eclipse Project SDK

    Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
    Build id: M20071023-1652

    Eclipse RCP

    Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
    Build id: M20071023-1652

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -arch
    x86
    -showsplash
    -launcher
    /Applications/myeclipse/Eclipse.app/Contents/MacOS/eclipse
    -name
    Eclipse
    –launcher.library
    /Applications/myeclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.2.R331_v20071019/eclipse_1021.so
    -startup
    /Applications/myeclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -keyring
    /Users/sblaes/.eclipse_keyring
    -consoleLog
    -showlocation
    -product
    com.genuitec.myeclipse.product.ide
    -vm
    /System/Library/Frameworks/JavaVM.framework

    #282150 Reply

    Riyad Kalla
    Member

    Thank you for the screenshots, I saw exactly what the problem was.

    It *looks* like you are using a Maven-esque project layout, which means your output dir is not under your <WebRoot>\WEB-INF\classes directory, so MyEclipse cannot deploy it. We also don’t support Maven, so if you have your Web Root, WEB-INF and Output directories all spread out which I think is normal for Maven, MyEclipse cannot deploy that structure.

    Our supported project format is here:
    http://www.myeclipseide.com/PNphpBB2-viewtopic-t-11099.html

    The quick fix is to change your output dir to be under your /src/main/webapp/WEB-INF/classes directory.

    #282157 Reply

    Sean Blaes
    Member

    I’ll try that out. As are may others, I’m looking forward to Maven integration in MyEclipse. The existing eclipse plugin is not that great, I’d love to see you guys improve upon it.

    #287193 Reply

    Trick_SLO
    Member

    Hey, I have to bring this topic out of the dust 🙂

    I am having the same problems. Just from nothing they started. I am developing a Struts (1) web application and I have the SVN plugin. The same version once deployed files in classes folder, and now it is not anymore! It does not deploy in WAR files, internal myEclipse Tomcat and external deployment.

    In the same workspace I have some other applications, but they all work fine.

    My version of myEclipse is 6.0.1.

    In my friends workspace the same project in the same version of myEclipse works fine!

    #287226 Reply

    Riyad Kalla
    Member

    Trick,
    Pop open your project properties for the troubled web project, and go to MyEclipse > Web and make sure the two text fields have valid Web Root and Context Root directories set.

    Then go to the Java Build Path properties node and click the “Source” tab. Now double-check that your source directory or directories are setup correctly and that your output dir is set to the correct WEB-INF/classes output dir (you can use Browse to re-select it if it’s blank).

    Now go to Project menu, and select Clean. Make sure the project rebuilds completely without errors.

    If you have errors, double-check them, they might be invalid library or project references, which will stop project building dead in it’s tracks.

    #299358 Reply

    tphiep
    Member

    @support-nipun wrote:

    Try and restart using -clean and see if that helps. On Mac, you will have to select the Eclipse executable and do “Show Contents” then edit the eclipse.ini file in there and add it at the top line.

    Also, remove the deployment, clean your project and re-create the deployment. If it’s still not working, clean the <workspace>/.metadata/.log file and retry it and see if an exception is getting reported.

    Actually, it works!!!
    Thank a lot

    #299475 Reply

    support-joy
    Member

    Good to hear that you are all set.

Viewing 11 posts - 16 through 26 (of 26 total)
Reply To: MyEclipse Build does not build class files for a web project

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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