diff options
author | Henri Sara <hesara@vaadin.com> | 2012-07-03 10:36:14 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2012-07-03 10:36:14 +0300 |
commit | 416bd2036409a525f7507780b7b269da020b027f (patch) | |
tree | e08ee0e316d160f91933c863a6fe56873fb22272 /build | |
parent | 7906b675fe8ece493229a54605d60a70d91737ab (diff) | |
download | vaadin-framework-416bd2036409a525f7507780b7b269da020b027f.tar.gz vaadin-framework-416bd2036409a525f7507780b7b269da020b027f.zip |
Update Ivy configuration and build script for integrated GWT.
For ease of development, GWT "trunk" and "tools" are assumed to be
checked out in a directory parallel to the project directory. Otherwise,
the variable gwt.root can be used to give the location of trunk.
Add Ivy dependencies for servlet API and libraries needed to compile
tests (Jetty, Apache Commons) - these were previously used from GWT
JARs.
Diffstat (limited to 'build')
-rw-r--r-- | build/build.xml | 3 | ||||
-rw-r--r-- | build/ivy/ivy.xml | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml index 6b3a046616..85bee09a52 100644 --- a/build/build.xml +++ b/build/build.xml @@ -35,6 +35,9 @@ <fileset dir="build" includes="lib/**/*.jar" ></fileset> </path> + <!-- Default location for GWT check-out: trunk and tools in a directory next to Vaadin project --> + <property name="gwt.root" value="${basedir}/../trunk"/> + <property name="gwt.build.dir" value="${gwt.root}/build"/> <property name="gwt.tools" value="${gwt.root}/../tools"/> <property name="gwt.tools.lib" value="${gwt.tools}/lib"/> diff --git a/build/ivy/ivy.xml b/build/ivy/ivy.xml index 6b569d1248..fb94277434 100644 --- a/build/ivy/ivy.xml +++ b/build/ivy/ivy.xml @@ -12,6 +12,9 @@ <publications /> <dependencies defaultconf="ss.compile" defaultconfmapping="ss.compile->master"> + <!--Servlet API version 2.5 --> + <dependency org="javax.servlet" name="servlet-api" rev="2.5" /> + <!-- Liferay Portal Service --> <dependency org="com.liferay.portal" name="portal-service" rev="6.0.2" /> <!--Portlet API version 2.0 (JSR-286) --> @@ -26,7 +29,14 @@ <dependency org="junit" name="junit" rev="4.5" conf="ss.test.compile -> master"/> <dependency org="org.easymock" name="easymock" rev="3.0" conf="ss.test.compile -> master, runtime(*)"/> <dependency org="org.hsqldb" name="hsqldb" rev="2.2.6" conf="ss.test.compile -> master, runtime(*)"/> - + + <!-- Additional libraries used by tests - also included from GWT --> + <dependency org="org.mortbay.jetty" name="jetty" rev="6.1.26" conf="ss.test.compile -> master"/> + <dependency org="org.mortbay.jetty" name="jetty-util" rev="6.1.26" conf="ss.test.compile -> master"/> + <dependency org="commons-lang" name="commons-lang" rev="2.6" conf="ss.test.compile -> master"/> + <dependency org="commons-io" name="commons-io" rev="2.3" conf="ss.test.compile -> master"/> + <dependency org="commons-codec" name="commons-codec" rev="1.6" conf="ss.test.compile -> master"/> + <!-- Ant tasks --> <dependency org="ant-contrib" name="ant-contrib" rev="1.0b3" conf="taskdefs ->master"/> <dependency org="org.apache.maven" name="maven-ant-tasks" rev="2.0.10" conf="taskdefs ->master"/> |