Standard Library path

110 views
Skip to first unread message

David Mouton

unread,
May 27, 2014, 11:41:31 AM5/27/14
to haxe...@googlegroups.com
Hi all,
Actually compiler use the environnement variable HAXE_STD_PATH to find the Standard Library.
Is there a way to use another path ?

I say that because i'm working on NPM haxe integration, and i could use local installation.
This means that I might have several versions of haxe installed, and possibly in different versions.

Thx

Eric Priou

unread,
May 30, 2014, 5:57:44 PM5/30/14
to haxe...@googlegroups.com


Bonjour David,

Est-ce cet email que tu utilises ?

Quelques précisions par rapport à haxe npm seraient les bienvenues.
Quel workflow est envisagé ?

Merci

---
Eric Priou aka erixtekila
http://www.ericpriou.net

David Mouton

unread,
Jun 2, 2014, 1:11:28 PM6/2/14
to haxe...@googlegroups.com
It could be very usefull if you could add an optionnal argument like -std

Cauê Waneck

unread,
Jun 2, 2014, 2:31:20 PM6/2/14
to haxe...@googlegroups.com

Why would it be better than HAXE_STD_LIBRARY=/some/path haxe ... ?

On Jun 2, 2014 6:11 PM, "David Mouton" <gradalis...@gmail.com> wrote:
It could be very usefull if you could add an optionnal argument like -std

--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.

David Mouton

unread,
Jun 3, 2014, 3:01:34 AM6/3/14
to haxe...@googlegroups.com
Because i want to have more than one toolkit, therefor wore than one path.


You received this message because you are subscribed to a topic in the Google Groups "Haxe" group.

David Mouton

unread,
Jun 3, 2014, 3:10:02 AM6/3/14
to haxe...@googlegroups.com
And because playing with it on windows is such a pain

set HAXE_STD_PATH=C:\Users\d.mouton\Documents\BikeWar\Player\node_modules\haxe\bin\..\std && C:\Users\d.mouton\Documents\BikeWar\Player\node_modules\haxe\bin/haxe.exe -cp src -main com.tamina.bikewar.PlayerUI -cp C:\Users\d.mouton\Documents\BikeWar\Player\node_modules\haxe\bin/../../mconsole-npm -cp C:\Users\d.mouton\Documents\BikeWar\Player\node_modules\haxe\bin/../../msignal -cp C:\Users\d.mouton\Documents\BikeWar\Player\node_modules\haxe\bin/../lib/createjs -cp C:\Users\d.mouton\Documents\BikeWar\Player\node_modules\haxe\bin/../../taminahx -js C:\Users\d.mouton\Documents\BikeWar/TestPlayer/build/js/release/Player.js

{ [Error: Command failed: Standard library not found
] killed: false, code: 1, signal: null }

David Elahee

unread,
Jun 3, 2014, 3:45:31 AM6/3/14
to haxe...@googlegroups.com
Hey david, you might wanna try with "setx" instead of "set" so that you have a real env var :)

Xoxo bro !
David Elahee


Eric Priou

unread,
Jun 3, 2014, 4:50:29 AM6/3/14
to haxe...@googlegroups.com
Hi,

why not just set env before launching haxe ?
In bash, just call 
$ export HAXE_STD_PATH=yourpath

But it´d be crossplatform in your case. 

HTH
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.


--
Éric Priou aka erixtekila

David Mouton

unread,
Jun 3, 2014, 5:51:56 AM6/3/14
to haxe...@googlegroups.com
export works well on linux, but not set nor setx for windows.
BTW i found another way tanks to nodejs.




You received this message because you are subscribed to a topic in the Google Groups "Haxe" group.
Reply all
Reply to author
Forward
0 new messages