Mozilla/mozilla/java/dist/webclient-dist.xml
edburns%acm.org f7be13f55b M dist/build.xml
M dist/webclient-dist.xml

- first crack at making this work with a mozilla 1.7 suite install


git-svn-id: svn://10.0.0.236/trunk@163826 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 16:39:07 +00:00

73 lines
1.8 KiB
XML

<project name="Webclient Test Browser" default="main" basedir=".">
<property environment="myenv" />
<target name="props">
<condition property="PATH_SEP" value=";">
<and>
<os family="windows" />
</and>
</condition>
<condition property="PATH_SEP" value=":">
<and>
<os family="unix" />
</and>
</condition>
<condition property="gre.dir"
value="${myenv.HOMEDRIVE}\PROGRA~1\COMMON~1\mozilla.org\GRE\1.7_2004061609">
<and>
<os family="windows" />
</and>
</condition>
<condition property="gre.dir" value=":">
<and>
<os family="unix" />
</and>
</condition>
<condition property="java.libpath"
value="${basedir}${PATH_SEP}${basedir}\components${PATH_SEP}${gre.dir}${PATH_SEP}${gre.dir}\components">
<and>
<os family="windows" />
</and>
</condition>
<condition property="java.libpath"
value="${basedir}${PATH_SEP}${basedir}/components${PATH_SEP}${gre.dir}${PATH_SEP}${gre.dir}/components">
<and>
<os family="unix" />
</and>
</condition>
</target>
<target name="test" depends="props">
<echo message="ANT_HOME = ${myenv.ANT_HOME}"/>
<echo message="HOMEDRIVE = ${myenv.HOMEDRIVE}"/>
<echo message="gre.dir = ${gre.dir}"/>
<echo message="java.libpath = ${java.libpath}"/>
</target>
<target name="main" depends="props">
<java newenvironment="true"
classname="org.mozilla.webclient.test.TestBrowser"
classpath="${basedir}/webclient.jar" fork="true">
<jvmarg value="-Djava.library.path=${java.libpath}"/>
<jvmarg value="-DNSPR_LOG_MODULES=webclient:4,webclientstub:4"/>
<jvmarg value="-DNSPR_LOG_FILE=webclient.log"/>
<jvmarg value="-DBROWSER_BIN_DIR=${gre.dir}"/>
</java>
</target>
</project>