Faile to build opennms-1.7.6-1

1 message Options
Embed this post
Permalink
Khanh C. Le

Faile to build opennms-1.7.6-1

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hi,

I’ve got a latest source code of opennms-1.7.6-1 and try to build it by running command “build.bat install”

 

The build failed during building opennms-webapp with following message:

 

[INFO] [groovy:execute {execution: generate-key}]

[INFO] [resources:resources {execution: default-resources}]

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 1 resource

[INFO] [webstart:jnlp-download-servlet {execution: default}]

[INFO] No resources found in C:\opennms-1.7.6-1\source\opennms-webapp\src\main\j

nlp\resources

[INFO] jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entr

y: META-INF/opennms/applicationContext-ws-gui.xml

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Result of cmd.exe /X /C '""D:\Program Files\Java\jdk1.6.0_15\jre\..\bin\j

arsigner.exe" -keystore C:\******-1.7.6-1\source\******-webapp\target/build-gene

rated-keystore.ks -storepass ****** -keypass ****** -signedjar C:\******-1.7.6-1

\source\******-webapp\target\jnlp\org.******.features.remote-poller-1.7.6-jar-wi

th-dependencies.jar C:\******-1.7.6-1\source\******-webapp\target\jnlp\unprocess

ed_org.******.features.remote-poller-1.7.6-jar-with-dependencies.jar ******-webs

tart-key"' execution is: '1'.

 

I checked the output in …\opennms-webapp\target\jnlp. There are 2 jar files in this folder:

 

org.opennms.features.remote-poller-1.7.6-jar-with-dependencies.jar

unprocessed_org.opennms.features.remote-poller-1.7.6-jar-with-dependencies.jar

 

Decompress unprocessed_org.opennms.features.remote-poller-1.7.6-jar-with-dependencies.jar, I have found that there are 2 file META-INF/opennms/applicationContext-ws-gui.xml

 

I also found that in unprocessed_org.opennms.features.remote-poller-1.7.6-jar-with-dependencies.jar, at org\opennms\groovy\poller\remote, there are duplicate of classes of GroovyPollerView

 

I belive this cause the problem, but don’t know how to fix. Could someone help me to fix this issue?

 

Thanks in advances

-Khanh

 

 

 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel