Thanks Martin

Is too weird, I change the path to the core classes in the prefs of MTASC and Flashout to the class package of MTASC in "/opt/mtasc/std" and now I can open .as files. But, if I revert the path to "/Users/RAFA3L/Library/Application Support/Macromedia/Flash  MX 2004/en/Configuration/Classes/ " it work too, and now I can't reproduce the error.

// -----------------------------------------------

Well, now is working but I can't get make to work the MTASC compiling in the text editor. If I set the Macromedia core classes in the MTASC Patch to "/opt/mtasc/std" I get this error:

"type error class not found:nameofclass"

And if I set it to "/Users/RAFA3L/Library/Application Support/Macromedia/Flash  MX 2004/en/Configuration/Classes/" I get:

"type error class not found:Support.Macromedia.Flash"


With the same path "/Users/RAFA3L/Library/Application Support/Macromedia/Flash  MX 2004/en/Configuration/Classes/" to Flashout I get the same last error in the Compilation Status of Flashout, "type error class not found:Support.Macromedia.Flash"

But if I change it to "/opt/mtasc/std" it check the sintax correctly and no aditional errors.


// -----------------------------------------------

Now the only little problem is MTASC in the editor. I found this article http://www.pixelmotive.de/blog/archives/2005/06/fame_on_mac.php but I can't understand very well the step 2, and maybe is to fix this. Anyone can explain it better? This mean that I need create a text file, paste this script inside and save it in the same dir of mtasc? and then how I can use it?

// -----------------------------------------------
2. mtasc doesn't like classpathes containing spaces
I wrote this little shell script which I use for the eclipse setting 'location of mtasc.exe'; it echoes the full mtasc command line into a seperate shell scripts and returns mtasc's output. Create an empty text file in the dir where the shell script ist living and chmod it 777 to make it writeable and executable.

#!/bin/sh
echo "#!/bin/sh" > subc.sh
echo /usr/local/bin/mtasc $@ >> subc.sh
./subc.sh
exit $?
// -----------------------------------------------



Thanks


Rafael







On Jul 12, 2005, at 6:26 PM, Martin Schnabel wrote:

try to start eclipse with -clean flag
and try the cvs version of asdt.
(use an other workspace for asdt cvs and use the org.asdt.* repositories).
if the problem occurs after this within the asdt cvs version
i will look into that.
(sorry but i ve few time right now)
best regards
    Martin Schnabel

Rafael G wrote:
Sorry for this newbie question,


I'm in Mac with Java 1.5, Eclipse 3.1, ASDT 0.0.7.1, MTASC 1.08, and Flashout 0.1.7.9.

All work perfect before, but in some time I close some .as files and now I can't get open anyone again. All work fine now, I can create files, compile with Flashout, but I can't open files in the editor, this how me this error:


"Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown."



And in the Error Log window:


Error 2005-07-12 20:05:28.747 Unable to create editor ID org.asdt.ui.editor.ActionScript2Editor: An unexpected exception was thrown.
java.lang.NullPointerException
    at org.asdt.core.resources.PackageManager.getFileNamesForPackage(PackageManager.java:200)
    at org.asdt.ui.editor.ASCodeScanner.<init>(ASCodeScanner.java:79)
    at org.asdt.ui.editor.ASConfiguration.getASCodeScanner(ASConfiguration.java:136)
    at org.asdt.ui.editor.ASConfiguration.getPresentationReconciler(ASConfiguration.java:152)
    at org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:323)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2517)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:314)

and continue ...



Any idea?


Thanks in advance


Rafael
_______________________________________________
osflash mailing list


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to