Export a TIBCO BusinessEvents project as BE Projlib fails the error message"java.util.zip.ZipException: duplicate entry.

Export a TIBCO BusinessEvents project as BE Projlib fails the error message"java.util.zip.ZipException: duplicate entry.

book

Article ID: KB0092948

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
Exporting a BE project as project library fails with error  "Failed- Error logged from com.tibco.cep.studio.ui Plugin: java.util.zip.ZipException: duplicate entry: .metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml." 

Symptoms:
The other failure you can get is "java.util.zip.ZipException: duplicate entry: defaultVars/defaultVars.substvar".  If the project directory does not contain the .metadata folder you get this error.  Otherwise you get the error in the 'Description.

Cause:
The cause of the problem is exporting a project lib where the project already references a project lib.

Issue/Introduction

Export a TIBCO BusinessEvents project as BE Projlib fails the error message"java.util.zip.ZipException: duplicate entry.

Resolution

Expand the items to be exported and then uncheck the already included project lib. You will be warned that there are dependencies on the exclude project lib but the export will work. You will then have to include both project libs to use the new project lib.

See the attached screen shot (Filename: UnCheckedProjectLib.png).

Attachments

Export a TIBCO BusinessEvents project as BE Projlib fails the error message"java.util.zip.ZipException: duplicate entry. get_app