Plugins (1059)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 541
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Guest
Post subject: Export to WAR File sets in project properties  PostPosted: Jun 02, 2006 - 11:48 AM






I'm running Eclipse WTP 3.1


When I attempt to export of my web app from the Tomcat Project in the right click context menu I get this error:

Operation Failed
ZIP File must have at least one entrySee <workspace>/.metadata/.log file




I don't have such a file in my metadata...is this the real error? I've poked around all the sites that mention using sysdeo and export WAR files, but I've not come across anyone mentioning this error? Any hints would be helpful!

Thanks
 
   
Reply with quote Back to top
Guest
Post subject: RE: Export to WAR File sets in project properties  PostPosted: Jun 16, 2006 - 09:49 PM






This file (.log) nearly definitely exists in your eclipse' workspace directory (not in your app's directory - I assume you've searched there).

What the message (ZIP File must ...) really means seems to keep to be a mystery ...
 
   
Reply with quote Back to top
snake068
Post subject: RE: Export to WAR File sets in project properties  PostPosted: Oct 02, 2006 - 08:29 AM



Joined: Oct 02, 2006
Posts: 2

I am getting the same error. I notice that the WAR file does get created however it is an empty file with no files in it. That seems to be what the error message is referring to but can't figure out what the underlying cause is for why there are no files put in the WAR file. Any help would be greatly appreciated.
 
 View user's profile Send private message  
Reply with quote Back to top
snake068
Post subject: RE: Export to WAR File sets in project properties  PostPosted: Oct 02, 2006 - 08:32 AM



Joined: Oct 02, 2006
Posts: 2

the .log file is not much of a help either all it says is:

!SESSION 2006-10-02 11:34:12.489 -----------------------------------------------
eclipse.buildId=M20060118-1600
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY com.sysdeo.eclipse.tomcat 4 4 2006-10-02 11:35:21.692
!MESSAGE java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(Unknown Source)
at java.util.zip.DeflaterOutputStream.close(Unknown Source)
at java.util.zip.ZipOutputStream.close(Unknown Source)
at com.sysdeo.eclipse.tomcat.Zipper.zip(Zipper.java:43)
at com.sysdeo.eclipse.tomcat.TomcatProject.exportToWar(TomcatProject.java:1205)
at com.sysdeo.eclipse.tomcat.actions.ExportToWarActionDelegate.doActionOn(ExportToWarActionDelegate.java:16)
at com.sysdeo.eclipse.tomcat.actions.TomcatProjectAbstractActionDelegate.run(TomcatProjectAbstractActionDelegate.java:4Cool
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
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:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
 
 View user's profile Send private message  
Reply with quote Back to top
Bruno
Post subject: RE: Export to WAR File sets in project properties  PostPosted: Oct 02, 2006 - 04:20 PM



Joined: Sep 25, 2006
Posts: 3

snake068, thank you to send a bug report to plugintomcat@sysdeo.fr, your Tomcat project content may help.
 
 View user's profile Send private message  
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