- This topic has 6 replies, 2 voices, and was last updated 20 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
kivusMemberI’m trying to deploy a web application, however, my class files (or even java files) are not being deployed at all. These files are all within the source root
(A) /webfiles <= WebRoot
(B) /webfile /WEB-INF
(C) /webfiles /WEB-INF/classes <= SRC RootThings under A and B are copied, but things under C are not copied. (Directories are not made either).
Now, I did used to have linked folder under this project where stuff was deploying from, however, I moved that folder to be physically under the SRC root…also, I’ve re-created this project / physical directory structure at least 20 times trying to make sure the old structure didn’t effect anything….
Oh, and if I use a packaged deployment…my class files and java files are both in the packaged deployment…
What operating system and version are you running?
XP
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.0
Build id: 200406251208– Was Eclipse freshly installed for MyEclipse?
yep
– If not, was it upgraded to its current version using the update manager?
– Are any other external plugins installed?
nope
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
2
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.8.0
What JDK version are you using to run Eclipse? (java -version)
1.5 Beta 2
What JDK version are you using to launch your application server?
1.4.1_3
What steps did you take that resulted in the issue?
Above
What application server are you using?
WLS 8.1
Are there any errors in the Eclipse log? (<workspace>/.metadata/.log)
No
Riyad KallaMemberKivus,
I will file this ASAP and see if we fixed it already.
Riyad KallaMemberMoved to bugs
kivusMemberCool. Thanks Riyad.
For more information, I tried creating another fresh project and the same problem occured…It looks like when you do a packaged deployment, the first step that ME does is go through your SRC directory (according to the progress messages in the deployment window) while on the exploded structure it never goes through the SRC directory.
Riyad KallaMemberkivus,
We tried this internally with the new build as well as GA and we weren’t able to reproduce it. What is your project setup? Is your src dir also your output dir? Do you have your output dir setup correctly? Are your src/output dirs separate? Are they setup correctly?
kivusMemberI have 3 projects all set up the same way, 2 I configured using ME 3.8 GA and 1 I configured using a previous ME release a while back…the 2 I configured using 3.8 do not have anything under the “SRC” directory deployed in an exploded format. All the projects are setup in the following manner:
/root
/root/webapp/app/ <= Webroot
/root/webapp/app/WEB-INF/classes <=SRC
output == /root/webapp/app/WEB-INF/classes (same as SRC)Nothing under the SRC directory is getting deployed in the projects I setup in 3.8. The project from a previous release (I’m unsure which one) does have stuff from the SRC directory.
Since my EJB projects deployed with their output files and since you mentioned the whole “SRC as output” thing, I decided to test the following structure as well:
/root
/root/webapp/app/ <= Webroot
/root/src <= SRC
output == /root/webapp/app/WEB-INF/classesUsing this structure, my output directory deployed correctly.
I’ll update my environment construction script to have my environments setup like scenario 2 above. If you’re intrigued you can keep investigating, but I’ve got a work around, so I guess you can file this under user error 😉
Riyad KallaMemberHmm yes I don’t think we accounted for the situation where src == output dir, I will check with the team on this, but your new structure is probably the better way to layout the project anyway.
-
AuthorPosts