[Glass] xml pull parser for gemstone/glass

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

[Glass] xml pull parser for gemstone/glass

Johan Brichau-3
Hi,

I created https://github.com/glassdb/XMLPullParser and ported/fixed code from http://www.smalltalkhub.com/#!/~hernan/XMLPullParser/ to work in GLASS.

For some reason, travis is not triggered

cheers
Johan
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Dale Henrichs-3
Hey Johan,

There was a `blacklist` entry for master  ... removed it and travis tests are running[1]

Dale

[1] https://travis-ci.org/glassdb/XMLPullParser

----- Original Message -----
| From: "Johan Brichau" <[hidden email]>
| To: [hidden email]
| Sent: Saturday, November 23, 2013 1:01:33 AM
| Subject: [Glass] xml pull parser for gemstone/glass
|
| Hi,
|
| I created https://github.com/glassdb/XMLPullParser and ported/fixed
| code from http://www.smalltalkhub.com/#!/~hernan/XMLPullParser/ to
| work in GLASS.
|
| For some reason, travis is not triggered
|
| cheers
| Johan
| _______________________________________________
| Glass mailing list
| [hidden email]
| http://lists.gemtalksystems.com/mailman/listinfo/glass
|
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Johan Brichau-3
ha damn.... that went completely unnoticed

thanks Dale!

On 23 Nov 2013, at 15:19, Dale K. Henrichs <[hidden email]> wrote:

> Hey Johan,
>
> There was a `blacklist` entry for master  ... removed it and travis tests are running[1]
>
> Dale
>
> [1] https://travis-ci.org/glassdb/XMLPullParser
>
> ----- Original Message -----
> | From: "Johan Brichau" <[hidden email]>
> | To: [hidden email]
> | Sent: Saturday, November 23, 2013 1:01:33 AM
> | Subject: [Glass] xml pull parser for gemstone/glass
> |
> | Hi,
> |
> | I created https://github.com/glassdb/XMLPullParser and ported/fixed
> | code from http://www.smalltalkhub.com/#!/~hernan/XMLPullParser/ to
> | work in GLASS.
> |
> | For some reason, travis is not triggered
> |
> | cheers
> | Johan
> | _______________________________________________
> | Glass mailing list
> | [hidden email]
> | http://lists.gemtalksystems.com/mailman/listinfo/glass
> |

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

BrunoBB
In reply to this post by Johan Brichau-3
Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Johan Brichau-3
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Bob Nemec
Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Johan Brichau-3
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Bob Nemec
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob


