java


Exporting a runnable jar from big eclipse Java project with JIBX too, works in Eclipse but cant figure out how to export it


I am working with a large Java web service-communicating project with many dependencies to C++ Libraries and which uses a tool I am not too familiar with called JIBX. Due to some updates at the outside web service, I recently had to upgrade the DLL's they provided containing C++ libraries with new ones.
It is a minor upgrade which thankfully does not require me to change the Java. After replacing those DLL's and re running a batch file the original programmer created which compiles the JIBX portion of the code, and "building" the project, I can get everything working within Eclipse, as in, it works 100 percent, and sends data to the web service, receives, everything. However, I cannot seem to export a working runnable jar file.
I suspect this may be because either I have inorrectly configured the export for the dependencies to the DLL's or because I missed something about how to properly export the project when it contains this separately compiling JIBX stuff (I don't really know how JIBX works aside from that it seems to act beautifully as a middle man between XML and Java structures, and binding.xml, and build.xml seem to be important?).
Can anyone with experience on a similar project advise me on how to export this project? Even though it is working when I run it in Eclipse, I can't very well install Eclipse at every User's station at work and expect them to run the whole project from the program environment would be too unsafe!
--Update 1---
anyway trying to export a runnable jar results in a bunch of warnings, but completes:
JAR export finished with warnings. See details for additional information.
Could not read JAR file 'kbbl.log.1'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api.h'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'mfc80.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'Access-violation.txt'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'JNative.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'jniwrap.lic'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'libeay32.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api_errorcodes.h'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'msvcp80.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbbl.log.3'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbbl.log.2'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'Copy of .classpath'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'msvcr80.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'mfcm80.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'export-tool.xml'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbbl.log.5'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'jniwrap.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb-XalanMessages_1_10.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbbl.log'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbbl.log.4'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Exported with compile warnings: Generator/src/com/house/ind/ITA/ElecFactory.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/SwingJNIWrapper.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dao/GenericDaoHibernateImpl.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dao/GenericDAO.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/TestDLL.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/FileTest.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/ProgressFrame.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/TestNative.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/JNIWraptest.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/DaoTest.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/ITAReplaceTest.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/SureTest.java
Exported with compile warnings: Generator/src/com/house/ind/ITA/dev/HCTest.java
Could not read JAR file 'kbapiTypemaps.i'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_boost_thread_lib.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbap_back_compat.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'Microsoft.VC80.CRT.manifest'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Problem writing Generator/src/log4j.properties to JAR: duplicate entry: log4j.properties
duplicate entry: log4j.properties
Problem writing Generator/src/com/house/ind/ITA/dao/Party.hbm.xml to JAR: duplicate entry: com/house/ind/ITA/dao/Party.hbm.xml
duplicate entry: com/house/ind/ITA/dao/Party.hbm.xml
Could not read JAR file 'libcurl.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbap_back_compat.pdb'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb-xerces-c_2_7.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api.lib'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api_types.h'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'mfc80u.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'working .classpath'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb-Xalan-C_1_10.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbap_back_compat.ilk'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'binding.xml.no'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'ssleay32.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'msvcm80.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api_kbig.i'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'myModel2.clay'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'codeGenPragmas.i'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb-XalanMessages_1_11.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbApiLink.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb-xerces-c_3_1.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb-Xalan-C_1_11.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api_kbig.c'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'Microsoft.VC80.MFC.manifest'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'callbackHandlers.i'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kbbl.log.old'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api_constants.h'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'GeneratorSync.bat'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'build.xml'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'kb_api.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
Could not read JAR file 'mfcm80u.dll'. Reason: error in opening zip file
error in opening zip file
error in opening zip file
after that the exported jar file is actually running, but fails at a part where it is supposed to generate valid xmls to send to the web service. (see update 2)
--update 2 --
At the spot where it the runnable jar fails, built in log in the program console says something like... "Unable to access binding information for class Foo"
So basically I guess since xml binding information is handled by the JiBX this looks like a problem with the compile and export of JiBX associated files... how do I avoid that?
Would be happy to provide some code snippets if you think I need more info.
Thanks!

Related Links

In a web application,does a method of a class that converts a Bean to an DTO are synchronized or should I create an instance of this class?
How to declare Android dependency on a file found on grepcode.com/android.googlesource.com
video4linux2 equivalent in windows?
Unknown lifecycle phase “spring-boot”
Numeric Prediction (One Day Ahead) using Java Weka API
Wildfly 10.0.0.Final does deploy, but only the ear and not content (.war -files)
Why does my Interceptor Fail in a Weld SE unit test?
Maven compilation error when update counter with criteria
Audio recorder error, when screen rotate
o.s.s.o.provider.endpoint.TokenEndpoint : “Handling error: IllegalStateException, This object has not been built”
Android Studio - use modules to generate multiple branded apks
Change SOAPBinding style from RPC to DOCUMENT
android studio understand error
Parse in Java accessible in Java
Apache POI reading xlsx inputstream issue
Calculate the CPU time of a Java method

Categories

HOME
openlayers
wso2
proxy
amazon-ec2
view
getelementsbytagname
blueprintjs
append
esper
ssl-client-authentication
tomcat6
fancybox-3
wheelnav.js
quicklook
modx-revolution
zebra-printers
carthage
finite-automata
reactive-cocoa
jqwidget
alpine
dbext
emulator
plunker
excel-2007
jndi
hammerspoon
pepper
spark-jobserver
publish
quote
bpel
galsim
exuberant-ctags
oracle-fusion-middleware
jspresso
textmate
azure-sql-database
mozilla
geopositioning
catalog
restlet
starteam
particles.js
galen
ruby-on-rails-3.1
http-live-streaming
outlook-api
import-from-excel
flickr-api
worksheet
return-value
lowpass-filter
akka-cluster
capacity
epson
query-performance
passport-google-oauth
azure-sdk
radtreelist
transmitfile
storekit
gridview-sorting
gstreamer-0.10
multiple-regression
qcustomplot
yaws
retina
pundit
method-parameters
apache-commons-fileupload
sniffer
p2
skos
e10s
dia
block-device
camanjs
tablelayout
asp.net-dynamic-data
navigationservice
typo3-neos
viadeo
shellexecute
android-screen-support
anonymous-methods
pvrtc
sublist
nsnetservice
first-responder
venn-diagram
propertyeditor
uiviewanimation-curve
semantic-diff
whoosh
window-management
stage
invite
calling-convention
sql-server-profiler
cxxtest
substrings
data-driven
uimenucontroller
sustainable-pace
zend-decorators
rtml
ajax-forms

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App