Skip to content

Commit c446c45

Browse files
committed
debian: Depend on antlr from the Ubuntu repositories for AWS API
The antlr JAR files conflict with the Ubuntu packages for this JAR files. Maven depends on this as well, so when you try to install cloud-awsapi on a system with Maven installed, you get: (Reading database ... 68888 files and directories currently installed.) Unpacking cloud-awsapi (from cloud-awsapi_4.0.0-incubating_amd64.deb) ... dpkg: error processing cloud-awsapi_4.0.0-incubating_amd64.deb (--install): trying to overwrite '/usr/share/java/antlr-2.7.7.jar', which is also in package libantlr-java 2.7.7+dfsg-3 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: cloud-awsapi_4.0.0-incubating_amd64.deb antlr-2.7.7.jar is in classpath.conf, so we can depend on this package and it will be loaded for AWS API
1 parent 38dca7c commit c446c45

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

debian/cloud-awsapi.install

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/usr/share/java/CAStorSDK*.jar
2828
/usr/share/java/json-simple*.jar
2929
/usr/share/java/axiom-*.jar
30-
/usr/share/java/antlr*.jar
3130
/usr/share/java/XmlSchema-*.jar
3231
/usr/share/java/woden*.jar
3332
/usr/share/java/xercesImpl*.jar

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ Description: CloudStack commandline tool
120120
Package: cloud-awsapi
121121
Provides: cloud-awsapi
122122
Architecture: any
123-
Depends: openjdk-6-jre, tomcat6, libcommons-lang-java, libjaxp1.3-java (>= 1.3), libdom4j-java (>= 1.6.1), libcommons-fileupload-java (>= 1.2)
123+
Depends: openjdk-6-jre, tomcat6, libcommons-lang-java, libjaxp1.3-java (>= 1.3), libdom4j-java (>= 1.6.1), libcommons-fileupload-java (>= 1.2), libantlr-java (>= 2.7.7)
124124
Description: CloudStack AWS API wrapper
125125
The CloudStack Amazon Webservices API wrapper

0 commit comments

Comments
 (0)