[Xerte] Xerte3: on Mac?

Peter Huppertz peter.huppertz at baselgovernance.org
Fri Jul 2 13:35:10 BST 2010


So, I created one for all platforms:

Xerte.exe, for Windows 5.4MB
Xerte3 for Linux 11MB
Xerte3.zip which seems to be the mac version 84.1 MB!! can this be?

On 02.07.2010, at 14:30, Julian Tenney wrote:

> You could try making your own zn project from scratch and building Xerte3Editor.swf – that’s all you need I think, there’s only one form,
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 02 July 2010 13:30
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> I opened it in Zinc (I installed the Mac Version) and built the project. No error messages. It generates a zip file. I unzipped it and started the application ... unfortunately it crashes immediately. I guess I have to have a look at the Zinc settings.
>  
>  
> On 02.07.2010, at 14:19, Julian Tenney wrote:
> 
> 
> You got Zinc installed?
>  
> Open my .zinc file – try and build that in Zinc (build project) – what happens? That ought to compile Xerte3.exe. In the options you can also say ‘compile for all platforms’. That will make the mac and linux versions too.
>  
> Can you get that far? Anyway, isn’t it your day off?
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 02 July 2010 13:17
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> OK, I have my first successful built. But I'm not sure how to proceed. How can I compile an executable for Mac?
>  
> On 02.07.2010, at 14:13, Julian Tenney wrote:
> 
> 
> 
> Sorry – that’s mdm.swc, not mdm.swf. It’s in the svn, I think FlashDevelop needs telling about it.
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 02 July 2010 13:12
> To: Xerte discussion list
> Subject: RE: [Xerte] Xerte3: on Mac?
>  
> You need link in the mdm.swf somewhere in your project. I’d imagine developing on Windows is going to be easier, unless you have some Flex tools for the Mac (you could go with the command line to mxmlc but that’s not ideal).
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 02 July 2010 13:06
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> So FlashDevelop is only available for Windows. It works so far but throws a lot of errors that mdm .... something is missing, thats the zinc stuff. I can download Zinc for Mac, but don't know if this works? Or should I stick to Windows for development and mac for testing?
>  
>  
> On 02.07.2010, at 13:56, Julian Tenney wrote:
>  
> 
> Yes you do, but you only need the trial version
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 02 July 2010 12:42
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> I guess I need Zinc, too?
>  
>  
> On 02.07.2010, at 11:52, Julian Tenney wrote:
> 
> 
> 
> 
> 
> Can you get the files into a position where you can build Xerte 3? That would be good, because then you can work through the application from top to bottom and try stuff. I’m a bit lost on a few things (like why a new file dialog doesn’t have  place to type a filename).
>  
> I can help you with that, but you already have FlashDevelop, and the Flex 4 sdk, which is pretty much all you need.
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
> Sent: 02 July 2010 10:50
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> Standard, as far as I know is
>  
> \Users\NameOfTheUser\Documents, but I guess there should be something like a var in Zinc for that? (Because it could perhaps differ in different language versions?)
>  
> Does this answer your question?
>  
> Sorry, today's my free day, I'll only look sporadically at emails.
>  
> On 02.07.2010, at 10:20, Julian Tenney wrote:
> 
> 
> 
> 
> 
> 
> OK, daft question number one:
>  
> In X3 on the Mac, File, New Project. Where am I supposed to write the filename?
>  
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 02 July 2010 09:10
> To: Xerte discussion list
> Subject: RE: [Xerte] Xerte3: on Mac?
>  
> For now, let’s not worry about any helper executables like mxmlc and ffmpeg – let’s get the core Xerte 3 stuff working. I have Mac today to try some stuff on, so please be ready to answer some seemingly daft 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 17:03
> To: Xerte discussion list
> Subject: Re: [Xerte] Xerte3: on Mac?
>  
> 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
>  
> _______________________________________________
> 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
>  
> _______________________________________________
> 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/20100702/7d59f538/attachment.html


More information about the Xerte mailing list