- This topic has 7 replies, 4 voices, and was last updated 14 years, 8 months ago by psikchu.
-
AuthorPosts
-
Anil GothalMemberHi,
We have two Projects one Java Project (Utils) and another is Web Project. (webapp)
Utils Project holds struts.jar and standard.jar and are exported. Web Project is referencing Utils project. When WAR is built, all dependent projects are JARed and all lib are exported to WEB-INF/libAll earlier versions of MyEclipse was working fine, but ever since we have upgraded to MyEclipse 8.5, when we deploy to local development or build WAR file, it complains about struts taglibs not found which is located within struts/META-INF, and same thing happens for standard.jar/META-INF.
Also, when user was using MyEclipse 8.0, and wanted to install on regular eclipse plugin, pulse forcibly started MyEclipse 8.5 installation process and corrupting existing environment.
Please lets us know the solution to issues.
Thank you,
Anil Gothal
support-shaliniMemberAnil,
Sorry that you are running into these issues.
For the first issue,
1. what are the deployment preferences you have under Window > Preferences > MyEclipse > Java Enterprise Project > Web Project > Deployment tab. Did you select “Use Smart Deployment” and “Jars exported from Dependent Java Projects”? Can you send us a screen shot of the same?
2. Can you clarify if there are any project specific settings enabled for deployment policies under project > Properties > MyEclipse > Web > Deployment.
3. What is the mode of deployment that you are using packaged or exploded mode?
For the second issue,
1. Can you give us the details of the plugin you are trying to install? Can you clarify that the plugin is compatible with Eclipse 3.5.1 which is the base eclipse for MyEclipse 8.0?
2. Are there any errors logged in the log file located at workspace dir > .metadata > .log?
3. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
Anil GothalMemberShalini,
Thank you for response, We do have setting “Smart Deployment” with Notice “Smart Deployment –
Jar referenced Java projects for packaged deployments.
Merge into the ‘classes’ directory for exploded deployments”Firstly, everything was working fine till version 8.0 for packaged as well as exploded deployment.
The fix i had to make was, to have web project reference struts.jar and export and set java project to export false.
About, plugin installation: FileSync which is based on eclipse 3.3-3.5 and i believe MyEclipse 8.0 was based on eclipse 3.5, and installation started was 8.5. I will send installation you the log file asap.
Thanks,
Anil Gothal@support-shalini wrote:
Anil,
Sorry that you are running into these issues.
For the first issue,
1. what are the deployment preferences you have under Window > Preferences > MyEclipse > Java Enterprise Project > Web Project > Deployment tab. Did you select “Use Smart Deployment” and “Jars exported from Dependent Java Projects”? Can you send us a screen shot of the same?
2. Can you clarify if there are any project specific settings enabled for deployment policies under project > Properties > MyEclipse > Web > Deployment.
3. What is the mode of deployment that you are using packaged or exploded mode?
For the second issue,
1. Can you give us the details of the plugin you are trying to install? Can you clarify that the plugin is compatible with Eclipse 3.5.1 which is the base eclipse for MyEclipse 8.0?
2. Are there any errors logged in the log file located at workspace dir > .metadata > .log?
3. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
psikchuMemberProblem we are having is that when you try to install any plug-in using pulse, it is forcing you to upgrade to MyEclipse 8.5. Option to select to upgrade to 8.5 is checked and disabled and we are not able to find a way to deselect it.
We are currently using version 8.0
@support-shalini wrote:
1. Can you give us the details of the plugin you are trying to install? Can you clarify that the plugin is compatible with Eclipse 3.5.1 which is the base eclipse for MyEclipse 8.0?
2. Are there any errors logged in the log file located at workspace dir > .metadata > .log?
3. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
support-shaliniMemberAnil,
I have raised a PR with the dev team for the first issue.As for the pulse behavior, it is expected. You can upgrade to MyEclipse 8.5
Brian FernandesModeratorAnil,
Sorry about the issue with the forced update, we are making sure something like this does not happen in the future.As far as the deployment issues are concerned, I tried your test in MyEclipse 8.5 and the libraries in the Util project were deployed to the WEB-INF/lib folder. In your case, were the libraries *not* deployed to WEB-INF/lib? Or they were deployed and you still saw errors? We have not changed much in this department and I do not know why something here would work in 7.5 but not in 8 or 8.5
it complains about struts taglibs not found which is located within struts/META-INF, and same thing happens for standard.jar/META-INF.
Do you want these JARs in META-INF or they are being placed in META-INF and you want them elsewhere?
As far as dependencies and TLDs are concerned, the TLD is typically placed in the WEB-INF folder of the web project (this is when you add Struts capabilities to your project – not in META-INF) and your Web project is the one that would depend on Struts as it is not a “Util” JAR.
Anil GothalMemberBrian,
Thank you for response.
About utils project does export the required struts and standard.jars into exploded or packaged archive. But when tomcat is started within eclipse or standalone it some-how does not locate taglibs for struts and standard. The work-around currently we have is to have both project include those jars but web project is the one exports to deployment.
Little about Utils project, we have multiple web projects dedicated to several customers and we have developed additional framework extending struts various actions, classes, and custom taglibs to support all our web projects.
Finally, is there any deployment related log file kept some where in myeclipse structure?
Thanks,
Anil Gothal@Support-Brian wrote:
Anil,
Sorry about the issue with the forced update, we are making sure something like this does not happen in the future.As far as the deployment issues are concerned, I tried your test in MyEclipse 8.5 and the libraries in the Util project were deployed to the WEB-INF/lib folder. In your case, were the libraries *not* deployed to WEB-INF/lib? Or they were deployed and you still saw errors? We have not changed much in this department and I do not know why something here would work in 7.5 but not in 8 or 8.5
it complains about struts taglibs not found which is located within struts/META-INF, and same thing happens for standard.jar/META-INF.
Do you want these JARs in META-INF or they are being placed in META-INF and you want them elsewhere?
As far as dependencies and TLDs are concerned, the TLD is typically placed in the WEB-INF folder of the web project (this is when you add Struts capabilities to your project – not in META-INF) and your Web project is the one that would depend on Struts as it is not a “Util” JAR.
psikchuMember@Support-Brian wrote:
Anil,
Sorry about the issue with the forced update, we are making sure something like this does not happen in the future.Thanks for the reply on this issue Brian.
When can we expect the change on Pulse to bypass MyEclipse upgrade? -
AuthorPosts