[Xerte] Xerte3: on Mac?

Peter Huppertz peter.huppertz at baselgovernance.org
Thu Jul 1 17:02:37 BST 2010


perhaps there is property mdm provides to check which platform you are on? But I agree, the system specific parts should be kept as low as possible. You also have to strip of the .bat (but I'm not totally sure, at least it is unusual to use it on Macs).

On 01.07.2010, at 17:58, Julian Tenney wrote:

> I think if I switch all the \\ I tend to use in the windows paths for the / in mac and web paths, I think they will still work fine on windows, so that would be good,
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 01 July 2010 16:48
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> Found this in DocumentTree.as:
>  
> batStr = '"' + mdm.Application.path + 'flex4sdk\\bin\\mxmlc.exe" -locale="" "' + css + '" -output "' + fileLocation + 'styles.swf"';
> mdm.FileSystem.saveFileUnicode(mdm.Application.path + 'styles\\makeStyles.bat', batStr);
> mdm.System.exec(mdm.Application.path + 'styles\\makeStyles.bat');
>  
> should be for Mac (guessing)
>  
> batStr = '"' + mdm.Application.path + 'flex4sdk/bin/mxmlc" -locale="" "' + css + '" -output "' + fileLocation + 'styles.swf"';
> mdm.FileSystem.saveFileUnicode(mdm.Application.path + 'styles/makeStyles', batStr);
> mdm.System.exec(mdm.Application.path + 'styles/makeStyles');
>  
>  
>  
> On 01.07.2010, at 17:41, Julian Tenney wrote:
> 
> 
> Andy’s going to bring his Mac in tomorrow, so I can see what’s going on. Hopefully there won’t be too much to change, I might have some (seemingly stupid) questions…
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 01 July 2010 16:40
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> no, they don't. But there are shell scripts that do the same on Macs.
>  
> On 01.07.2010, at 17:35, Julian Tenney wrote:
> 
> 
> 
> Yes, it does. You can look in the code to see what’s going on: MainMenu.as in this case. I think I write out a bat file and execute it – do Macs have .bat files? There will be a few things like this to iron out,
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 01 July 2010 16:34
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> you got this one:
>  
> I tried to compile a stylesheet from the mac. It tries to start my virtual machine, I guess the command points to the mxmlc.exe. The good news is, that it also works on the mac:
> 
> /Xerte3Editor/bin/flex4sdk/bin/mxmlc -locale="" "/path/to/my/styles.css" -output "/path/to/my/styles.swf"
>  
> ???
>  
> On 01.07.2010, at 17:28, Julian Tenney wrote:
> 
> 
> 
> 
> Blank message?
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 01 July 2010 15:32
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
>  
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>  
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
>  
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>  
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
>  
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>  
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
>  
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100701/455ac82c/attachment.html


More information about the Xerte mailing list