- This topic has 6 replies, 3 voices, and was last updated 19 years ago by Scott Anderson.
-
AuthorPosts
-
KionCinecaMemberThis is my projects configuration:
EAR project relies on:
– Web Project
– EJB ProjectClicking on the EAR project and selecting “MyEclipse/New Module Manifest”, the following error occurs:
ENTRY com.genuitec.eclipse.ast.deploy.core 1 0 2005-11-06 12:40:37.504
!MESSAGE Error writing manifest at \kionsiadiweb\public_html\META-INF\MANIFEST.MF
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource /kionsiadiweb/public_html/META-INF/MANIFEST.MF does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:304)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:172)
at org.eclipse.core.internal.resources.File.setContents(File.java:368)
at org.eclipse.core.internal.resources.File.setContents(File.java:470)
at com.genuitec.eclipse.ast.deploy.core.ui.action.UpdateManifestsActionDelegate.runWithEvent(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:236)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!SUBENTRY 1 org.eclipse.core.resources 4 368 2005-11-06 12:40:37.504
!MESSAGE Resource /kionsiadiweb/public_html/META-INF/MANIFEST.MF does not exist.This is my configuration:
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_05*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.3 GA
Build id: 20051025-4.0.3-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.1
Build id: M20050929-0840Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Programmi\eclipse_3.1.1\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
334_60
-vm
C:\Programmi\Java\jdk1.5.0_05\bin\javaw.exe
Riyad KallaMemberWe had a bug with this before that should have been fixed in 4.0.1.
Can you try something, try doing File > Switch Workspace > C:\tempworkspace, hit OK.
1) Create a new EAR
2) Choose to create a new Web and EJB project, using defaults for everything si fine.
3) Now execute the new manifest menu item on the EAR… did it work?4) IF SO, go back to your old workspace, try the new EAR/Web/EJB thing there, did it work?
5) IF NOT, try and add -clean to your command line args, and restart MYEclipse with your existing workspace, now try again.
KionCinecaMember1) Create a new EAR
2) Choose to create a new Web and EJB project, using defaults for everything si fine.
3) Now execute the new manifest menu item on the EAR… did it work?Yes, it works.
4) IF SO, go back to your old workspace, try the new EAR/Web/EJB thing there, did it work?
It works.
My Web Project is different from a default project, because the web resources are not in “WebRoot”, but (as you can see from the error log) they are in “public_html”. I hope that this could help.
Thank you for your support.
Riyad KallaMemberDid you setup public_html as the name of your WebRoot dir? If you open up your Project Properties for the web project, and go to MyEclipse-Web, what is your Web-root folder set to? If it’s not set to public_html, it needs to be. You can change that by editing the .mymetadata file from your Navigator view.
KionCinecaMemberOf course, it is.
KionCinecaMemberOk, I’ve found the problem.
META-INF/MANIFEST.MF must already exist (I’ve crated an empty one).
If “META-INF/MANIFEST.MF” doesn’t exist in the Web Project, MyEcipse does not create it, but it complains with the error reported in my original message.
Scott AndersonParticipantGlad you found it. We’ve entered a bug report on it so we can fix it in the 4.1 build. Thanks for hanging in there while we figured out what was going on. We appreciate the help.
-
AuthorPosts