Skip to content

Commit 38dca7c

Browse files
committed
debian: Depend on libcommons-fileupload-java for AWS API
This JAR is also provided by a Ubuntu package and is the version we depend on with Maven. By adding this JAR to wscript_configure it is added to the classpath so the AWS API will be able to use it. Not having this will result in a conflict in a package conflict During build time we will build against the version fetched by Maven, but runtime we will use the one from the Ubuntu repository.
1 parent e2288ad commit 38dca7c

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

debian/cloud-awsapi.install

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
/usr/share/java/axis2-*.jar
2626
/usr/share/java/neethi*.jar
2727
/usr/share/java/CAStorSDK*.jar
28-
/usr/share/java/commons-fileupload*.jar
2928
/usr/share/java/json-simple*.jar
3029
/usr/share/java/axiom-*.jar
3130
/usr/share/java/antlr*.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)
123+
Depends: openjdk-6-jre, tomcat6, libcommons-lang-java, libjaxp1.3-java (>= 1.3), libdom4j-java (>= 1.6.1), libcommons-fileupload-java (>= 1.2)
124124
Description: CloudStack AWS API wrapper
125125
The CloudStack Amazon Webservices API wrapper

wscript_configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ systemjars = {
4747
"commons-logging-api.jar",
4848
"commons-pool.jar",
4949
"commons-httpclient.jar",
50+
"commons-fileupload.jar",
5051
"ws-commons-util.jar",
5152
"mysql-connector-java.jar",
5253
),

0 commit comments

Comments
 (0)