"-cmd" supported in hxml file for EclihX

9 views
Skip to first unread message

Jason O'Neil

unread,
Aug 29, 2011, 1:33:16 AM8/29/11
to ecl...@googlegroups.com
Hi again

Just been getting into EclihX and really enjoying it.  I was having trouble with some of my hxml files, for example the one below:

-js out/js/main.js
-cp ./src/haxejs/
-main MainJS
-lib jeash
--remap flash:jeash
-cmd cd doc/

I was given the error: "Multiple: -main."  The culprit seems to be the "-cmd" option, which runs a command once compilation has completed.  After commenting this out it builds successfully.

Does running from EclihX support the cmd option?  If not, would it by hard to implement?  I use it to generate documentation and rsync certain files that are used at runtime.

Jason

p.s. Thanks for the software, I'm enjoying it...

Nikolay Krasko

unread,
Aug 29, 2011, 5:04:46 AM8/29/11
to ecl...@googlegroups.com
Hello,

Not sure now, but probably you can workaround this issue by adding quotes like -cmd "cd doc/". There should be a small fix in hxml builder in future to prevent this bug.

Nikolay Krasko



2011/8/29 Jason O'Neil <ja...@jasononeil.com.au>

--
You received this message because you are subscribed to the Google Groups "EclihX" group.
To post to this group, send email to ecl...@googlegroups.com.
To unsubscribe from this group, send email to eclihx+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/eclihx?hl=en.

Jason O'Neil

unread,
Aug 29, 2011, 6:31:47 AM8/29/11
to ecl...@googlegroups.com
Hmmm still doesn't work.

Might be an issue with the haxe compiler and wanting to be run in a certain kind of shell, cause the same hxml file works fine from a bash shell.  Oh well, it's not a big deal and I can live without it.

For now I'll ignore it and remain a happy user :)

Jason

Nikolay Krasko

unread,
Aug 30, 2011, 6:25:43 PM8/30/11
to ecl...@googlegroups.com
Jason, by the way, I figured out the reasons of your problems with cmd. This bug was fixed, but there was no release and it available only in trunk branch now. You can update to trunk version with http://download.eclihx.org/eclihx/updatesite/trunk update site url.

Nikolay Krasko.

Jason O'Neil

unread,
Aug 31, 2011, 1:14:02 AM8/31/11
to ecl...@googlegroups.com
Thanks so much, that worked!
Reply all
Reply to author
Forward
0 new messages