I tried with file:/// on windows. It works. If that works on unix/linux too,
we could switch to that. This URL stuff is really pissing me off ;-)

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ara
> Abrahamian
> Sent: 22. februar 2002 16:55
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-devel] CVS update: xjavadoc build.xml
>
>
>   User: ara_e_w
>   Date: 02/02/22 07:54:59
>
>   Modified:    .        build.xml
>   Log:
>   fixed the log4j file:/ problem
>
>   Revision  Changes    Path
>   1.21      +16 -8     xjavadoc/build.xml
>
>   Index: build.xml
>   ===================================================================
>   RCS file: /cvsroot/xdoclet/xjavadoc/build.xml,v
>   retrieving revision 1.20
>   retrieving revision 1.21
>   diff -u -w -r1.20 -r1.21
>   --- build.xml       22 Feb 2002 14:50:42 -0000      1.20
>   +++ build.xml       22 Feb 2002 15:54:59 -0000      1.21
>   @@ -62,6 +62,14 @@
>                <include name="**/package.html"/>
>             </fileset>
>          </copy>
>   +
>   +      <condition property="${log4j.properties.file}"
> value="file:/${log4j.dir}/${log4j.file}">
>   +         <os family="windows" />
>   +      </condition>
>   +      <condition property="${log4j.properties.file}"
> value="file://${log4j.dir}/${log4j.file}">
>   +         <os family="unix" />
>   +      </condition>
>   +
>       </target>
>
>       <!--
> =================================================================== -->
>   @@ -167,7 +175,7 @@
>       <target name="junit-swing" depends="compile"
> description="Runs the JUnit Swing UI">
>          <java classname="junit.swingui.TestRunner" fork="yes">
>             <classpath refid="classpath"/>
>   -         <jvmarg
> value="-Dlog4j.configuration=file://${log4j.dir}/${log4j.file}"/>
>   +         <jvmarg
> value="-Dlog4j.configuration=${log4j.properties.file}"/>
>          </java>
>       </target>
>
>   @@ -177,7 +185,7 @@
>       <target name="junit" depends="compile" description="Runs
> All JUnit tests">
>          <mkdir dir="${build.reports.xml.dir}"/>
>          <junit fork="yes">
>   -         <jvmarg
> value="-Dlog4j.configuration=file://${log4j.dir}/${log4j.file}"/>
>   +         <jvmarg
> value="-Dlog4j.configuration=${log4j.properties.file}"/>
>
>             <classpath refid="classpath"/>
>
>
>
>
>
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to