Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
KionCineca
Post subject: [Closed] New Module Manifest Error  PostPosted: Nov 06, 2005 - 11:55 AM
Registered Member
Registered Member


Joined: Oct 26, 2005
Posts: 8

This is my projects configuration:

EAR project relies on:

- Web Project
- EJB Project

Clicking 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 Workbench

Version: 4.0.3 GA
Build id: 20051025-4.0.3-GA

*** Eclipse details:
Eclipse SDK

Version: 3.1.1
Build id: M20050929-0840

Eclipse Platform

Version: 3.1.1
Build id: M20050929-0840

Eclipse RCP

Version: 3.1.1
Build id: M20050929-0840

Eclipse Java Development Tools

Version: 3.1.1
Build id: M20050929-0840

Eclipse Plug-in Development Environment

Version: 3.1.1
Build id: M20050929-0840

Eclipse Project SDK

Version: 3.1.1
Build id: M20050929-0840

Eclipse 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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 08, 2005 - 02:43 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23881

We 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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
KionCineca
Post subject:   PostPosted: Nov 09, 2005 - 07:59 PM
Registered Member
Registered Member


Joined: Oct 26, 2005
Posts: 8

Quote:

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?


Yes, it works.

Quote:

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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 09, 2005 - 08:08 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23881

Did 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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
KionCineca
Post subject:   PostPosted: Nov 09, 2005 - 10:06 PM
Registered Member
Registered Member


Joined: Oct 26, 2005
Posts: 8

Of course, it is.
 
 View user's profile Send private message  
Reply with quote Back to top
KionCineca
3 Post subject:   PostPosted: Nov 09, 2005 - 10:23 PM
Registered Member
Registered Member


Joined: Oct 26, 2005
Posts: 8

Ok, 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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Nov 10, 2005 - 12:11 AM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6697

Glad 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.

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits