Nightly builds api

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Nightly builds api

Cauê W.
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org

test example.zip (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.

On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Cauê W.
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
This is it, but can i catch the returned value? neko.Sys.command returns me a number, not the command result.

On Thu, Mar 24, 2011 at 7:02 PM, Cauê Waneck <[hidden email]> wrote:
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Jean Leman
I'll do :

neko.Sys.command( "uname -m > tmp.txt" );

then

read tmp.txt

Best,
Jean

Le 25/03/2011 16:14, Baluta Cristian a écrit :
This is it, but can i catch the returned value? neko.Sys.command returns me a number, not the command result.

On Thu, Mar 24, 2011 at 7:02 PM, Cauê Waneck <[hidden email]> wrote:
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Cauê W.
In reply to this post by Baluta Cristian
use http://haxe.org/api/neko/io/process the Process api

you can read the value by using stdout() . and don't forget to close() and call exitCode() to really make sure the process is gone !

e.g.:

var process = new Process("svn", ["info", "--revision", "BASE", path]);
var ret = process.stdout.readAll().toString();
var ret2 = process.stderr.readAll().toString();
process.exitCode(); //you need this to wait till the process is closed!
process.close();


2011/3/25 Baluta Cristian <[hidden email]>
This is it, but can i catch the returned value? neko.Sys.command returns me a number, not the command result.


On Thu, Mar 24, 2011 at 7:02 PM, Cauê Waneck <[hidden email]> wrote:
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
I think i'm ready with the command line utility, but i have one last question, what's the installation path on linux?

On Fri, Mar 25, 2011 at 5:31 PM, Cauê Waneck <[hidden email]> wrote:
use http://haxe.org/api/neko/io/process the Process api

you can read the value by using stdout() . and don't forget to close() and call exitCode() to really make sure the process is gone !

e.g.:

var process = new Process("svn", ["info", "--revision", "BASE", path]);
var ret = process.stdout.readAll().toString();
var ret2 = process.stderr.readAll().toString();
process.exitCode(); //you need this to wait till the process is closed!
process.close();


2011/3/25 Baluta Cristian <[hidden email]>
This is it, but can i catch the returned value? neko.Sys.command returns me a number, not the command result.


On Thu, Mar 24, 2011 at 7:02 PM, Cauê Waneck <[hidden email]> wrote:
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
Hello all. 
Here is the nightly build automatic installer i've worked on. Download it anywhere then run from command line: "neko nb"
To install a revision you run: "sudo neko nb -install"

Please confirm that is working on all systems, I've tested only for OSX 32bits.
I'll build an UI now.

On Fri, Apr 1, 2011 at 4:19 PM, Baluta Cristian <[hidden email]> wrote:
I think i'm ready with the command line utility, but i have one last question, what's the installation path on linux?


On Fri, Mar 25, 2011 at 5:31 PM, Cauê Waneck <[hidden email]> wrote:
use http://haxe.org/api/neko/io/process the Process api

you can read the value by using stdout() . and don't forget to close() and call exitCode() to really make sure the process is gone !

e.g.:

var process = new Process("svn", ["info", "--revision", "BASE", path]);
var ret = process.stdout.readAll().toString();
var ret2 = process.stderr.readAll().toString();
process.exitCode(); //you need this to wait till the process is closed!
process.close();


2011/3/25 Baluta Cristian <[hidden email]>
This is it, but can i catch the returned value? neko.Sys.command returns me a number, not the command result.


On Thu, Mar 24, 2011 at 7:02 PM, Cauê Waneck <[hidden email]> wrote:
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org

nb.n.zip (59K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Skial Bainn
Hi,

Do you have the source anywhere to view?

Skial

On Mon, Apr 4, 2011 at 11:33 AM, Baluta Cristian <[hidden email]> wrote:
Hello all. 
Here is the nightly build automatic installer i've worked on. Download it anywhere then run from command line: "neko nb"
To install a revision you run: "sudo neko nb -install"

Please confirm that is working on all systems, I've tested only for OSX 32bits.
I'll build an UI now.

On Fri, Apr 1, 2011 at 4:19 PM, Baluta Cristian <[hidden email]> wrote:
I think i'm ready with the command line utility, but i have one last question, what's the installation path on linux?


On Fri, Mar 25, 2011 at 5:31 PM, Cauê Waneck <[hidden email]> wrote:
use http://haxe.org/api/neko/io/process the Process api

you can read the value by using stdout() . and don't forget to close() and call exitCode() to really make sure the process is gone !

e.g.:

var process = new Process("svn", ["info", "--revision", "BASE", path]);
var ret = process.stdout.readAll().toString();
var ret2 = process.stderr.readAll().toString();
process.exitCode(); //you need this to wait till the process is closed!
process.close();


2011/3/25 Baluta Cristian <[hidden email]>
This is it, but can i catch the returned value? neko.Sys.command returns me a number, not the command result.


On Thu, Mar 24, 2011 at 7:02 PM, Cauê Waneck <[hidden email]> wrote:
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org



--


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
Sure, i've attached it with sources.

PS: On the previous mail the path for windows was wrong, the last / was missing: C:\\haXe/
Now, i'm not sure if must be an / or \, but it's a / in this version.


On Mon, Apr 4, 2011 at 2:53 PM, Skial Bainn <[hidden email]> wrote:
Hi,

Do you have the source anywhere to view?

Skial

On Mon, Apr 4, 2011 at 11:33 AM, Baluta Cristian <[hidden email]> wrote:
Hello all. 
Here is the nightly build automatic installer i've worked on. Download it anywhere then run from command line: "neko nb"
To install a revision you run: "sudo neko nb -install"

Please confirm that is working on all systems, I've tested only for OSX 32bits.
I'll build an UI now.

On Fri, Apr 1, 2011 at 4:19 PM, Baluta Cristian <[hidden email]> wrote:
I think i'm ready with the command line utility, but i have one last question, what's the installation path on linux?


On Fri, Mar 25, 2011 at 5:31 PM, Cauê Waneck <[hidden email]> wrote:
use http://haxe.org/api/neko/io/process the Process api

you can read the value by using stdout() . and don't forget to close() and call exitCode() to really make sure the process is gone !

e.g.:

var process = new Process("svn", ["info", "--revision", "BASE", path]);
var ret = process.stdout.readAll().toString();
var ret2 = process.stderr.readAll().toString();
process.exitCode(); //you need this to wait till the process is closed!
process.close();


2011/3/25 Baluta Cristian <[hidden email]>
This is it, but can i catch the returned value? neko.Sys.command returns me a number, not the command result.


On Thu, Mar 24, 2011 at 7:02 PM, Cauê Waneck <[hidden email]> wrote:
I think you are able to tell if you're on 32 or 64 bis on linux calling something like
uname -m

i386 or i686 = 32 bit
x86_64 = 64 bit



2011/3/24 Baluta Cristian <[hidden email]>
Thought to came up with a status.
I've succeeded to download the latest nightly build with your api, i've succeeded to backup the stable version, and i've partially succeeded to unzip the nightly build. This is on OSX from Terminal, but i think it's a matter of changing paths to work on win and linux. 
Does anyone know if it's possible to find with neko.Sys or anything else if i have a linux32 or linux 64? also mac32 and mac64?

Next step will be to create a UI, with NME?

Thanks.


On Sat, Mar 19, 2011 at 11:42 PM, Baluta Cristian <[hidden email]> wrote:
thanks, i'll give it a try with that project idea i had.

On Sat, Mar 19, 2011 at 8:56 PM, Cauê Waneck <[hidden email]> wrote:
Hey guys

Just sketched a little nightly builds api. It's not thoroughly tested, but seems to be working (please do test it then  ; ) ). I've attached a script with how it's supposed to work.
If you think of a certain functionality to it, post here!.

BTW, I'm thinking about compiling other haxe projects (e.g. ndlls) the same way the nightly works, so if you have a project and want to be able to do that, message me.

Cheers!
Cauê

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org



--


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org

NightlyBuildsInstaller.zip (75K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Jan_Flanders
Testing on windows XP:
After changing the paths for the directories the zip was downloaded but gave me:
Uncaught exception - Invalid GZ header

I tried changing the source by using readZip instead of readTar but then I got
Uncaught exception - Unsupported flags 2

So, it downloads but cannot unzip.

Jan
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
I'll have access to a winXP this days and i'll try to solve the problem, thank you for reporting.

On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
Testing on windows XP:
After changing the paths for the directories the zip was downloaded but gave
me:
Uncaught exception - Invalid GZ header

I tried changing the source by using readZip instead of readTar but then I
got
Uncaught exception - Unsupported flags 2

So, it downloads but cannot unzip.

Jan

--
View this message in context: http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Greg Dove
Hi there - did anyone manage to fix this?

I can confirm that changing to readZip for Windows is half of the solution.
The other part (for me) was to manually recreate the zip file using the deflate compression method instead of the implode method that it seems to be used when it is currently being zipped up for download. The implode compression method is not supported by the zip library in neko (but is handled fine by 7zip etc). Is it possible to change the zip method in the automatic build to use the deflate compression algorithm?

Greg



On Sat, Apr 23, 2011 at 5:08 PM, Baluta Cristian <[hidden email]> wrote:
I'll have access to a winXP this days and i'll try to solve the problem, thank you for reporting.


On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
Testing on windows XP:
After changing the paths for the directories the zip was downloaded but gave
me:
Uncaught exception - Invalid GZ header

I tried changing the source by using readZip instead of readTar but then I
got
Uncaught exception - Unsupported flags 2

So, it downloads but cannot unzip.

Jan

--
View this message in context: http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Cauê W.
I don't know how to switch to Deflate on the command line. Do you?

2011/6/8 Greg Dove <[hidden email]>
Hi there - did anyone manage to fix this?

I can confirm that changing to readZip for Windows is half of the solution.
The other part (for me) was to manually recreate the zip file using the deflate compression method instead of the implode method that it seems to be used when it is currently being zipped up for download. The implode compression method is not supported by the zip library in neko (but is handled fine by 7zip etc). Is it possible to change the zip method in the automatic build to use the deflate compression algorithm?

Greg




On Sat, Apr 23, 2011 at 5:08 PM, Baluta Cristian <[hidden email]> wrote:
I'll have access to a winXP this days and i'll try to solve the problem, thank you for reporting.


On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
Testing on windows XP:
After changing the paths for the directories the zip was downloaded but gave
me:
Uncaught exception - Invalid GZ header

I tried changing the source by using readZip instead of readTar but then I
got
Uncaught exception - Unsupported flags 2

So, it downloads but cannot unzip.

Jan

--
View this message in context: http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
Should i try with the zip format library instead?

On Wed, Jun 8, 2011 at 9:39 AM, Cauê Waneck <[hidden email]> wrote:
I don't know how to switch to Deflate on the command line. Do you?


2011/6/8 Greg Dove <[hidden email]>
Hi there - did anyone manage to fix this?

I can confirm that changing to readZip for Windows is half of the solution.
The other part (for me) was to manually recreate the zip file using the deflate compression method instead of the implode method that it seems to be used when it is currently being zipped up for download. The implode compression method is not supported by the zip library in neko (but is handled fine by 7zip etc). Is it possible to change the zip method in the automatic build to use the deflate compression algorithm?

Greg




On Sat, Apr 23, 2011 at 5:08 PM, Baluta Cristian <[hidden email]> wrote:
I'll have access to a winXP this days and i'll try to solve the problem, thank you for reporting.


On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
Testing on windows XP:
After changing the paths for the directories the zip was downloaded but gave
me:
Uncaught exception - Invalid GZ header

I tried changing the source by using readZip instead of readTar but then I
got
Uncaught exception - Unsupported flags 2

So, it downloads but cannot unzip.

Jan

--
View this message in context: http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Cauê W.
what I meant is that I'm using zip.exe from the command line to compress it. I don't know how to force it to use deflate ; )

I could make a custom neko script to do that, but that'd take some more time.

Cheers!
Cauê

2011/6/8 Baluta Cristian <[hidden email]>
Should i try with the zip format library instead?


On Wed, Jun 8, 2011 at 9:39 AM, Cauê Waneck <[hidden email]> wrote:
I don't know how to switch to Deflate on the command line. Do you?


2011/6/8 Greg Dove <[hidden email]>
Hi there - did anyone manage to fix this?

I can confirm that changing to readZip for Windows is half of the solution.
The other part (for me) was to manually recreate the zip file using the deflate compression method instead of the implode method that it seems to be used when it is currently being zipped up for download. The implode compression method is not supported by the zip library in neko (but is handled fine by 7zip etc). Is it possible to change the zip method in the automatic build to use the deflate compression algorithm?

Greg




On Sat, Apr 23, 2011 at 5:08 PM, Baluta Cristian <[hidden email]> wrote:
I'll have access to a winXP this days and i'll try to solve the problem, thank you for reporting.


On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
Testing on windows XP:
After changing the paths for the directories the zip was downloaded but gave
me:
Uncaught exception - Invalid GZ header

I tried changing the source by using readZip instead of readTar but then I
got
Uncaught exception - Unsupported flags 2

So, it downloads but cannot unzip.

Jan

--
View this message in context: http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Greg Dove

I don't know offhand  but I can try it out tomorrow to see if I can figure it out. If not, I see that 7zip can be run from command line too, perhaps thats another quick option. Thanks for checking!
Greg

On Jun 8, 2011 11:51 PM, "Cauê Waneck" <[hidden email]> wrote:
> what I meant is that I'm using zip.exe from the command line to compress it.
> I don't know how to force it to use deflate ; )
>
> I could make a custom neko script to do that, but that'd take some more
> time.
>
> Cheers!
> Cauê
>
> 2011/6/8 Baluta Cristian <[hidden email]>
>
>> Should i try with the zip format library instead?
>>
>>
>> On Wed, Jun 8, 2011 at 9:39 AM, Cauê Waneck <[hidden email]> wrote:
>>
>>> I don't know how to switch to Deflate on the command line. Do you?
>>>
>>>
>>> 2011/6/8 Greg Dove <[hidden email]>
>>>
>>>> Hi there - did anyone manage to fix this?
>>>>
>>>> I can confirm that changing to readZip for Windows is half of the
>>>> solution.
>>>> The other part (for me) was to manually recreate the zip file using the
>>>> deflate compression method instead of the implode method that it seems to be
>>>> used when it is currently being zipped up for download. The implode
>>>> compression method is not supported by the zip library in neko (but is
>>>> handled fine by 7zip etc). Is it possible to change the zip method in the
>>>> automatic build to use the deflate compression algorithm?
>>>>
>>>> Greg
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Apr 23, 2011 at 5:08 PM, Baluta Cristian <
>>>> [hidden email]> wrote:
>>>>
>>>>> I'll have access to a winXP this days and i'll try to solve the problem,
>>>>> thank you for reporting.
>>>>>
>>>>>
>>>>> On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
>>>>>
>>>>>> Testing on windows XP:
>>>>>> After changing the paths for the directories the zip was downloaded but
>>>>>> gave
>>>>>> me:
>>>>>> Uncaught exception - Invalid GZ header
>>>>>>
>>>>>> I tried changing the source by using readZip instead of readTar but
>>>>>> then I
>>>>>> got
>>>>>> Uncaught exception - Unsupported flags 2
>>>>>>
>>>>>> So, it downloads but cannot unzip.
>>>>>>
>>>>>> Jan
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
>>>>>> Sent from the Haxe mailing list archive at Nabble.com.
>>>>>>
>>>>>> --
>>>>>> haXe - an open source web programming language
>>>>>> http://haxe.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Băluță Cristian
>>>>> http://ralcr.com
>>>>> http://imagin.ro
>>>>>
>>>>> --
>>>>> haXe - an open source web programming language
>>>>> http://haxe.org
>>>>>
>>>>
>>>>
>>>> --
>>>> haXe - an open source web programming language
>>>> http://haxe.org
>>>>
>>>
>>>
>>> --
>>> haXe - an open source web programming language
>>> http://haxe.org
>>>
>>
>>
>>
>> --
>> Băluță Cristian
>> http://ralcr.com
>> http://imagin.ro
>>
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Greg Dove
Cauê : I downloaded what I assume is the latest zip.exe from here: ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn.zip

(various binary options at: ftp://ftp.info-zip.org/pub/infozip/win32/ )

After the nb script fails in windows to extract the zip citing a flags error following a download, I extracted the files and then used the commandline zip.exe to zip them up. I then replaced the original downloaded file (so the script would continue without re-downloading it), and the neko zip extraction worked. I am not sure what version of the zip.exe you are using but perhaps it is and older version that uses an older compression algorithm. I used the 32 bit windows version even though I am on a win7 64bit machine.

Baluta, Cauê :
I'm also attaching my tweaks to the script Main.hx. This is the first time I have tried to do anything with neko (I'm just familiarising myself with it a bit at this point) so please excuse any glaring mistakes.
Warning: The script now gets through to the end but fails on the neko.FileSystem.rename calls in the various methods. This has the unfortunate effect of deleting my haxe install without installing the nightly build or making a backup etc

This may be quicker for either of you to fix as you are more familiar with neko, perhaps on windows there is an issue with using rename to move files. I can't continue on it now, but I can (and will) come back to it later if no-one else sovles it quickly. Aslo: I tried running "as admin" to mimic the instructions that are there for linux but that didn't seem to help so I guess its something to do with how the command to move files works in windows and perhaps you can't do it with rename.


cheers
Greg






On Thu, Jun 9, 2011 at 1:04 AM, Greg Dove <[hidden email]> wrote:

I don't know offhand  but I can try it out tomorrow to see if I can figure it out. If not, I see that 7zip can be run from command line too, perhaps thats another quick option. Thanks for checking!
Greg

On Jun 8, 2011 11:51 PM, "Cauê Waneck" <[hidden email]> wrote:
> what I meant is that I'm using zip.exe from the command line to compress it.
> I don't know how to force it to use deflate ; )
>
> I could make a custom neko script to do that, but that'd take some more
> time.
>
> Cheers!
> Cauê
>
> 2011/6/8 Baluta Cristian <[hidden email]>
>
>> Should i try with the zip format library instead?
>>
>>
>> On Wed, Jun 8, 2011 at 9:39 AM, Cauê Waneck <[hidden email]> wrote:
>>
>>> I don't know how to switch to Deflate on the command line. Do you?
>>>
>>>
>>> 2011/6/8 Greg Dove <[hidden email]>
>>>
>>>> Hi there - did anyone manage to fix this?
>>>>
>>>> I can confirm that changing to readZip for Windows is half of the
>>>> solution.
>>>> The other part (for me) was to manually recreate the zip file using the
>>>> deflate compression method instead of the implode method that it seems to be
>>>> used when it is currently being zipped up for download. The implode
>>>> compression method is not supported by the zip library in neko (but is
>>>> handled fine by 7zip etc). Is it possible to change the zip method in the
>>>> automatic build to use the deflate compression algorithm?
>>>>
>>>> Greg
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Apr 23, 2011 at 5:08 PM, Baluta Cristian <
>>>> [hidden email]> wrote:
>>>>
>>>>> I'll have access to a winXP this days and i'll try to solve the problem,
>>>>> thank you for reporting.
>>>>>
>>>>>
>>>>> On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
>>>>>
>>>>>> Testing on windows XP:
>>>>>> After changing the paths for the directories the zip was downloaded but
>>>>>> gave
>>>>>> me:
>>>>>> Uncaught exception - Invalid GZ header
>>>>>>
>>>>>> I tried changing the source by using readZip instead of readTar but
>>>>>> then I
>>>>>> got
>>>>>> Uncaught exception - Unsupported flags 2
>>>>>>
>>>>>> So, it downloads but cannot unzip.
>>>>>>
>>>>>> Jan
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
>>>>>> Sent from the Haxe mailing list archive at Nabble.com.
>>>>>>
>>>>>> --
>>>>>> haXe - an open source web programming language
>>>>>> http://haxe.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Băluță Cristian
>>>>> http://ralcr.com
>>>>> http://imagin.ro
>>>>>
>>>>> --
>>>>> haXe - an open source web programming language
>>>>> http://haxe.org
>>>>>
>>>>
>>>>
>>>> --
>>>> haXe - an open source web programming language
>>>> http://haxe.org
>>>>
>>>
>>>
>>> --
>>> haXe - an open source web programming language
>>> http://haxe.org
>>>
>>
>>
>>
>> --
>> Băluță Cristian
>> http://ralcr.com
>> http://imagin.ro
>>
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>


--
haXe - an open source web programming language
http://haxe.org

Main.hx (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds api

Baluta Cristian
I'll take a look, unarchiving and archiving again will surely work from neko, but maybe can Cauê do that right on the server.
So rename is not failing because of the administrator rights is that right? In order not to break your current installation while you're testing you can change the Windows path to some folder created by you in the nb/ folder.


On Thu, Jun 9, 2011 at 3:45 AM, Greg Dove <[hidden email]> wrote:
Cauê : I downloaded what I assume is the latest zip.exe from here: ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn.zip

(various binary options at: ftp://ftp.info-zip.org/pub/infozip/win32/ )

After the nb script fails in windows to extract the zip citing a flags error following a download, I extracted the files and then used the commandline zip.exe to zip them up. I then replaced the original downloaded file (so the script would continue without re-downloading it), and the neko zip extraction worked. I am not sure what version of the zip.exe you are using but perhaps it is and older version that uses an older compression algorithm. I used the 32 bit windows version even though I am on a win7 64bit machine.

Baluta, Cauê :
I'm also attaching my tweaks to the script Main.hx. This is the first time I have tried to do anything with neko (I'm just familiarising myself with it a bit at this point) so please excuse any glaring mistakes.
Warning: The script now gets through to the end but fails on the neko.FileSystem.rename calls in the various methods. This has the unfortunate effect of deleting my haxe install without installing the nightly build or making a backup etc

This may be quicker for either of you to fix as you are more familiar with neko, perhaps on windows there is an issue with using rename to move files. I can't continue on it now, but I can (and will) come back to it later if no-one else sovles it quickly. Aslo: I tried running "as admin" to mimic the instructions that are there for linux but that didn't seem to help so I guess its something to do with how the command to move files works in windows and perhaps you can't do it with rename.


cheers
Greg







On Thu, Jun 9, 2011 at 1:04 AM, Greg Dove <[hidden email]> wrote:

I don't know offhand  but I can try it out tomorrow to see if I can figure it out. If not, I see that 7zip can be run from command line too, perhaps thats another quick option. Thanks for checking!
Greg

On Jun 8, 2011 11:51 PM, "Cauê Waneck" <[hidden email]> wrote:
> what I meant is that I'm using zip.exe from the command line to compress it.
> I don't know how to force it to use deflate ; )
>
> I could make a custom neko script to do that, but that'd take some more
> time.
>
> Cheers!
> Cauê
>
> 2011/6/8 Baluta Cristian <[hidden email]>
>
>> Should i try with the zip format library instead?
>>
>>
>> On Wed, Jun 8, 2011 at 9:39 AM, Cauê Waneck <[hidden email]> wrote:
>>
>>> I don't know how to switch to Deflate on the command line. Do you?
>>>
>>>
>>> 2011/6/8 Greg Dove <[hidden email]>
>>>
>>>> Hi there - did anyone manage to fix this?
>>>>
>>>> I can confirm that changing to readZip for Windows is half of the
>>>> solution.
>>>> The other part (for me) was to manually recreate the zip file using the
>>>> deflate compression method instead of the implode method that it seems to be
>>>> used when it is currently being zipped up for download. The implode
>>>> compression method is not supported by the zip library in neko (but is
>>>> handled fine by 7zip etc). Is it possible to change the zip method in the
>>>> automatic build to use the deflate compression algorithm?
>>>>
>>>> Greg
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Apr 23, 2011 at 5:08 PM, Baluta Cristian <
>>>> [hidden email]> wrote:
>>>>
>>>>> I'll have access to a winXP this days and i'll try to solve the problem,
>>>>> thank you for reporting.
>>>>>
>>>>>
>>>>> On Sat, Apr 23, 2011 at 7:28 AM, Jan_Flanders <[hidden email]> wrote:
>>>>>
>>>>>> Testing on windows XP:
>>>>>> After changing the paths for the directories the zip was downloaded but
>>>>>> gave
>>>>>> me:
>>>>>> Uncaught exception - Invalid GZ header
>>>>>>
>>>>>> I tried changing the source by using readZip instead of readTar but
>>>>>> then I
>>>>>> got
>>>>>> Uncaught exception - Unsupported flags 2
>>>>>>
>>>>>> So, it downloads but cannot unzip.
>>>>>>
>>>>>> Jan
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://haxe.1354130.n2.nabble.com/Nightly-builds-api-tp6188037p6298840.html
>>>>>> Sent from the Haxe mailing list archive at Nabble.com.
>>>>>>
>>>>>> --
>>>>>> haXe - an open source web programming language
>>>>>> http://haxe.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Băluță Cristian
>>>>> http://ralcr.com
>>>>> http://imagin.ro
>>>>>
>>>>> --
>>>>> haXe - an open source web programming language
>>>>> http://haxe.org
>>>>>
>>>>
>>>>
>>>> --
>>>> haXe - an open source web programming language
>>>> http://haxe.org
>>>>
>>>
>>>
>>> --
>>> haXe - an open source web programming language
>>> http://haxe.org
>>>
>>
>>
>>
>> --
>> Băluță Cristian
>> http://ralcr.com
>> http://imagin.ro
>>
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
12