yeah, from the develop branch.
Develop/build :
<target name="super-clean" depends="thirdparty-clean,clean"
description="Cleans everything including thirdparty downloads."/>
<target name="thirdparty-clean" description="Removes all thirdparty
downloads.">
<ant dir="${basedir}/modules" target="thirdparty-clean"/>
<ant dir="${basedir}/frameworks" target="thirdparty-clean"/>
</target>
modules/build:
<target name="thirdparty-clean" description="Removes all thirdparty JAR
downloads.">
<ant antfile="${basedir}/downloads.xml" target="clean"
dir="${basedir}"/>
</target>
downloads.xml:
<target name="batik-jars-clean">
<!-- leave the lib directory itself since batik build.xml expects
it -->
<delete includeEmptyDirs="true" failonerror="false">
<fileset dir="${basedir}/${batik.dir}/lib">
<include name="**/**"/>
</fileset>
</delete>
<delete includeEmptyDirs="true" failonerror="fasle">
<fileset dir="${download.dir}">
<include name="batik*/**"/>
</fileset>
</delete>
</target>
in batik build:
<path id="libs-build-classpath">
<fileset dir="lib/build">
<include name="stylebook*.jar"/>
</fileset>
<fileset dir="lib">
<include name="xalan*.jar"/>
<include name="xerces*.jar"/>
<include name="xml-apis.jar"/>
<include name="xml-apis-ext.jar"/>
</fileset>
</path>
<available property="rhino.present"
classname="org.mozilla.javascript.Context">
<classpath refid="libs-classpath"/>
</available>
-Fred
-----Message d'origine-----
From: Alex Harui
Sent: Thursday, January 31, 2013 1:36 AM
To: dev@flex.apache.org
Subject: Re: Release target and Batik
Is this from the develop branch? Line numbers are not matching up for me.
On 1/30/13 4:18 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
Actually, in the modules/download.xml, there's <delete
dir="${basedir}/${batik.dir}/lib/**" failonerror="false"/> which occure
before the init target in the batik build, which check for classnames in a
jar from this folder, I don't what to do to solve that at this point.
-Fred
-----Message d'origine-----
From: Frédéric THOMAS
Sent: Thursday, January 31, 2013 1:07 AM
To: dev@flex.apache.org
Subject: Release target and Batik
Hi,
I was trying to play with the release target but I encountered a problem
[1], before the release target start, I¹ve got lib folder under batik but
it
looks like it removed it during the release, which cause that error.
Can someone help ?
-Fred
[1]
$ ant release
Buildfile: U:\sources\asf\flex\sdk\developRC1\build.xml
check-playerglobal-home:
[echo] PLAYERGLOBAL_HOME is
U:\sources\asf\flex\sdk\develop\frameworks\libs\player
[echo] playerglobal.version is 11.1
[echo] playerglobal.swc is
U:\sources\asf\flex\sdk\develop\frameworks\libs\player/11.1/playerglobal.swc
check-air-home:
[echo] AIR_HOME is U:\sources\adobe\air\3.4
check-pixelbender-home:
[echo] PIXELBENDER_HOME is C:\Program Files (x86)\Adobe\Adobe
Utilities - CS5\Pixel Bender Toolkit 2
check-compile-env:
[echo] OS: Windows 7 / 6.1 / x86
[echo] VM: Java HotSpot(TM) Client VM / 20.8-b03
[echo] Java: 1.6.0_33
[echo] Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Ant Java Version: 1.6
check-runtime-env:
check-adobe-extension-manager-env:
[echo] ADOBE_EXTENSION_MANAGER is C:\Program Files (x86)\Adobe\Adobe
Extension Manager CS5\Adobe Extension Manager
CS5.exe
thirdparty-clean:
thirdparty-clean:
batik-jars-clean:
velocity-jars-clean:
clean:
thirdparty-clean:
swfobject-clean:
swfobject-fabridge-clean:
clean-adobe-flex-sdk:
clean:
[delete] Deleting directory
U:\sources\asf\flex\sdk\developRC1\lib\external\optional
modules-clean:
batik-clean:
init:
BUILD FAILED
U:\sources\asf\flex\sdk\developRC1\build.xml:298: The following error
occurred while executing this line:
U:\sources\asf\flex\sdk\developRC1\modules\build.xml:170: The following
error occurred while executing this line:
U:\sources\asf\flex\sdk\developRC1\modules\thirdparty\batik\build.xml:161:
U:\sources\asf\flex\sdk\developRC1\modules\th
irdparty\batik\lib does not exist.
Total time: 1 second
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui