- This topic has 5 replies, 3 voices, and was last updated 21 years, 3 months ago by Scott Anderson.
-
AuthorPosts
-
ashok pappuMemberhi
my project is structured as follows /dev/
/jars/some.jar
/src/
/com/company/package1
/com/company/package2
/webapps/folder/some.jsp
/web-inf/web.xml
now how do i set up my project so that i can compile JSP’s ,java files and deploy EJB to weblogic6.1. Also since I work on package1(containing EJB’s and other java classes)I would to filter out the package 2 (containing ejb and other javafiles)
how do i filter them out
thanks
ashok pappu
support-michaelKeymasterYou need to establish an enterprise application project that contains a web module project and an ejb module project. The simplest approach is to create the projects and physically copy the code into their respective projects. If that is not an option create the projects and then from the respective project build-path properties configure each project’s source folder to reference the appropriate src directories on your system. The web project is setup as an exploded WAR file structure under the it web-root folder. So place all war libs in the <web-root>/WEB-INF/lib directory.
I hope this helps.
Michael
MyEclipse Support
ashok pappuMemberMichael
How do I filter out the packages so that they don’t compile. is there an option to filter the packages.
Also I was trying to Debug javaApplication (one which i run from command line)
when I started to Debug the Application It gave message like Connecting to localhost:port but did not stop at break point. when i looked at task manager there were multiple javaw.exe running
can you please helphere is the log .
!SESSION Sep 30, 2003 17:05:22.590 ———————————————
java.version=1.3.1_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/eclipse/
!ENTRY org.vssplugin 1 0 Sep 30, 2003 17:05:22.590
!MESSAGE Using jawin library D:/eclipse/plugins/org.vssplugin_1.5.0/lib/jawin.dll
!SESSION Sep 30, 2003 17:57:16.894 ———————————————
java.version=1.3.1_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/eclipse/
!ENTRY org.vssplugin 1 0 Sep 30, 2003 17:57:16.894
!MESSAGE Using jawin library D:/eclipse/plugins/org.vssplugin_1.5.0/lib/jawin.dll
!SESSION Oct 01, 2003 09:24:34.920 ———————————————
java.version=1.3.1_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/eclipse/
!ENTRY com.objectlearn.jdt.j2ee 1 0 Oct 01, 2003 09:24:34.920
!MESSAGE Creating server definition manager[D:/eclipse/plugins/com.objectlearn.jdt.j2ee/]
!SESSION Oct 01, 2003 11:14:32.527 ———————————————Thanks
Ashok pappu
support-michaelKeymasterHow do I filter out the packages so that they don’t compile. is there an option to filter the packages.
MyEclipse Web and EJB projects are extended Java projects. Thus, any *.java file that resides under a source folder will be compiled when a build is performed. The only way to prevent this is to exclude these files on the project’s build-path properties. Consult Eclipse help for the process.
Also I was trying to Debug javaApplication (one which i run from command line)
when I started to Debug the Application It gave message like Connecting to localhost:port but did not stop at break point. when i looked at task manager there were multiple javaw.exe runningI’m not exactly clear on what your doing here but yes you will observe a VM per launched program in the debugger. For example if you launch a configured appserver from MyEclipse the debugger will include the VM and its threads.
Michael
MyEclipse Support
ashok pappuMemberMichael
What I mean is I have a Batch Job which runs from command line
I am trying to debug the batch job from myeclipse. I am have the following problemI set line breaks in code to debug . when i start to debug with eclipse it gives message like “trying to connect to port” and then nothing happens. Meaning it does not start the application in debug mode so that i can step through. It simply starts the javaw.exe in the background and returns to the editor. simply putting it the Debug is not working .
hope you can help
Thanks
Ashok pappu
Scott AndersonParticipantAshok,
If you’re not using Eclipse to launch the process, either through MyEclipse or the standard Eclipse launchers, Eclipse won’t automatically connect to it. It seems like you’re trying to connect manually to the remove JVM and are experiencing trouble. This is really outside the scope of our product but such a connection is supported by Eclipse itself. Details on how to set up remote debugging in Eclipse is available here:
http://download2.eclipse.org/downloads/documentation/2.0/html/plugins/org.eclipse.jdt.doc.user/concepts/concepts-10.htm–Scott
MyEclipse Support -
AuthorPosts