for_firebug

git-svn-id: svn://10.0.0.236/trunk@246610 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2008-02-27 02:36:55 +00:00
parent ade93513b1
commit f7d16bd9e3
6 changed files with 65 additions and 7 deletions

View File

@@ -165,11 +165,19 @@
<property file="webclient.properties" />
<path id="javaxpcom.path">
<pathelement path="${javaxpcom.jar}:${MozillaInterfaces.jar}" />
</path>
<condition property="preconditions.met">
<or>
<available file="${browser.bin.dir}/${so.prefix}xul.${so.extension}" />
<available file="${browser.bin.dir}/${so.prefix}xpcom.${so.extension}" />
</or>
<and>
<or>
<available file="${browser.bin.dir}/${so.prefix}xul.${so.extension}" />
<available file="${browser.bin.dir}/${so.prefix}xpcom.${so.extension}" />
</or>
<available file="${javaxpcom.jar}" />
<available file="${MozillaInterfaces.jar}" />
</and>
</condition>
<uptodate property="do.copy.binaries">
@@ -185,6 +193,11 @@ to the binary directory of the host browser in the webclient.properties
file? The current value of this property is:
${browser.bin.dir} and this directory must contain the file
${so.prefix}xul.${so.extension}.
Also, you must make sure the properties javaxpcom.jar and
MozillaInterfaces.jar are valid.
javaxpcom.jar is currently ${javaxpcom.jar}
MozillaInterfaces.jar is currently ${MozillaInterfaces.jar}
</fail>
</target>
@@ -240,6 +253,7 @@ ${so.prefix}xul.${so.extension}.
<classpath>
<path path="${run.test.classpath}"/>
<path refid="javaxpcom.path" />
</classpath>
</java>
@@ -256,6 +270,7 @@ ${so.prefix}xul.${so.extension}.
<javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" includeantruntime="false">
<classpath>
<path path="@{classpath}"/>
<path refid="javaxpcom.path" />
</classpath>
<compilerarg line="${javac.compilerargs}"/>
<customize/>
@@ -310,6 +325,7 @@ ${so.prefix}xul.${so.extension}.
</batchtest>
<classpath>
<path path="${run.test.classpath}"/>
<path refid="javaxpcom.path" />
</classpath>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
@@ -339,8 +355,10 @@ ${so.prefix}xul.${so.extension}.
<jvmarg value="-Xnoagent"/>
<jvmarg value="-Djava.compiler=none"/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
<jvmarg value="-DNSPR_LOG_MODULES=webclient:4,webclientstub:4,pluglets:4"/>
<jvmarg value="-DNSPR_LOG_MODULES=javadom:4,webclient:4,webclientstub:4,pluglets:4"/>
<env key="NSPR_LOG_MODULES" value="${nspr.log.modules}" />
<jvmarg value="-DNSPR_LOG_FILE=${basedir}${FILE_PATH_SEP}${build.dir}${FILE_PATH_SEP}webclient.log"/>
<env key="NSPR_LOG_FILE" file="${basedir}/${build.dir}/${nspr.log.filename}" />
<jvmarg value="-Dbuild.test.results.dir=${basedir}${FILE_PATH_SEP}${build.test.results.dir}" />
<jvmarg value="-DBROWSER_BIN_DIR=${browser.bin.dir}"/>
<jvmarg value="-Dhttp.proxyHost=${http.proxyHost}" />
@@ -349,8 +367,10 @@ ${so.prefix}xul.${so.extension}.
<jvmarg line="-Djava.util.logging.config.file=${basedir}${FILE_PATH_SEP}logging.properties"/>
<jvmarg line="-Djava.library.path=${browser.bin.dir}" />
<jvmarg line="${run.jvmargs}"/>
<arg value="${test.browser.url}" />
<classpath>
<path path="@{classpath}"/>
<path refid="javaxpcom.path" />
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>