For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 2 voices, and was last updated 20 years, 6 months ago by
Riyad Kalla.
-
AuthorPosts
-
vrohillaMemberHi.
I recently started setting up my existing J2EE App. in My Eclipse 4.1GA. I was using Eclipse with Lomboz for J2EE Development earlier.
I use to put my JSP’s, JS, Property files, Needed Jars etc..in custom folders then build the WAR file of the Application with my own Build file which compiles the files from all these folders and make a WAR file and deploy it in Weblogic 8.1 server itself. All this is done by my Ant build file.
How should I set up the application in My Eclipse so that I can deploy the WAR file in Weblogic Server. As when I put my build.xml file in WEB-INF folder and try to build the App. The WAR file is not getting deployed in Weblogic itself.
I understand My Eclipse provide its own way to set up Application Server with help of connectors.
Could you please tell do I need to change the layout of my folder structure & build file to deploy it to Weblogic server? I am confused please help
Thanks.
January 25, 2006 at 7:57 pm #245348
Riyad KallaMemberPlease have a look here: http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=51307#51307
January 26, 2006 at 10:28 am #245416
vrohillaMemberOk. Thanks a lot for the quick reply.
One quick question – Where should I put the properties files of the App. For ex- ApplicationResource.properties for struts or any other property file that is needed by Application. As the part of WAR file they need to reside in WEB-INF\classes folder as they get added in the classpath themselves by residing in WEB-INF/classes folder.
Thanks.
January 26, 2006 at 11:01 am #245423
Riyad KallaMemberOne quick question – Where should I put the properties files of the App. For ex- ApplicationResource.properties for struts or any other property file that is needed by Application. As the part of WAR file they need to reside in WEB-INF\classes folder as they get added in the classpath themselves by residing in WEB-INF/classes folder.
You will want to stick those in the root of your /src directory, they will get copied over during the build process to the root of your /classes directory.
January 26, 2006 at 3:45 pm #245463
vrohillaMemberI got you. Thanks for the quick information again. It worked.
I believe instead of using the standard process of My Eclipse for building the App. I can also build the app with help of my own build file and property file which could compile the WAR file at the targetting server itself? This would help me being independent on setting my Application on any Open source IDE. What is your opinion?
Thanks.
January 26, 2006 at 4:29 pm #245467
Riyad KallaMemberI believe instead of using the standard process of My Eclipse for building the App. I can also build the app with help of my own build file and property file which could compile the WAR file at the targetting server itself? This would help me being independent on setting my Application on any Open source IDE. What is your opinion?
Sure you can do this, and some folks have to if their projects are too customized in their layout. In that case just make sure you compile your source files with debugging turned on. Also you will need to read our remote debugging tutorial here: http://www.myeclipseide.com/images/tutorials/quickstarts/remotedebugging/
-
AuthorPosts
