When I was trying to get binary libraries working on Windows, I had to
excise all the string manipulatrion of pathnames and replace it with
Java File objects.
On 2008-07-23, at 20:04EDT,
hqm@... wrote:
> Author: hqm
> Date: 2008-07-23 17:04:30 -0700 (Wed, 23 Jul 2008)
> New Revision: 10458
>
> Modified:
> openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc/
> SWF9External.java
> Log:
> Change 20080723-hqm-O by
hqm@... on 2008-07-23 20:03:29 EDT
> in /Users/hqm/openlaszlo/trunk
> for
http://svn.openlaszlo.org/openlaszlo/trunk>
> Summary: make swf9 command line use OS-native pathname separator
>
> New Features:
>
> Bugs Fixed:
>
> Technical Reviewer: dda
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
>
>
> Tests:
>
>
>
> Modified: openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc/
> SWF9External.java
> ===================================================================
> --- openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc/
> SWF9External.java 2008-07-24 00:04:17 UTC (rev 10457)
> +++ openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc/
> SWF9External.java 2008-07-24 00:04:30 UTC (rev 10458)
> @@ -591,11 +591,11 @@
>
> if (buildSharedLibrary) {
> outfilebase = "app.swc";
> - cmd.add(getFlexPathname("bin/compc" + exeSuffix));
> + cmd.add(getFlexPathname("bin" + File.separator + "compc" +
> exeSuffix));
> }
> else {
> outfilebase = "app.swf";
> - cmd.add(getFlexPathname("bin/mxmlc" + exeSuffix));
> + cmd.add(getFlexPathname("bin" + File.separator + "mxmlc" +
> exeSuffix));
> }
>
> String outfilename = workdir.getPath() + File.separator +
> outfilebase;
>
>
> _______________________________________________
> Laszlo-checkins mailing list
>
Laszlo-checkins@...
>
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins