Browse Source

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.
tags/7.0.0.beta1
Henri Sara 12 years ago
parent
commit
416bd20364
2 changed files with 14 additions and 1 deletions
  1. 3
    0
      build/build.xml
  2. 11
    1
      build/ivy/ivy.xml

+ 3
- 0
build/build.xml View File

@@ -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"/>

+ 11
- 1
build/ivy/ivy.xml View File

@@ -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"/>

Loading…
Cancel
Save