Changeset 098bde2


Ignore:
Timestamp:
May 29, 2019 6:22:33 PM (10 months ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
040e092
Parents:
f94d2d5
Message:

New ant target 'mavenLocal' + changes in the script to support this.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rf94d2d5 r098bde2  
    24262426    </target>
    24272427
     2428    <target name="mavenLocal.deps" depends="buildRouter, buildStreaming">
     2429        <ant dir="core/java/">
     2430        </ant>
     2431        <ant dir="router/java/">
     2432        </ant>
     2433        <ant dir="apps/ministreaming/java/">
     2434        </ant>
     2435        <ant dir="apps/streaming/java/">
     2436        </ant>
     2437        <ant dir="apps/jetty/">
     2438            <target name="servletJar" />
     2439        </ant>
     2440    </target>
     2441
     2442    <target name="mavenLocal" depends="-pre-release, distclean, testscripts, mavenLocal.deps">
     2443        <mkdir dir="./pkg-mavencentral" />
     2444        <!-- Libraries -->
     2445        <copy file="build/i2p.jar" tofile="pkg-mavencentral/i2p-${release.number}.jar" />
     2446        <copy file="build/router.jar" tofile="pkg-mavencentral/router-${release.number}.jar" />
     2447        <copy file="build/mstreaming.jar" tofile="pkg-mavencentral/mstreaming-${release.number}.jar" />
     2448        <copy file="build/streaming.jar" tofile="pkg-mavencentral/streaming-${release.number}.jar" />
     2449        <copy file="apps/jetty/build/servlet-i2p-${release.number}.jar" todir="pkg-mavencentral/" />
     2450    </target>
     2451
     2452
    24282453    <target name="debian" depends="debian-clean, debchange, debian-binary" />
    24292454    <target name="precise" depends="copy-precise, debian" />
  • installer/resources/maven-dev-release.sh

    rf94d2d5 r098bde2  
    99
    1010cd $I2P_SOURCE_DIR
    11 ant mavenCentral || (echo "Build failed!!!" && exit 1)
     11ant mavenLocal || (echo "Build failed!!!" && exit 1)
    1212
    1313# Append right build number to jar files (and everything else but we don't care)
    1414cd $I2P_SOURCE_DIR/pkg-mavencentral
    15 rm -f *-javadoc.jar *-sources.jar
    1615for file in `ls -1`; do
    1716  filename=$(basename -- "$file")
Note: See TracChangeset for help on using the changeset viewer.