Need to copy NB platform jars before trying to compile remoting
authorJan Lahoda <jlahoda@netbeans.org>
Sat, 25 Jun 2011 09:38:22 +0200
changeset 60469aacdb37fe0
parent 603 344c8da2fe02
child 605 2c2e5efeae9d
Need to copy NB platform jars before trying to compile remoting
build.xml
hudson/trunk
     1.1 --- a/build.xml	Fri Jun 24 15:59:27 2011 +0200
     1.2 +++ b/build.xml	Sat Jun 25 09:38:22 2011 +0200
     1.3 @@ -8,7 +8,9 @@
     1.4      
     1.5      <property name="server.modules" value="server/indexer:server/web.api" />
     1.6      
     1.7 -    <target name="-init" depends="suite.-init">
     1.8 +    <target name="-init" depends="suite.-init,copy-from-platform" />
     1.9 +    
    1.10 +    <target name="copy-from-platform" depends="suite.-init">
    1.11          <copy file="${nbplatform.active.dir}/java/modules/org-netbeans-modules-java-source.jar" todir="server/lib" />
    1.12          <copy file="${nbplatform.active.dir}/java/modules/org-netbeans-modules-java-hints.jar" todir="server/lib" />
    1.13          <copy file="${nbplatform.active.dir}/platform/core/org-openide-filesystems.jar" todir="server/lib" />
     2.1 --- a/hudson/trunk	Fri Jun 24 15:59:27 2011 +0200
     2.2 +++ b/hudson/trunk	Sat Jun 25 09:38:22 2011 +0200
     2.3 @@ -36,6 +36,7 @@
     2.4  }
     2.5  
     2.6  (cd borrowedtests; call_ant clean && call_ant) || exit
     2.7 +call_ant copy-from-platform
     2.8  (cd remoting; ./build-indexing-backend -Dnbplatform.default.harness.dir=$PLATFORM/harness -Dnbplatform.default.netbeans.dest.dir=$PLATFORM -Dnbplatform.active.dir=$PLATFORM) || exit 1
     2.9  call_ant clean || exit
    2.10  call_ant build || exit