facebook

applets in web modules / web-root folder display [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    mrzott
    Member

    1. Applets in a web module must be placed outside the WEB-INF-folder. MyEclipse by default puts all classes created out of the source folder to WEB-INF/classes. How can I change this in general and in this special case.

    2. It would be nice, if the web-root folder would reflect the complete structure and content of the web-archive deployed. In the (few) test projects I created so far, there was no classes folder displayed under the web-root-folder and the lib folder was empty in contrast to the war. Instead several build and config files are placed under the web-root-folder, which I think should be displayed at some other place.

    thanks
    mrzott

    PS:
    projects environment:
    os: windows XP home edition inc. servicePack2
    eclipse: Version: 3.1.0, Build id: I20050627-1435.
    myEclipse: Version: 4.0 Milestone 2, Build Id:20050627-4.0-Milestone-2.

    #234643

    Riyad Kalla
    Member

    mrzott,
    The structure of the WAR file (and our projects) are well defined by the web spec, these aren’t random choices we made.

    The problem here is that you are mixing the code of a client-based application in with the structure and code of a web-based application. I would instead suggest that you make your applet a completely separate Java Project, that you can JAR up and place into a publically accessible directory of your bigger web project.

    MyWebProject
    MyApplet -> MyApplet.jar -> MyWebProject/applets/MyApplet.jar

    There isn’t automated support in MyEclipse for applets so the JAR’ing and placement will need to be manual, or done with an Ant script.

    #234761

    mrzott
    Member

    support-rkalla,
    thanks for your suggestions! Seems suitable. Sorry for the bad description, but unspecified random folder display was not what I was going for.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: applets in web modules / web-root folder display [Closed]

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