On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Bob Nemec
BTW: I am trying to get GemTools to work in my Pharo image (Pharo3.0 update: #30598) with the non-GLASS GS, but running...

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGemTools';
    load.
  (Smalltalk at: #ConfigurationOfGemTools) 
        perform: #loadLatestVersion.
  (Smalltalk at: #GemToolsHelpBrowser) open. 

...but when #loadLatestVersion is sent I get a syntax error...

ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed

...so now I'm hacking away with one-click GemTools Pharo image 

Bob


On Thursday, November 28, 2013 8:15:02 AM, "[hidden email]" <[hidden email]> wrote:
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob


On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Bob Nemec
I guess there is more going on with a GLASS login from Pharo then a native GS login VW. Running on the same machine as a VW image that logs in correctly, and using the same GS login parameters, the Pharo GemTools login errors out with...

a ArgumentTypeError occurred (error 2037), reason:classErrConstraintNotClass, The constraint aByteArray( ) was specified incorrectly for subclass creation.  For IdentityBags (NSCs), a constraint must be specified as a class; for all other classes, as an Array of pairs.

...feels like I'm playing 'wack-o-mole' with Git, Pharo, GLASS, VW & native GS. I'll probably put this in as a low priority tech support question to GemTalk Systems on Monday, after their Thanksgiving weekend.

Bob


On Thursday, November 28, 2013 8:52:46 AM, "[hidden email]" <[hidden email]> wrote:
BTW: I am trying to get GemTools to work in my Pharo image (Pharo3.0 update: #30598) with the non-GLASS GS, but running...

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGemTools';
    load.
  (Smalltalk at: #ConfigurationOfGemTools) 
        perform: #loadLatestVersion.
  (Smalltalk at: #GemToolsHelpBrowser) open. 

...but when #loadLatestVersion is sent I get a syntax error...

ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed

...so now I'm hacking away with one-click GemTools Pharo image 

Bob


On Thursday, November 28, 2013 8:15:02 AM, "[hidden email]" <[hidden email]> wrote:
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob


On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

James Foster-9
Hi Bob,

GemTools relies on things in $GEMSTONE/bin/extent0.seaside.dbf. If you want to connect to a simple $GEMSTONE/bin/extent0.dbf then you can use Topaz or GBS (with the proper license/keyfile). Also, if you are willing to use Windows you can use Jade [1] as it does not rely on special code being in the database already. You should be able to connect to any GemStone database with it.

James



On Nov 28, 2013, at 5:48 PM, [hidden email] wrote:

I guess there is more going on with a GLASS login from Pharo then a native GS login VW. Running on the same machine as a VW image that logs in correctly, and using the same GS login parameters, the Pharo GemTools login errors out with...

a ArgumentTypeError occurred (error 2037), reason:classErrConstraintNotClass, The constraint aByteArray( ) was specified incorrectly for subclass creation.  For IdentityBags (NSCs), a constraint must be specified as a class; for all other classes, as an Array of pairs.

...feels like I'm playing 'wack-o-mole' with Git, Pharo, GLASS, VW & native GS. I'll probably put this in as a low priority tech support question to GemTalk Systems on Monday, after their Thanksgiving weekend.

Bob


On Thursday, November 28, 2013 8:52:46 AM, "[hidden email]" <[hidden email]> wrote:
BTW: I am trying to get GemTools to work in my Pharo image (Pharo3.0 update: #30598) with the non-GLASS GS, but running...

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGemTools';
    load.
  (Smalltalk at: #ConfigurationOfGemTools) 
        perform: #loadLatestVersion.
  (Smalltalk at: #GemToolsHelpBrowser) open. 

...but when #loadLatestVersion is sent I get a syntax error...

ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed

...so now I'm hacking away with one-click GemTools Pharo image 

Bob


On Thursday, November 28, 2013 8:15:02 AM, "[hidden email]" <[hidden email]> wrote:
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob


On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Bob Nemec
Hello James,
What I'm trying to do is to get XMLPullParser into our GS 3.1.0.4 repository (or any recommended XML parser). 

Connecting to it from VW works fine; I just can't find an easy way to get the XMLPullParser that I have loaded into Pharo to compile to GS. The mix I want is Git + GS (vs. Git + Pharo + GLASS).  

I remember loading WebTools from Git via Topaz a while ago (as per your documentation). 
Can something similar be done with XMLPullParser?
Is there a generic way to load from Git to GS directly?

I've been living the the VW / VA + GBS world for a while now, with not enough time to learn GLASS, and all the related tools, as well as I'd like.

Bob



On Thursday, November 28, 2013 1:45:38 PM, James Foster <[hidden email]> wrote:
Hi Bob,

GemTools relies on things in $GEMSTONE/bin/extent0.seaside.dbf. If you want to connect to a simple $GEMSTONE/bin/extent0.dbf then you can use Topaz or GBS (with the proper license/keyfile). Also, if you are willing to use Windows you can use Jade [1] as it does not rely on special code being in the database already. You should be able to connect to any GemStone database with it.

James



On Nov 28, 2013, at 5:48 PM, [hidden email] wrote:

I guess there is more going on with a GLASS login from Pharo then a native GS login VW. Running on the same machine as a VW image that logs in correctly, and using the same GS login parameters, the Pharo GemTools login errors out with...

a ArgumentTypeError occurred (error 2037), reason:classErrConstraintNotClass, The constraint aByteArray( ) was specified incorrectly for subclass creation.  For IdentityBags (NSCs), a constraint must be specified as a class; for all other classes, as an Array of pairs.

...feels like I'm playing 'wack-o-mole' with Git, Pharo, GLASS, VW & native GS. I'll probably put this in as a low priority tech support question to GemTalk Systems on Monday, after their Thanksgiving weekend.

Bob


On Thursday, November 28, 2013 8:52:46 AM, "[hidden email]" <[hidden email]> wrote:
BTW: I am trying to get GemTools to work in my Pharo image (Pharo3.0 update: #30598) with the non-GLASS GS, but running...

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGemTools';
    load.
  (Smalltalk at: #ConfigurationOfGemTools) 
        perform: #loadLatestVersion.
  (Smalltalk at: #GemToolsHelpBrowser) open. 

...but when #loadLatestVersion is sent I get a syntax error...

ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed

...so now I'm hacking away with one-click GemTools Pharo image 

Bob


On Thursday, November 28, 2013 8:15:02 AM, "[hidden email]" <[hidden email]> wrote:
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob


On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

James Foster-9
Bob,

I think that in order for Git + GS to work there have to be some classes in GemStone to talk to Git (such as MCGitHubRepository) and these are among the classes provided by GLASS. My suggestion would be to load XMLPullParser into a clean GLASS environment (using GemTools), then export it as a Topaz file-in (Behavior>>#’fileOutClass’). 

At the moment the Jade support for Git is still a bit thin, so I’m not able to do it directly there.

James

On Nov 28, 2013, at 9:35 PM, [hidden email] wrote:

Hello James,
What I'm trying to do is to get XMLPullParser into our GS 3.1.0.4 repository (or any recommended XML parser). 

Connecting to it from VW works fine; I just can't find an easy way to get the XMLPullParser that I have loaded into Pharo to compile to GS. The mix I want is Git + GS (vs. Git + Pharo + GLASS).  

I remember loading WebTools from Git via Topaz a while ago (as per your documentation). 
Can something similar be done with XMLPullParser?
Is there a generic way to load from Git to GS directly?

I've been living the the VW / VA + GBS world for a while now, with not enough time to learn GLASS, and all the related tools, as well as I'd like.

Bob



On Thursday, November 28, 2013 1:45:38 PM, James Foster <[hidden email]> wrote:
Hi Bob,

GemTools relies on things in $GEMSTONE/bin/extent0.seaside.dbf. If you want to connect to a simple $GEMSTONE/bin/extent0.dbf then you can use Topaz or GBS (with the proper license/keyfile). Also, if you are willing to use Windows you can use Jade [1] as it does not rely on special code being in the database already. You should be able to connect to any GemStone database with it.

James



On Nov 28, 2013, at 5:48 PM, [hidden email] wrote:

I guess there is more going on with a GLASS login from Pharo then a native GS login VW. Running on the same machine as a VW image that logs in correctly, and using the same GS login parameters, the Pharo GemTools login errors out with...

a ArgumentTypeError occurred (error 2037), reason:classErrConstraintNotClass, The constraint aByteArray( ) was specified incorrectly for subclass creation.  For IdentityBags (NSCs), a constraint must be specified as a class; for all other classes, as an Array of pairs.

...feels like I'm playing 'wack-o-mole' with Git, Pharo, GLASS, VW & native GS. I'll probably put this in as a low priority tech support question to GemTalk Systems on Monday, after their Thanksgiving weekend.

Bob


On Thursday, November 28, 2013 8:52:46 AM, "[hidden email]" <[hidden email]> wrote:
BTW: I am trying to get GemTools to work in my Pharo image (Pharo3.0 update: #30598) with the non-GLASS GS, but running...

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGemTools';
    load.
  (Smalltalk at: #ConfigurationOfGemTools) 
        perform: #loadLatestVersion.
  (Smalltalk at: #GemToolsHelpBrowser) open. 

...but when #loadLatestVersion is sent I get a syntax error...

ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed

...so now I'm hacking away with one-click GemTools Pharo image 

Bob


On Thursday, November 28, 2013 8:15:02 AM, "[hidden email]" <[hidden email]> wrote:
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob


On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Paul DeBruicker
In reply to this post by Bob Nemec
Hi Bob,

I don't have much to add but that the current stable GemTools only works in Pharo 1.1.



Does the base GS have the Gofer class?

Good luck

Paul




Bob Nemec wrote
BTW: I am trying to get GemTools to work in my Pharo image (Pharo3.0 update: #30598) with the non-GLASS GS, but running...

  Gofer new

    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGemTools';
    load.
  (Smalltalk at: #ConfigurationOfGemTools) 
        perform: #loadLatestVersion.
  (Smalltalk at: #GemToolsHelpBrowser) open. 

...but when #loadLatestVersion is sent I get a syntax error...

ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed

...so now I'm hacking away with one-click GemTools Pharo image 

Bob



On Thursday, November 28, 2013 8:15:02 AM, "[hidden email]" <[hidden email]> wrote:
 
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob



On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
 
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan


On 27 Nov 2013, at 23:36, [hidden email] wrote:


Hello all,
>I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
>I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).
>
>
>Any suggestions?
>
>
>Thanks,
>Bob Nemec
>
>
>
>On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
>
>Bruno,
>
>
>I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
>It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 
>
>
>I now included load instructions in the README of the repo [1].
>Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.
>
>
>The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.
>
>
>Cheers
>Johan
>
>
>[1] https://github.com/glassdb/XMLPullParser
>[2] https://github.com/dalehenrich/metacello-work/blob/master/docs/GettingStartedWithGitHub.md
>
>On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:
>
>Hi,
>>
>>Which is the official Monticello repository for GLASS XMLPullParser ?
>>
>>Or how i install XMLPullParser into GLASS from github ?
>>
>>Regards,
>>Bruno
>>
>>
>>
>>--
>>View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
>>Sent from the GLASS mailing list archive at Nabble.com.
>>_______________________________________________
>>Glass mailing list
>>[hidden email]
>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
>_______________________________________________
>Glass mailing list
>[hidden email]
>http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
_______________________________________________
>Glass mailing list
>[hidden email]
>http://lists.gemtalksystems.com/mailman/listinfo/glass
>



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Bob Nemec
Paul,
I have XMLPullParser loaded into a GemTools-1.0-beta.8.7-3101x Pharo image and I'm installing GLASS into a new Linux VM so that I can load & then file out the XMLPullParser classes... feels like I'm using a Bazooka to kill a fly. 

Sure would be nice if GS had a public code repository that could be accessed from Topaz. 

Bob


On Thursday, November 28, 2013 4:40:32 PM, Paul DeBruicker <[hidden email]> wrote:
Hi Bob,

I don't have much to add but that the current stable GemTools only works in
Pharo 1.1.



Does the base GS have the Gofer class?

Good luck

Paul





Bob Nemec wrote

> BTW: I am trying to get GemTools to work in my Pharo image
> (Pharo3.0 update: #30598) with the non-GLASS GS, but running...
>
>   Gofer new
>
>     squeaksource: 'MetacelloRepository';
>     package: 'ConfigurationOfGemTools';
>     load.
>   (Smalltalk at: #ConfigurationOfGemTools) 
>         perform: #loadLatestVersion.
>   (Smalltalk at: #GemToolsHelpBrowser) open. 
>
> ...but when #loadLatestVersion is sent I get a syntax error...
>
> ffiPrintString: aString
> "FFITestLibrary ffiPrintString: 'Hello'"
> <cdecl: char'>
> ' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
> ^self externalCallFailed
>
> ...so now I'm hacking away with one-click GemTools Pharo image 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 8:15:02 AM, "

> bobn@

> " &lt;

> bobn@

> &gt; wrote:

> This is where I expose my ignorance: I don't know how to connect a Pharo
> image to a non-GLASS GS. 
> It's probably trivial, which makes it all the more embarrassing ;-)
>
> Perhaps I should have asked a more general question: what are the options
> for parsing XML on GS and which one is recommended for simple files?
>
> The XML in this case is my own data export from another GS repository. I
> could use VW to parse and load the data, but I'd like to makes this all
> work from a Topaz script. 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:

> Bob,
>
> AFAIK, the code should load in exactly the same way into a non-GLASS
> gemstone setup as well, providing you have Metacellopreview and Grease
> loaded.
>
> But I'm a GLASS user, so I might miss a detail about the non GLASS?
>
> Johan
>
>
> On 27 Nov 2013, at 23:36,

> bobn@

>  wrote:
>
>
> Hello all,
>>I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and
could use XMLPullParser. What is the easiest way to get the code into GS?
>>I used Metacello to load the code into a Pharo image, and I'm sure that I
can get the code in GS various ways, but it feels like I'm hacking ... there
must be simple way (I've had my head buried in our application framework
code; not enough time to learn new things).

>>
>>
>>Any suggestions?
>>
>>
>>Thanks,
>>Bob Nemec
>>
>>
>>
>>On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:
>>
>>Bruno,
>>
>>
>>I don’t know of any previously existing version of XMLPullParser for
Gemstone/GLASS. This is why I started the github repository [1] for it.
>>It turns out that the code changes for GLASS are very minimal; even so
small that the GLASS version will work in Pharo too. 
>>
>>
>>I now included load instructions in the README of the repo [1].
>>Mind that in [2], Dale gives more info on how to work with Smalltalk and
Metacello on Github.
>>
>>
>>The question is if the small set of tests are representative to say
anything about the full workings of the parser. There were some
unimplemented messages being sent in the original code base, which gives me
the impression it is a work in progress. So, we will have to see wether the
GLASS and Pharo versions diverge or merge.
> [hidden email]

> &gt; wrote:
>>
>>Hi,
>>>
>>>Which is the official Monticello repository for GLASS XMLPullParser ?
>>>
>>>Or how i install XMLPullParser into GLASS from github ?
>>>
>>>Regards,
>>>Bruno
>>>
>>>
>>>
>>>--
>>>View this message in context:
http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
>>>Sent from the GLASS mailing list archive at Nabble.com.
>>>_______________________________________________
>>>Glass mailing list
>>>

> [hidden email]

>>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>
>>
>>
>>_______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
> _______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
>
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4726009.html

Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Richard Sargent
Administrator

Yes, it would be nice. We're working on it.

On Nov 28, 2013 4:53 PM, <[hidden email]> wrote:
Paul,
I have XMLPullParser loaded into a GemTools-1.0-beta.8.7-3101x Pharo image and I'm installing GLASS into a new Linux VM so that I can load & then file out the XMLPullParser classes... feels like I'm using a Bazooka to kill a fly. 

Sure would be nice if GS had a public code repository that could be accessed from Topaz. 

Bob


On Thursday, November 28, 2013 4:40:32 PM, Paul DeBruicker <[hidden email]> wrote:
Hi Bob,

I don't have much to add but that the current stable GemTools only works in
Pharo 1.1.



Does the base GS have the Gofer class?

Good luck

Paul





Bob Nemec wrote
> BTW: I am trying to get GemTools to work in my Pharo image
> (Pharo3.0 update: #30598) with the non-GLASS GS, but running...
>
>   Gofer new
>
>     squeaksource: 'MetacelloRepository';
>     package: 'ConfigurationOfGemTools';
>     load.
>   (Smalltalk at: #ConfigurationOfGemTools) 
>         perform: #loadLatestVersion.
>   (Smalltalk at: #GemToolsHelpBrowser) open. 
>
> ...but when #loadLatestVersion is sent I get a syntax error...
>
> ffiPrintString: aString
> "FFITestLibrary ffiPrintString: 'Hello'"
> <cdecl: char'>
> ' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
> ^self externalCallFailed
>
> ...so now I'm hacking away with one-click GemTools Pharo image 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 8:15:02 AM, "

> bobn@

> " &lt;

> bobn@

> &gt; wrote:

> This is where I expose my ignorance: I don't know how to connect a Pharo
> image to a non-GLASS GS. 
> It's probably trivial, which makes it all the more embarrassing ;-)
>
> Perhaps I should have asked a more general question: what are the options
> for parsing XML on GS and which one is recommended for simple files?
>
> The XML in this case is my own data export from another GS repository. I
> could use VW to parse and load the data, but I'd like to makes this all
> work from a Topaz script. 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:

> Bob,
>
> AFAIK, the code should load in exactly the same way into a non-GLASS
> gemstone setup as well, providing you have Metacellopreview and Grease
> loaded.
>
> But I'm a GLASS user, so I might miss a detail about the non GLASS?
>
> Johan
>
>
> On 27 Nov 2013, at 23:36,

> bobn@

>  wrote:
>
>
> Hello all,
>>I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and
could use XMLPullParser. What is the easiest way to get the code into GS?
>>I used Metacello to load the code into a Pharo image, and I'm sure that I
can get the code in GS various ways, but it feels like I'm hacking ... there
must be simple way (I've had my head buried in our application framework
code; not enough time to learn new things).
>>
>>
>>Any suggestions?
>>
>>
>>Thanks,
>>Bob Nemec
>>
>>
>>
>>On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:
>>
>>Bruno,
>>
>>
>>I don’t know of any previously existing version of XMLPullParser for
Gemstone/GLASS. This is why I started the github repository [1] for it.
>>It turns out that the code changes for GLASS are very minimal; even so
small that the GLASS version will work in Pharo too. 
>>
>>
>>I now included load instructions in the README of the repo [1].
>>Mind that in [2], Dale gives more info on how to work with Smalltalk and
Metacello on Github.
>>
>>
>>The question is if the small set of tests are representative to say
anything about the full workings of the parser. There were some
unimplemented messages being sent in the original code base, which gives me
the impression it is a work in progress. So, we will have to see wether the
GLASS and Pharo versions diverge or merge.
>>
>>
>>Cheers
>>Johan
>>
>>
>>[1] https://github.com/glassdb/XMLPullParser
>>[2] https://github.com/dalehenrich/metacello-work/blob/master/docs/GettingStartedWithGitHub.md
>>
>>On 23 Nov 2013, at 16:10, BrunoBB &lt;

> [hidden email]

> &gt; wrote:
>>
>>Hi,
>>>
>>>Which is the official Monticello repository for GLASS XMLPullParser ?
>>>
>>>Or how i install XMLPullParser into GLASS from github ?
>>>
>>>Regards,
>>>Bruno
>>>
>>>
>>>
>>>--
>>>View this message in context:
http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
>>>Sent from the GLASS mailing list archive at Nabble.com.
>>>_______________________________________________
>>>Glass mailing list
>>>

> [hidden email]

>>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>
>>
>>
>>_______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
> _______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
>
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4726009.html

Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Bob Nemec
In reply to this post by Bob Nemec
Hmmm... I guess it does not hurt to ask: can anyone with XMLPullParser installed into a GLASS GS do a GS fileout of the classes and make the files available?
It would save me some time; I'm having some irritations with my Linux VM install for the GLASS server.

XPPEvent
XPPEndDocumument
XPPStartDocument
XPPTagEvent
XPPEndTag
XPPStartTag
XPPText
XPPStructureException
XPPTag
XMLPullParser

Thanks,
Bob


On Thursday, November 28, 2013 4:53:50 PM, "[hidden email]" <[hidden email]> wrote:
Paul,
I have XMLPullParser loaded into a GemTools-1.0-beta.8.7-3101x Pharo image and I'm installing GLASS into a new Linux VM so that I can load & then file out the XMLPullParser classes... feels like I'm using a Bazooka to kill a fly. 

Sure would be nice if GS had a public code repository that could be accessed from Topaz. 

Bob


On Thursday, November 28, 2013 4:40:32 PM, Paul DeBruicker <[hidden email]> wrote:
Hi Bob,

I don't have much to add but that the current stable GemTools only works in
Pharo 1.1.



Does the base GS have the Gofer class?

Good luck

Paul





Bob Nemec wrote

> BTW: I am trying to get GemTools to work in my Pharo image
> (Pharo3.0 update: #30598) with the non-GLASS GS, but running...
>
>   Gofer new
>
>     squeaksource: 'MetacelloRepository';
>     package: 'ConfigurationOfGemTools';
>     load.
>   (Smalltalk at: #ConfigurationOfGemTools) 
>         perform: #loadLatestVersion.
>   (Smalltalk at: #GemToolsHelpBrowser) open. 
>
> ...but when #loadLatestVersion is sent I get a syntax error...
>
> ffiPrintString: aString
> "FFITestLibrary ffiPrintString: 'Hello'"
> <cdecl: char'>
> ' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
> ^self externalCallFailed
>
> ...so now I'm hacking away with one-click GemTools Pharo image 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 8:15:02 AM, "

> bobn@

> " &lt;

> bobn@

> &gt; wrote:

> This is where I expose my ignorance: I don't know how to connect a Pharo
> image to a non-GLASS GS. 
> It's probably trivial, which makes it all the more embarrassing ;-)
>
> Perhaps I should have asked a more general question: what are the options
> for parsing XML on GS and which one is recommended for simple files?
>
> The XML in this case is my own data export from another GS repository. I
> could use VW to parse and load the data, but I'd like to makes this all
> work from a Topaz script. 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:

> Bob,
>
> AFAIK, the code should load in exactly the same way into a non-GLASS
> gemstone setup as well, providing you have Metacellopreview and Grease
> loaded.
>
> But I'm a GLASS user, so I might miss a detail about the non GLASS?
>
> Johan
>
>
> On 27 Nov 2013, at 23:36,

> bobn@

>  wrote:
>
>
> Hello all,
>>I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and
could use XMLPullParser. What is the easiest way to get the code into GS?
>>I used Metacello to load the code into a Pharo image, and I'm sure that I
can get the code in GS various ways, but it feels like I'm hacking ... there
must be simple way (I've had my head buried in our application framework
code; not enough time to learn new things).

>>
>>
>>Any suggestions?
>>
>>
>>Thanks,
>>Bob Nemec
>>
>>
>>
>>On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:
>>
>>Bruno,
>>
>>
>>I don’t know of any previously existing version of XMLPullParser for
Gemstone/GLASS. This is why I started the github repository [1] for it.
>>It turns out that the code changes for GLASS are very minimal; even so
small that the GLASS version will work in Pharo too. 
>>
>>
>>I now included load instructions in the README of the repo [1].
>>Mind that in [2], Dale gives more info on how to work with Smalltalk and
Metacello on Github.
>>
>>
>>The question is if the small set of tests are representative to say
anything about the full workings of the parser. There were some
unimplemented messages being sent in the original code base, which gives me
the impression it is a work in progress. So, we will have to see wether the
GLASS and Pharo versions diverge or merge.
> [hidden email]

> &gt; wrote:
>>
>>Hi,
>>>
>>>Which is the official Monticello repository for GLASS XMLPullParser ?
>>>
>>>Or how i install XMLPullParser into GLASS from github ?
>>>
>>>Regards,
>>>Bruno
>>>
>>>
>>>
>>>--
>>>View this message in context:
http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
>>>Sent from the GLASS mailing list archive at Nabble.com.
>>>_______________________________________________
>>>Glass mailing list
>>>

> [hidden email]

>>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>
>>
>>
>>_______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
> _______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
>
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4726009.html

Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Johan Brichau-3
Bob,

Can you load the source from smalltalkhub?
The delta to Gemstone is extremely minimal.

Johan

On 29 Nov 2013, at 14:48, [hidden email] wrote:

Hmmm... I guess it does not hurt to ask: can anyone with XMLPullParser installed into a GLASS GS do a GS fileout of the classes and make the files available?
It would save me some time; I'm having some irritations with my Linux VM install for the GLASS server.

XPPEvent
XPPEndDocumument
XPPStartDocument
XPPTagEvent
XPPEndTag
XPPStartTag
XPPText
XPPStructureException
XPPTag
XMLPullParser

Thanks,
Bob


On Thursday, November 28, 2013 4:53:50 PM, "[hidden email]" <[hidden email]> wrote:
Paul,
I have XMLPullParser loaded into a GemTools-1.0-beta.8.7-3101x Pharo image and I'm installing GLASS into a new Linux VM so that I can load & then file out the XMLPullParser classes... feels like I'm using a Bazooka to kill a fly. 

Sure would be nice if GS had a public code repository that could be accessed from Topaz. 

Bob


On Thursday, November 28, 2013 4:40:32 PM, Paul DeBruicker <[hidden email]> wrote:
Hi Bob,

I don't have much to add but that the current stable GemTools only works in
Pharo 1.1.



Does the base GS have the Gofer class?

Good luck

Paul





Bob Nemec wrote

> BTW: I am trying to get GemTools to work in my Pharo image
> (Pharo3.0 update: #30598) with the non-GLASS GS, but running...
> 
>   Gofer new
> 
>     squeaksource: 'MetacelloRepository';
>     package: 'ConfigurationOfGemTools';
>     load.
>   (Smalltalk at: #ConfigurationOfGemTools) 
>         perform: #loadLatestVersion.
>   (Smalltalk at: #GemToolsHelpBrowser) open. 
> 
> ...but when #loadLatestVersion is sent I get a syntax error...
> 
> ffiPrintString: aString
> "FFITestLibrary ffiPrintString: 'Hello'"
> <cdecl: char'>
> ' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
> ^self externalCallFailed
> 
> ...so now I'm hacking away with one-click GemTools Pharo image 
> 
> Bob
> 
> 
> 
> On Thursday, November 28, 2013 8:15:02 AM, "

> bobn@

> " &lt;

> bobn@

> &gt; wrote:
 
> This is where I expose my ignorance: I don't know how to connect a Pharo
> image to a non-GLASS GS. 
> It's probably trivial, which makes it all the more embarrassing ;-)
> 
> Perhaps I should have asked a more general question: what are the options
> for parsing XML on GS and which one is recommended for simple files?
> 
> The XML in this case is my own data export from another GS repository. I
> could use VW to parse and load the data, but I'd like to makes this all
> work from a Topaz script. 
> 
> Bob
> 
> 
> 
> On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:
 
> Bob,
> 
> AFAIK, the code should load in exactly the same way into a non-GLASS
> gemstone setup as well, providing you have Metacellopreview and Grease
> loaded.
> 
> But I'm a GLASS user, so I might miss a detail about the non GLASS?
> 
> Johan
> 
> 
> On 27 Nov 2013, at 23:36, 

> bobn@

>  wrote:
> 
> 
> Hello all,
>>I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and
could use XMLPullParser. What is the easiest way to get the code into GS?
>>I used Metacello to load the code into a Pharo image, and I'm sure that I
can get the code in GS various ways, but it feels like I'm hacking ... there
must be simple way (I've had my head buried in our application framework
code; not enough time to learn new things).

>>
>>
>>Any suggestions?
>>
>>
>>Thanks,
>>Bob Nemec
>>
>>
>>
>>On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:
>> 
>>Bruno,
>>
>>
>>I don’t know of any previously existing version of XMLPullParser for
Gemstone/GLASS. This is why I started the github repository [1] for it.
>>It turns out that the code changes for GLASS are very minimal; even so
small that the GLASS version will work in Pharo too. 
>>
>>
>>I now included load instructions in the README of the repo [1].
>>Mind that in [2], Dale gives more info on how to work with Smalltalk and
Metacello on Github.
>>
>>
>>The question is if the small set of tests are representative to say
anything about the full workings of the parser. There were some
unimplemented messages being sent in the original code base, which gives me
the impression it is a work in progress. So, we will have to see wether the
GLASS and Pharo versions diverge or merge.
> [hidden email]

> &gt; wrote:
>>
>>Hi,
>>>
>>>Which is the official Monticello repository for GLASS XMLPullParser ?
>>>
>>>Or how i install XMLPullParser into GLASS from github ?
>>>
>>>Regards,
>>>Bruno
>>>
>>>
>>>
>>>--
>>>View this message in context:
http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
>>>Sent from the GLASS mailing list archive at Nabble.com.
>>>_______________________________________________
>>>Glass mailing list
>>>

> [hidden email]

>>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>
>>
>>
>>_______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
> _______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
> 
> 
> 
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4726009.html

Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Dale Henrichs-3
In reply to this post by Bob Nemec
Yikes, the last version of Pharo that GemTools worked correctly in was Pharo1.1.1...

I'm going as fast as I can with tODE:(

Until then the wiki page for "Getting Started with GLASS"[1]. Download a one-click GemTools from here[2]...

Dale

[1] https://code.google.com/p/glassdb/wiki/GettingStartedWithGLASS
[2] http://seaside.gemtalksystems.com/downloads.html

From: [hidden email]
To: [hidden email]
Sent: Thursday, November 28, 2013 5:52:37 AM
Subject: Re: [Glass] xml pull parser for gemstone/glass

BTW: I am trying to get GemTools to work in my Pharo image (Pharo3.0 update: #30598) with the non-GLASS GS, but running...

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGemTools';
    load.
  (Smalltalk at: #ConfigurationOfGemTools) 
        perform: #loadLatestVersion.
  (Smalltalk at: #GemToolsHelpBrowser) open. 

...but when #loadLatestVersion is sent I get a syntax error...

ffiPrintString: aString
"FFITestLibrary ffiPrintString: 'Hello'"
<cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
^self externalCallFailed

...so now I'm hacking away with one-click GemTools Pharo image 

Bob


On Thursday, November 28, 2013 8:15:02 AM, "[hidden email]" <[hidden email]> wrote:
This is where I expose my ignorance: I don't know how to connect a Pharo image to a non-GLASS GS. 
It's probably trivial, which makes it all the more embarrassing ;-)

Perhaps I should have asked a more general question: what are the options for parsing XML on GS and which one is recommended for simple files?

The XML in this case is my own data export from another GS repository. I could use VW to parse and load the data, but I'd like to makes this all work from a Topaz script. 

Bob


On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <[hidden email]> wrote:
Bob,

AFAIK, the code should load in exactly the same way into a non-GLASS gemstone setup as well, providing you have Metacellopreview and Grease loaded.

But I'm a GLASS user, so I might miss a detail about the non GLASS?

Johan

On 27 Nov 2013, at 23:36, [hidden email] wrote:

Hello all,
I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and could use XMLPullParser. What is the easiest way to get the code into GS?
I used Metacello to load the code into a Pharo image, and I'm sure that I can get the code in GS various ways, but it feels like I'm hacking ... there must be simple way (I've had my head buried in our application framework code; not enough time to learn new things).

Any suggestions?

Thanks,
Bob Nemec


On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <[hidden email]> wrote:
Bruno,

I don’t know of any previously existing version of XMLPullParser for Gemstone/GLASS. This is why I started the github repository [1] for it.
It turns out that the code changes for GLASS are very minimal; even so small that the GLASS version will work in Pharo too. 

I now included load instructions in the README of the repo [1].
Mind that in [2], Dale gives more info on how to work with Smalltalk and Metacello on Github.

The question is if the small set of tests are representative to say anything about the full workings of the parser. There were some unimplemented messages being sent in the original code base, which gives me the impression it is a work in progress. So, we will have to see wether the GLASS and Pharo versions diverge or merge.

Cheers
Johan


On 23 Nov 2013, at 16:10, BrunoBB <[hidden email]> wrote:

Hi,

Which is the official Monticello repository for GLASS XMLPullParser ?

Or how i install XMLPullParser into GLASS from github ?

Regards,
Bruno



--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] xml pull parser for gemstone/glass

Dale Henrichs-3
In reply to this post by Bob Nemec
Bob,

I'm coming into this late, so it's not clear exactly what you are trying to do ... are you intending to use XMLPull parser in a glass installation or are you trying to get the code exported for port to VW or ???

Dale

From: [hidden email]
To: [hidden email]
Sent: Friday, November 29, 2013 5:48:52 AM
Subject: Re: [Glass] xml pull parser for gemstone/glass

Hmmm... I guess it does not hurt to ask: can anyone with XMLPullParser installed into a GLASS GS do a GS fileout of the classes and make the files available?
It would save me some time; I'm having some irritations with my Linux VM install for the GLASS server.

XPPEvent
XPPEndDocumument
XPPStartDocument
XPPTagEvent
XPPEndTag
XPPStartTag
XPPText
XPPStructureException
XPPTag
XMLPullParser

Thanks,
Bob


On Thursday, November 28, 2013 4:53:50 PM, "[hidden email]" <[hidden email]> wrote:
Paul,
I have XMLPullParser loaded into a GemTools-1.0-beta.8.7-3101x Pharo image and I'm installing GLASS into a new Linux VM so that I can load & then file out the XMLPullParser classes... feels like I'm using a Bazooka to kill a fly. 

Sure would be nice if GS had a public code repository that could be accessed from Topaz. 

Bob


On Thursday, November 28, 2013 4:40:32 PM, Paul DeBruicker <[hidden email]> wrote:
Hi Bob,

I don't have much to add but that the current stable GemTools only works in
Pharo 1.1.



Does the base GS have the Gofer class?

Good luck

Paul





Bob Nemec wrote

> BTW: I am trying to get GemTools to work in my Pharo image
> (Pharo3.0 update: #30598) with the non-GLASS GS, but running...
>
>   Gofer new
>
>     squeaksource: 'MetacelloRepository';
>     package: 'ConfigurationOfGemTools';
>     load.
>   (Smalltalk at: #ConfigurationOfGemTools) 
>         perform: #loadLatestVersion.
>   (Smalltalk at: #GemToolsHelpBrowser) open. 
>
> ...but when #loadLatestVersion is sent I get a syntax error...
>
> ffiPrintString: aString
> "FFITestLibrary ffiPrintString: 'Hello'"
> <cdecl: char'>
> ' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
> ^self externalCallFailed
>
> ...so now I'm hacking away with one-click GemTools Pharo image 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 8:15:02 AM, "

> bobn@

> " &lt;

> bobn@

> &gt; wrote:

> This is where I expose my ignorance: I don't know how to connect a Pharo
> image to a non-GLASS GS. 
> It's probably trivial, which makes it all the more embarrassing ;-)
>
> Perhaps I should have asked a more general question: what are the options
> for parsing XML on GS and which one is recommended for simple files?
>
> The XML in this case is my own data export from another GS repository. I
> could use VW to parse and load the data, but I'd like to makes this all
> work from a Topaz script. 
>
> Bob
>
>
>
> On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:

> Bob,
>
> AFAIK, the code should load in exactly the same way into a non-GLASS
> gemstone setup as well, providing you have Metacellopreview and Grease
> loaded.
>
> But I'm a GLASS user, so I might miss a detail about the non GLASS?
>
> Johan
>
>
> On 27 Nov 2013, at 23:36,

> bobn@

>  wrote:
>
>
> Hello all,
>>I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and
could use XMLPullParser. What is the easiest way to get the code into GS?
>>I used Metacello to load the code into a Pharo image, and I'm sure that I
can get the code in GS various ways, but it feels like I'm hacking ... there
must be simple way (I've had my head buried in our application framework
code; not enough time to learn new things).

>>
>>
>>Any suggestions?
>>
>>
>>Thanks,
>>Bob Nemec
>>
>>
>>
>>On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau &lt;

> johan@

> &gt; wrote:
>>
>>Bruno,
>>
>>
>>I don’t know of any previously existing version of XMLPullParser for
Gemstone/GLASS. This is why I started the github repository [1] for it.
>>It turns out that the code changes for GLASS are very minimal; even so
small that the GLASS version will work in Pharo too. 
>>
>>
>>I now included load instructions in the README of the repo [1].
>>Mind that in [2], Dale gives more info on how to work with Smalltalk and
Metacello on Github.
>>
>>
>>The question is if the small set of tests are representative to say
anything about the full workings of the parser. There were some
unimplemented messages being sent in the original code base, which gives me
the impression it is a work in progress. So, we will have to see wether the
GLASS and Pharo versions diverge or merge.
> [hidden email]

> &gt; wrote:
>>
>>Hi,
>>>
>>>Which is the official Monticello repository for GLASS XMLPullParser ?
>>>
>>>Or how i install XMLPullParser into GLASS from github ?
>>>
>>>Regards,
>>>Bruno
>>>
>>>
>>>
>>>--
>>>View this message in context:
http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
>>>Sent from the GLASS mailing list archive at Nabble.com.
>>>_______________________________________________
>>>Glass mailing list
>>>

> [hidden email]

>>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>
>>
>>
>>_______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
> _______________________________________________
>>Glass mailing list
>>

> [hidden email]

>>http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
>
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass
> _______________________________________________
> Glass mailing list

> [hidden email]

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
View this message in context: http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4726009.html

Sent from the GLASS mailing list archive at Nabble.com.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass