UK WebObjects Introduction course, July 17-21

2006-06-29 Thread Elizabeth Lynch

We have some places available on our next scheduled Introduction course:

Developing Internet Applications with WebObjects: July 17th - 21st

Courses are held at our training offices 30 minutes from Central  
London, 20 minutes from London Heathrow airport.  Have a look at our  
website or get in touch with me for information.


http://www.plsys.co.uk/schedule.htm

Liz
---
Liz Lynch  www.plsys.co.uk
[EMAIL PROTECTED]
tel: +44 (0)1494 814109
PL Software

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com


Re: WebObjects training

2006-07-10 Thread Elizabeth Lynch
Hi Gavin   Thanks for that. I'm struggling to find anyone who provides the courses in the UK is it possible to do them online? I've emailed Apple a few times but can't get a reply out of them. They seem to be very expensive so patience and books might be the only way forward. Ang suggestions for the books? Patience could be trickier with two young kids :) As Apple's UK WebObjects Training Partner we offer the courses in the UK - in fact we have a public 'Developing Internet Applications with WebObjects' running next week (July 17-21) with three places available.http://www.plsys.co.uk/schedule.htmGet in touch with me for more information.RegardsLiz---Liz LynchPL Software, UK ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

UK WebObjects Advanced Development course

2007-01-12 Thread Elizabeth Lynch

We have two places available on our next scheduled Advanced course:

Advanced WebObjects Development. January 29 - February 2nd

Courses are held at our training offices 30 minutes from Central  
London, 20 minutes from London Heathrow airport.  Have a look at our  
website or get in touch with me for more information.


http://www.plsys.co.uk/schedule.htm

Liz
---
Liz Lynch  www.plsys.co.uk
[EMAIL PROTECTED]
tel: +44 (0)1494 814109
PL Software

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com


UK WebObjects Introduction Course, Feb 26 - Mar 2

2007-02-07 Thread Elizabeth Lynch

We have two places available on our next scheduled Introduction course:

Developing Internet Applications with WebObjects. February 26th  
- March 2nd


Courses are held at our training offices 30 minutes from Central  
London, 20 minutes from London Heathrow airport.  Have a look at our  
website or get in touch with me for information.


http://www.plsys.co.uk/schedule.htm

Liz
---
Liz Lynch  www.plsys.co.uk
[EMAIL PROTECTED]
tel: +44 (0)1494 814109
PL Software
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com


Advanced WebObjects Development course, UK

2007-03-06 Thread Elizabeth Lynch

We have three places available on our next scheduled Advanced course:

Advanced WebObjects Development. March 26th - 30th

This course is very useful for developers who already have practical  
experience of working on a WebObjects project, and who want to  
investigate EOF in depth and learn how to fine tune their apps for  
efficiency.


Courses are held at our training offices 30 minutes from Central  
London, 20 minutes from London Heathrow airport.  Have a look at our  
website or get in touch with me for more information.


http://www.plsys.co.uk/schedule.htm

Liz
---
Liz Lynchwww.plsys.co.uk
[EMAIL PROTECTED]
tel: +44 (0)1494 814109
PL Software


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

WebObjects Introduction Course, April 23-27, UK

2007-04-02 Thread Elizabeth Lynch

We have some places available on our next scheduled Introduction course:

	Developing Internet Applications with WebObjects. April 23rd -  
April 27th.


This is a great course for people who want to make sure they get  
their WebObjects projects off to the best possible start!


Courses are held at our training offices 30 minutes from Central  
London, 20 minutes from London Heathrow airport.  Have a look at our  
website or get in touch with me for information.


http://www.plsys.co.uk/schedule.htm

Liz
---
Liz Lynch  www.plsys.co.uk
[EMAIL PROTECTED]
tel: +44 (0)1494 814109
PL Software

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com


Re: PK generation?!?

2008-09-10 Thread Elizabeth Lynch

Hi Ondra

I once had a similar problem using automatic PK generation with  
OpenBase - and discovered that the table in question only had a  
'normal' index set on the primary key field rather than a 'unique'  
index.  I don't know if Frontbase creates indexes in the same way,   
but if so it is definitely worth checking.


Liz



On 10 Sep 2008, at 16:06, Ondřej Čada wrote:


Hello all,

someone who understands how exactly does EOF generate PK's with  
FrontBase and the default setup (PK's generated automatically) --  
any idea whether (and if so, why) a duplicated PK can be generated?


A client just have reported to me this error:

Database Error: com.webobjects.eoaccess.EOGeneralAdaptorException:  
EvaluateExpression failed:  
com.webobjects.jdbcadaptor.FrontbasePlugIn$FrontbaseExpression:  
INSERT INTO ORDERITEM(RUBBER, PRICE, FROM, ORDER_ID,  
C_CREATION_DATE, DATE, OID, EXPRESS, PAD,  
DISAPPROVED_SINCE, PADCOLOR, COMPLETE, C_SAMPLEGROUP_CHECK,  
SAMPLE_ID) VALUES (NULL, NULL, NULL, 1019876, TIMESTAMP  
'2008-09-10 16:13:27.561', TIMESTAMP '2008-09-10 16:13:27.561',  
1042378, false, NULL, NULL, '?erná', 100, NULL, 1046134):
Next exception:SQL State:23 -- error code: 358 -- msg:  
Exception condition 358. Integrity constraint violation (PRIMARY  
KEY, ORDERITEM._C15(OID=1042378)).


Thanks,
---
Ondra Čada
OCSoftware: [EMAIL PROTECTED]   http://www.ocs.cz
private [EMAIL PROTECTED] http://www.ocs.cz/oc



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/liz% 
40plsys.co.uk


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Snow Leopard - developer installer

2009-12-18 Thread Elizabeth Lynch
Is there a recommended Installer out there for a virgin SL Client system yet?  
Or alternatively an up-to-date 'step by step' guide?  This is for a designer 
acquaintance who until now has been using a Tiger system to work with WO html 
components; now he has a brand new SL laptop and needs to get an 
Eclipse/WOLips/WO setup installed with the minimum amount of pain.

Previous threads discussed this a week ago, and it still seems that neither of 
the two installers (from Don and Jeremy) are SL-compatible  -  although I will 
be very happy to be proved wrong.

Liz




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: need to add dir to classpath

2010-01-13 Thread Elizabeth Lynch
Hi Patrick

How about right-clicking it and trying WOLips Tools-Include as Resource?

Liz

On 13 Jan 2010, at 14:30, Patrick Robinson wrote:

 No, that didn't work... it just gets ignored.  Thanks for the suggestion, 
 though; it sounded promising!  I thought it might result in the file's being 
 put into Contents/Resources/Java/, which *is* in the classpath.
 
 - Patrick
 
 
 On Jan 13, 2010, at 6:17 AM, David Avendasora wrote:
 
 Hi Patrick,
 
 This is just a stab-in-the-dark, but can't you just drop it into the Sources 
 directory?
 
 Dave
 
 On Jan 12, 2010, at 11:20 PM, Patrick Robinson wrote:
 
 I need to use a java library that expects to find my java keystore file 
 (which would normally be specified by the javax.net.ssl.keyStore system 
 property) in a directory on the classpath.
 
 How do I do that?  Is there a way to create a dir (perhaps under 
 Resources), and tell the build system to include it in the classpath?
 
 - Patrick
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/pgr%40vt.edu
 
 This email sent to p...@vt.edu
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
 
 This email sent to l...@plsys.co.uk
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-26 Thread Elizabeth Lynch
Hi

I have recently taken on support of a WebObjects project which builds and 
deploy a war file from the command line using maven and jetty (and is in 
Eclipse for code development).  I installed maven and the existing project code 
on my usual WO 5.4 development system and everything runs perfectly. 

I want to add the Houdah EOAccess framework to use the qualifier additions. I 
downloaded the source code from 
http://code.google.com/p/houdah-webobjects-frameworks/ and built EOControl and 
EOAccess frameworks by running mvn package with the packaging set to 'jar'. I 
have included an Info.plist  in src/main/resources and set the 'flatten' 
property for maven-wolifecycle-plugin. (I have tried with packaging set to 
woframework and also to jar).   I have installed the 3 jar files in my .m2 
maven repository,  set my project dependencies and checked that they are 
definitely included in my .war file snapshot after building.

When I run the resulting app and try to access the houdah qualifier I get the 
exception:

java.lang.IllegalArgumentException: Qualifier (groups CONTAINS at least 1 
match(es) for ((name = 'Test')) (class 
com.houdah.eocontrol.qualifiers.ExistsInRelationshipQualifier (does not 
implement EOQualifierSQLGeneration.

I can't work out how to get past this block.  Can anyone advise on a way to 
build the frameworks and successfully include them in the project so that (a) 
they will be included in the final .war and (b) will work?

Liz ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Elizabeth Lynch
Hi Henrique

Thanks for getting back to me.

I already had the .m2 settings.xml file present as per your instructions, so I 
therefore simply deleted my own com.houdah directory from the repository, 
and added the dependency to my project's pom file.

On doing mvn clean package, the Houdah frameworks were indeed downloaded and 
installed into the repository.   But my project build now fails with messages 
like:

WARNING] The POM for com.webobjects:JavaFoundation:jar:5.4.1-SNAPSHOT is 
missing, no dependency information available
[WARNING] The POM for com.webobjects:JavaFoundation:jar:6.0-SNAPSHOT is 
missing, no dependency information available
[WARNING] The POM for com.webobjects:JavaEOControl:jar:5.4.1-SNAPSHOT is 
missing, no dependency information available
[WARNING] The POM for com.webobjects:JavaEOControl:jar:6.0-SNAPSHOT is missing, 
no dependency information available
etc

and  then

ERROR] Failed to execute goal on project myproj: Could not resolve dependencies 
for project myproj.jar:1.0-SNAPSHOT: The following artifacts could not be 
resolved: com.webobjects:JavaFoundation:jar:6.0-SNAPSHOT, 
com.webobjects:JavaEOControl:jar:6.0-SNAPSHOT, 
com.webobjects:JavaEOAccess:jar:6.0-SNAPSHOT, 
com.webobjects:JavaJDBCAdaptor:jar:6.0-SNAPSHOT, com.webobjects:JavaXML:jar

The project actually uses java frameworks already in the repository in 
webobjects/apple/java-eo-access  etc

If I remove the HoudahEOAccess dependency in my pom, my project builds and runs 
fine again.

What's the best way round this?

Liz


On 27 Jun 2011, at 14:30, Henrique Prange wrote:

 Hi Elizabeth,
 
 You don't need to build it. The latest version of Houdah framework is 
 available in WOCommunity repository [1].
 
 Configure the Maven settings as described in this guide [2], and add the 
 following dependency to the pom.xml:
 
 dependency
   groupIdcom.houdah/groupId
   artifactIdHoudahEOAccess/artifactId
   version1.1/version
 /dependency
 
 Maven will download the HoudahEOAccess framework and the required transitive 
 dependencies for you. :)
 
 [1]http://maven.wocommunity.org
 [2]http://wiki.objectstyle.org/confluence/display/WOL/Quick+Start
 
 Sent from my iPhone
 
 On 26/06/2011, at 14:16, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 Hi
 
 I have recently taken on support of a WebObjects project which builds and 
 deploy a war file from the command line using maven and jetty (and is in 
 Eclipse for code development).  I installed maven and the existing project 
 code on my usual WO 5.4 development system and everything runs perfectly. 
 
 I want to add the Houdah EOAccess framework to use the qualifier additions. 
 I downloaded the source code from 
 http://code.google.com/p/houdah-webobjects-frameworks/ and built EOControl 
 and EOAccess frameworks by running mvn package with the packaging set to 
 'jar'. I have included an Info.plist  in src/main/resources and set the 
 'flatten' property for maven-wolifecycle-plugin. (I have tried with 
 packaging set to woframework and also to jar).   I have installed the 3 jar 
 files in my .m2 maven repository,  set my project dependencies and checked 
 that they are definitely included in my .war file snapshot after building.
 
 When I run the resulting app and try to access the houdah qualifier I get 
 the exception:
 
 java.lang.IllegalArgumentException: Qualifier (groups CONTAINS at least 1 
 match(es) for ((name = 'Test')) (class 
 com.houdah.eocontrol.qualifiers.ExistsInRelationshipQualifier (does not 
 implement EOQualifierSQLGeneration.
 
 I can't work out how to get past this block.  Can anyone advise on a way to 
 build the frameworks and successfully include them in the project so that 
 (a) they will be included in the final .war and (b) will work?
 
 Liz ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
 
 This email sent to hpra...@gmail.com
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
 
 This email sent to l...@plsys.co.uk

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Elizabeth Lynch
Hi Henrique

If I use the exclusion, then maven builds the  package ok,  but when I run with 
jetty:run-war I get an exception:

Caused by: java.lang.ClassCastException: 
com.webobjects.foundation.NSLog$Log4JLogger cannot be cast to 
com.webobjects.foundation.NSLog$PrintStreamLogger
at com.houdah.foundation.PrincipalClass.clinit(PrincipalClass.java:53)
... 59 more
2011-06-27 22:48:51.722:INFO:/union:Unavailable 
javax.servlet.UnavailableException: Error initializing servlet adaptor: null

If I don't use the exclusion then even after deleting the entire com.webobjects 
in the repository, I get exactly the same problem with the SNAPSHOT poms and 
jars not being found. 

 Is  there anywhere I can get these SNAPSHOT jars that the Houdah frameworks 
seem to need ?

liz  


On 27 Jun 2011, at 19:57, Henrique Prange wrote:

 Hi Elizabeth,
 
 Looks like a problem with version ranges. Your repository metadata is 
 probably corrupted. You have two options:
 
 1) Go to the ~/.m2/repository/com/webobjects/* directories and delete every 
 maven-metadata* files.
 
 2) Add the Houdah dependency with the exclusion configuration as below:
 
 dependency
   groupIdcom.houdah/groupId
   artifactIdHoudahEOAccess/artifactId
   version1.1/version
   exclusions
   exclusion
   groupIdcom.webobjects/groupId
   artifactIdJavaFoundation/artifactId
   /exclusion
   exclusion
   groupIdcom.webobjects/groupId
   artifactIdJavaEOAccess/artifactId
   /exclusion
   exclusion
   groupIdcom.webobjects/groupId
   artifactIdJavaEOControl/artifactId
   /exclusion
   exclusion
   groupIdcom.webobjects/groupId
   artifactIdJavaJDBCAdaptor/artifactId
   /exclusion
   exclusion
   groupIdcom.webobjects/groupId
   artifactIdJavaXML/artifactId
   /exclusion
   /exclusions
 /dependency
 
 Try to run 'mvn clean install -U' and see what happens.
 
 Cheers,
 
 Henrique
 
 On 27/06/2011, at 13:56, Elizabeth Lynch wrote:
 
 Hi Henrique
 
 Thanks for getting back to me.
 
 I already had the .m2 settings.xml file present as per your instructions, so 
 I therefore simply deleted my own com.houdah directory from the 
 repository, and added the dependency to my project's pom file.
 
 On doing mvn clean package, the Houdah frameworks were indeed downloaded and 
 installed into the repository.   But my project build now fails with 
 messages like:
 
 WARNING] The POM for com.webobjects:JavaFoundation:jar:5.4.1-SNAPSHOT is 
 missing, no dependency information available
 [WARNING] The POM for com.webobjects:JavaFoundation:jar:6.0-SNAPSHOT is 
 missing, no dependency information available
 [WARNING] The POM for com.webobjects:JavaEOControl:jar:5.4.1-SNAPSHOT is 
 missing, no dependency information available
 [WARNING] The POM for com.webobjects:JavaEOControl:jar:6.0-SNAPSHOT is 
 missing, no dependency information available
 etc
 
 and  then
 
 ERROR] Failed to execute goal on project myproj: Could not resolve 
 dependencies for project myproj.jar:1.0-SNAPSHOT: The following artifacts 
 could not be resolved: com.webobjects:JavaFoundation:jar:6.0-SNAPSHOT, 
 com.webobjects:JavaEOControl:jar:6.0-SNAPSHOT, 
 com.webobjects:JavaEOAccess:jar:6.0-SNAPSHOT, 
 com.webobjects:JavaJDBCAdaptor:jar:6.0-SNAPSHOT, com.webobjects:JavaXML:jar
 
 The project actually uses java frameworks already in the repository in 
 webobjects/apple/java-eo-access  etc
 
 If I remove the HoudahEOAccess dependency in my pom, my project builds and 
 runs fine again.
 
 What's the best way round this?
 
 Liz
 
 
 On 27 Jun 2011, at 14:30, Henrique Prange wrote:
 
 Hi Elizabeth,
 
 You don't need to build it. The latest version of Houdah framework is 
 available in WOCommunity repository [1].
 
 Configure the Maven settings as described in this guide [2], and add the 
 following dependency to the pom.xml:
 
 dependency
 groupIdcom.houdah/groupId
 artifactIdHoudahEOAccess/artifactId
 version1.1/version
 /dependency
 
 Maven will download the HoudahEOAccess framework and the required 
 transitive dependencies for you. :)
 
 [1]http://maven.wocommunity.org
 [2]http://wiki.objectstyle.org/confluence/display/WOL/Quick+Start
 
 Sent from my iPhone
 
 On 26/06/2011, at 14:16, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 Hi
 
 I have recently taken on support of a WebObjects project which builds and 
 deploy a war file from the command line using maven and jetty (and is in 
 Eclipse for code development).  I installed maven and the existing project 
 code on my usual WO 5.4 development system and everything runs perfectly. 
 
 I want to add the Houdah EOAccess framework to use the qualifier 
 additions. I downloaded the source code from 
 http://code.google.com/p/houdah-webobjects-frameworks/ and built EOControl 
 and EOAccess frameworks by running mvn package with the packaging set to 
 'jar'. I have included an Info.plist  in src/main/resources and set the 
 'flatten

ERRest - problem outputting xml as JSON object

2011-07-15 Thread Elizabeth Lynch
I am building an ERRest application (read only), and am having a problem with 
one field.  This field holds an xml string, which I need to embed into the 
output from show and index actions; it will be consumed as json (mainly; 
possibly only).

For example, I would like to receive:

{name : A Record, data : { fieldA : valueA, fieldB : valueB } }

where the data attribute comes from:

SomeElement FieldA=valueAFieldBvalueB/FieldB/SomeElement

Or something similar to that.  I can use net.sf.json to do the conversion 
directly, which produces satisfactory strings, but that doesn't cope with the 
XML output format case, and I can't figure out how to pass it into my JSON 
output.  If I do that with a String field, then obviously it is output as a 
string value, not as a JSON object, which isn't what I want.

In short, the XML is a moderately complex object, which I need to output as an 
object in the JSON format.

All ideas appreciated.

Liz ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Elizabeth Lynch
Hi Pascal

Sorry, I didn't explain the problem clearly.  I am doing that already. The 
problem is that it comes as a string in my JSON output, not as an object. 

Liz

Sent from my iPhone

On 15 Jul 2011, at 12:39, Pascal Robert prob...@macti.ca wrote:

 I think the best way would be to transform the XML to a Java object and 
 transform that object back to JSON.
 
 I am building an ERRest application (read only), and am having a problem 
 with one field.  This field holds an xml string, which I need to embed into 
 the output from show and index actions; it will be consumed as json (mainly; 
 possibly only).
 
 For example, I would like to receive:
 
 {name : A Record, data : { fieldA : valueA, fieldB : valueB } }
 
 where the data attribute comes from:
 
 SomeElement FieldA=valueAFieldBvalueB/FieldB/SomeElement
 
 Or something similar to that.  I can use net.sf.json to do the conversion 
 directly, which produces satisfactory strings, but that doesn't cope with 
 the XML output format case, and I can't figure out how to pass it into my 
 JSON output.  If I do that with a String field, then obviously it is output 
 as a string value, not as a JSON object, which isn't what I want.
 
 In short, the XML is a moderately complex object, which I need to output as 
 an object in the JSON format.
 
 All ideas appreciated.
 
 Liz ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Elizabeth Lynch
Hi Farrukh

Thanks: that's a good suggestion, but I need to get it into JSON before it 
leaves the server, so that technique won't work for me.

Liz

On 15 Jul 2011, at 15:55, Farrukh Ijaz wrote:

 Hi Liz,
 
 That's a common issue. Suppose you receive the JSON mentioned below, once you 
 get the value of data attribute which is a JSON object in string format, 
 evaluate it using eval() method of javascript and it will be converted to 
 JSON.
 
 Farrukh
 
 Sent from my iPad 2
 
 On 2011-07-15, at 3:58 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 Hi Pascal
 
 Sorry, I didn't explain the problem clearly.  I am doing that already. The 
 problem is that it comes as a string in my JSON output, not as an object. 
 
 Liz
 
 Sent from my iPhone
 
 On 15 Jul 2011, at 12:39, Pascal Robert prob...@macti.ca wrote:
 
 I think the best way would be to transform the XML to a Java object and 
 transform that object back to JSON.
 
 I am building an ERRest application (read only), and am having a problem 
 with one field.  This field holds an xml string, which I need to embed 
 into the output from show and index actions; it will be consumed as json 
 (mainly; possibly only).
 
 For example, I would like to receive:
 
 {name : A Record, data : { fieldA : valueA, fieldB : valueB 
 } }
 
 where the data attribute comes from:
 
 SomeElement FieldA=valueAFieldBvalueB/FieldB/SomeElement
 
 Or something similar to that.  I can use net.sf.json to do the conversion 
 directly, which produces satisfactory strings, but that doesn't cope with 
 the XML output format case, and I can't figure out how to pass it into my 
 JSON output.  If I do that with a String field, then obviously it is 
 output as a string value, not as a JSON object, which isn't what I want.
 
 In short, the XML is a moderately complex object, which I need to output 
 as an object in the JSON format.
 
 All ideas appreciated.
 
 Liz ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
 
 This email sent to farrukh.i...@fuegodigitalmedia.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Elizabeth Lynch
Hi

 I think you can define an additional getter method over data as 
 dataDictionary() which should return the data xml as NSDictionary. This will 
 solve the problem for both XML and JSON.

Unfortunately that isn't working for me.  Here's some more information I've 
discovered about the ERREST problem; it looks like it can't cope with 
Collections (List/Map, or ArrayList/HashMap). Perhaps it wants nasty beans?  
Below is an example showing it not coping with a dictionary.

'data' is a derived attribute, returning a dictionary, declared as 
ERXKeyObject in the ERXKeyFilter (or NSDictionary), it returns:

data:{nil:true}

An NSArray returns:

data:[stringValue]}

which is much better.  But an array of dictionary gives:

data:[{nil:true}]}

So it seems that the JSON converter is having issues with NSDictionary/Hashmap 
(I've tried both).

Does anyone have any ideas?

Liz

 
 Farrukh
 
 On 2011-07-15, at 7:24 PM, Elizabeth Lynch wrote:
 
 Hi Farrukh
 
 Thanks: that's a good suggestion, but I need to get it into JSON before it 
 leaves the server, so that technique won't work for me.
 
 Liz
 
 On 15 Jul 2011, at 15:55, Farrukh Ijaz wrote:
 
 Hi Liz,
 
 That's a common issue. Suppose you receive the JSON mentioned below, once 
 you get the value of data attribute which is a JSON object in string 
 format, evaluate it using eval() method of javascript and it will be 
 converted to JSON.
 
 Farrukh
 
 Sent from my iPad 2
 
 On 2011-07-15, at 3:58 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 Hi Pascal
 
 Sorry, I didn't explain the problem clearly.  I am doing that already. The 
 problem is that it comes as a string in my JSON output, not as an object. 
 
 Liz
 
 Sent from my iPhone
 
 On 15 Jul 2011, at 12:39, Pascal Robert prob...@macti.ca wrote:
 
 I think the best way would be to transform the XML to a Java object and 
 transform that object back to JSON.
 
 I am building an ERRest application (read only), and am having a problem 
 with one field.  This field holds an xml string, which I need to embed 
 into the output from show and index actions; it will be consumed as json 
 (mainly; possibly only).
 
 For example, I would like to receive:
 
 {name : A Record, data : { fieldA : valueA, fieldB : 
 valueB } }
 
 where the data attribute comes from:
 
 SomeElement FieldA=valueAFieldBvalueB/FieldB/SomeElement
 
 Or something similar to that.  I can use net.sf.json to do the 
 conversion directly, which produces satisfactory strings, but that 
 doesn't cope with the XML output format case, and I can't figure out how 
 to pass it into my JSON output.  If I do that with a String field, then 
 obviously it is output as a string value, not as a JSON object, which 
 isn't what I want.
 
 In short, the XML is a moderately complex object, which I need to output 
 as an object in the JSON format.
 
 All ideas appreciated.
 
 Liz ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
 
 This email sent to farrukh.i...@fuegodigitalmedia.com
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Elizabeth Lynch
Hi

 That should work. What key filter are you using? Are you not allowing keys in 
 from the nested dictionary?

Here is my implementation of data for testing (from Category.java):

public NSDictionary data() { 
return new NSDictionary(key, stringValue);
}

and  my showFilter (from CategoryController.java):

public static ERXKeyFilter showFilter() {
ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
filter.include(new ERXKeyNSDictionaryString,String(data));
return filter;
}

results in:

data:{nil:true}
I assume this is the result of something incredibly obvious that I have 
overlooked :-).

Liz


 
 On Jul 15, 2011, at 1:43 PM, Elizabeth Lynch wrote:
 
 Hi
 
 I think you can define an additional getter method over data as 
 dataDictionary() which should return the data xml as NSDictionary. This 
 will solve the problem for both XML and JSON.
 
 Unfortunately that isn't working for me.  Here's some more information I've 
 discovered about the ERREST problem; it looks like it can't cope with 
 Collections (List/Map, or ArrayList/HashMap). Perhaps it wants nasty beans?  
 Below is an example showing it not coping with a dictionary.
 
 'data' is a derived attribute, returning a dictionary, declared as 
 ERXKeyObject in the ERXKeyFilter (or NSDictionary), it returns:
 
  data:{nil:true}
 
 An NSArray returns:
 
  data:[stringValue]}
 
 which is much better.  But an array of dictionary gives:
 
  data:[{nil:true}]}
 
 So it seems that the JSON converter is having issues with 
 NSDictionary/Hashmap (I've tried both).
 
 Does anyone have any ideas?
 
 Liz
 
 
 Farrukh
 
 On 2011-07-15, at 7:24 PM, Elizabeth Lynch wrote:
 
 Hi Farrukh
 
 Thanks: that's a good suggestion, but I need to get it into JSON before it 
 leaves the server, so that technique won't work for me.
 
 Liz
 
 On 15 Jul 2011, at 15:55, Farrukh Ijaz wrote:
 
 Hi Liz,
 
 That's a common issue. Suppose you receive the JSON mentioned below, once 
 you get the value of data attribute which is a JSON object in string 
 format, evaluate it using eval() method of javascript and it will be 
 converted to JSON.
 
 Farrukh
 
 Sent from my iPad 2
 
 On 2011-07-15, at 3:58 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 Hi Pascal
 
 Sorry, I didn't explain the problem clearly.  I am doing that already. 
 The problem is that it comes as a string in my JSON output, not as an 
 object. 
 
 Liz
 
 Sent from my iPhone
 
 On 15 Jul 2011, at 12:39, Pascal Robert prob...@macti.ca wrote:
 
 I think the best way would be to transform the XML to a Java object and 
 transform that object back to JSON.
 
 I am building an ERRest application (read only), and am having a 
 problem with one field.  This field holds an xml string, which I need 
 to embed into the output from show and index actions; it will be 
 consumed as json (mainly; possibly only).
 
 For example, I would like to receive:
 
 {name : A Record, data : { fieldA : valueA, fieldB : 
 valueB } }
 
 where the data attribute comes from:
 
 SomeElement FieldA=valueAFieldBvalueB/FieldB/SomeElement
 
 Or something similar to that.  I can use net.sf.json to do the 
 conversion directly, which produces satisfactory strings, but that 
 doesn't cope with the XML output format case, and I can't figure out 
 how to pass it into my JSON output.  If I do that with a String field, 
 then obviously it is output as a string value, not as a JSON object, 
 which isn't what I want.
 
 In short, the XML is a moderately complex object, which I need to 
 output as an object in the JSON format.
 
 All ideas appreciated.
 
 Liz ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
 
 This email sent to farrukh.i...@fuegodigitalmedia.com
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
 
 This email sent to msch...@pobox.com
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options

Re: ERRest - problem outputting xml as JSON object

2011-07-15 Thread Elizabeth Lynch
Hi Farrukh

filterWithAllRecursive works great.

Thanks for the help everyone.

Liz

On 15 Jul 2011, at 21:37, Farrukh Ijaz wrote:

 Use ERXKeyFilter.filterWithAll() or ERXKeyFilter.filterWithAllRecrusive()
 
 Farrukh
 
 On 2011-07-15, at 11:12 PM, Elizabeth Lynch wrote:
 
 Hi
 
 That should work. What key filter are you using? Are you not allowing keys 
 in from the nested dictionary?
 
 Here is my implementation of data for testing (from Category.java):
 
  public NSDictionary data() { 
  return new NSDictionary(key, stringValue);
  }
 
 and  my showFilter (from CategoryController.java):
 
  public static ERXKeyFilter showFilter() {
  ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
  filter.include(new ERXKeyNSDictionaryString,String(data));
  return filter;
  }
 
 results in:
 
 data:{nil:true}
 I assume this is the result of something incredibly obvious that I have 
 overlooked :-).
 
 Liz
 
 
 
 On Jul 15, 2011, at 1:43 PM, Elizabeth Lynch wrote:
 
 Hi
 
 I think you can define an additional getter method over data as 
 dataDictionary() which should return the data xml as NSDictionary. This 
 will solve the problem for both XML and JSON.
 
 Unfortunately that isn't working for me.  Here's some more information 
 I've discovered about the ERREST problem; it looks like it can't cope with 
 Collections (List/Map, or ArrayList/HashMap). Perhaps it wants nasty 
 beans?  Below is an example showing it not coping with a dictionary.
 
 'data' is a derived attribute, returning a dictionary, declared as 
 ERXKeyObject in the ERXKeyFilter (or NSDictionary), it returns:
 
data:{nil:true}
 
 An NSArray returns:
 
data:[stringValue]}
 
 which is much better.  But an array of dictionary gives:
 
data:[{nil:true}]}
 
 So it seems that the JSON converter is having issues with 
 NSDictionary/Hashmap (I've tried both).
 
 Does anyone have any ideas?
 
 Liz
 
 
 Farrukh
 
 On 2011-07-15, at 7:24 PM, Elizabeth Lynch wrote:
 
 Hi Farrukh
 
 Thanks: that's a good suggestion, but I need to get it into JSON before 
 it leaves the server, so that technique won't work for me.
 
 Liz
 
 On 15 Jul 2011, at 15:55, Farrukh Ijaz wrote:
 
 Hi Liz,
 
 That's a common issue. Suppose you receive the JSON mentioned below, 
 once you get the value of data attribute which is a JSON object in 
 string format, evaluate it using eval() method of javascript and it 
 will be converted to JSON.
 
 Farrukh
 
 Sent from my iPad 2
 
 On 2011-07-15, at 3:58 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 Hi Pascal
 
 Sorry, I didn't explain the problem clearly.  I am doing that already. 
 The problem is that it comes as a string in my JSON output, not as an 
 object. 
 
 Liz
 
 Sent from my iPhone
 
 On 15 Jul 2011, at 12:39, Pascal Robert prob...@macti.ca wrote:
 
 I think the best way would be to transform the XML to a Java object 
 and transform that object back to JSON.
 
 I am building an ERRest application (read only), and am having a 
 problem with one field.  This field holds an xml string, which I 
 need to embed into the output from show and index actions; it will 
 be consumed as json (mainly; possibly only).
 
 For example, I would like to receive:
 
 {name : A Record, data : { fieldA : valueA, fieldB : 
 valueB } }
 
 where the data attribute comes from:
 
 SomeElement FieldA=valueAFieldBvalueB/FieldB/SomeElement
 
 Or something similar to that.  I can use net.sf.json to do the 
 conversion directly, which produces satisfactory strings, but that 
 doesn't cope with the XML output format case, and I can't figure out 
 how to pass it into my JSON output.  If I do that with a String 
 field, then obviously it is output as a string value, not as a JSON 
 object, which isn't what I want.
 
 In short, the XML is a moderately complex object, which I need to 
 output as an object in the JSON format.
 
 All ideas appreciated.
 
 Liz ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
 
 This email sent to farrukh.i...@fuegodigitalmedia.com
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
 
 This email sent to msch

ERRest - problem with baseQualifier not being applied

2011-07-23 Thread Elizabeth Lynch
My ERREST application has progressed nicely, feeding an iPhone app, and I have 
a couple more very similar projects to work on over summer.

However, I am experiencing a problem with my baseQualifier not being applied.  
Code sample:

public class CategoryController extends ERXRouteController {
...
public static EOQualifier baseQualifier() {
return new EOKeyValueQualifier(Category.RUN_ID_KEY, 
EOQualifier.QualifierOperatorEqual, runId());
}
...
public WOActionResults indexAction() {
NSLog.debug.appendln(indexAction reached  + baseQualifier());

ERXRestFetchSpecificationCategory fetchSpec = new 
ERXRestFetchSpecificationCategory(Category.ENTITY_NAME, null, 
baseQualifier(), queryFilter(), null, 25);
return response(fetchSpec, showFilter());
}

Query sent:

/ra/category.json?qualifier=parent='1669'

Output:

14004 [WorkerThread15] DEBUG NSLog  - indexAction reached (runId = 
'20110723:11:50')


queryFilter() has the line:

filter.exclude(new ERXKeyString(runId));

but removing that line has no effect.


The values returned include all Category objects; however, I expected to see 
only those matching the baseQualifier AND the URL specified qualifier; is this 
correct?   How do I achieve this result?

Liz

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERRest - problem with baseQualifier not being applied

2011-07-23 Thread Elizabeth Lynch
Hi

Just to reassure people…

NSURL *requestURL = [NSURL URLWithString:[[endpoint 
stringByAppendingString:requestPath] 
stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]];

(the method is a standard string method).

The results I get are those I'd expect to see if the query was applied on it's 
own: but it's not being combind with the base qualifier.  ie it's returning all 
records where parent is 1669, but not restricted to the set for the base runId.

Liz

On 23 Jul 2011, at 18:24, Pascal Robert wrote:

 
 Le 2011-07-23 à 12:17, Elizabeth Lynch a écrit :
 
 My ERREST application has progressed nicely, feeding an iPhone app, and I 
 have a couple more very similar projects to work on over summer.
 
 However, I am experiencing a problem with my baseQualifier not being 
 applied.  Code sample:
 
  public class CategoryController extends ERXRouteController {
  ...
  public static EOQualifier baseQualifier() {
  return new EOKeyValueQualifier(Category.RUN_ID_KEY, 
 EOQualifier.QualifierOperatorEqual, runId());
  }
  ...
  public WOActionResults indexAction() {
  NSLog.debug.appendln(indexAction reached  + baseQualifier());
 
  ERXRestFetchSpecificationCategory fetchSpec = new 
 ERXRestFetchSpecificationCategory(Category.ENTITY_NAME, null, 
 baseQualifier(), queryFilter(), null, 25);
  return response(fetchSpec, showFilter());
  }
 
 Query sent:
 
  /ra/category.json?qualifier=parent='1669'
 
 I don't think you can put two = in a single parameter. The correct format is:
 
  ?qualifier=someAttr%3D'SomeValue'
 
 so it would be:
 
  ?qualifier= parent%3D'1669'
 
 See:
 
 Capture d’écran 2011-07-23 à 13.24.08.png
 Output:
 
  14004 [WorkerThread15] DEBUG NSLog  - indexAction reached (runId = 
 '20110723:11:50')
 
 
 queryFilter() has the line:
 
  filter.exclude(new ERXKeyString(runId));
 
 but removing that line has no effect.
 
 
 The values returned include all Category objects; however, I expected to see 
 only those matching the baseQualifier AND the URL specified qualifier; is 
 this correct?   How do I achieve this result?
 
 Liz
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERRest - problem with baseQualifier not being applied (Solved)

2011-07-23 Thread Elizabeth Lynch
Hi

I discovered I had a mixture of 2 problems: firstly there was a database 
integrity problem, and secondly my encoding of the qualifier over-enthusiastic 
(I hadn't realised that it's essential the url is only partially encoded, with 
the 'qualifier=' staying as '=' rather than '%3D'.

Thanks for the pointers.

Liz


On 23 Jul 2011, at 18:27, Pascal Robert wrote:

 
 Le 2011-07-23 à 12:17, Elizabeth Lynch a écrit :
 
 My ERREST application has progressed nicely, feeding an iPhone app, and I 
 have a couple more very similar projects to work on over summer.
 
 However, I am experiencing a problem with my baseQualifier not being 
 applied.  Code sample:
 
  public class CategoryController extends ERXRouteController {
  ...
  public static EOQualifier baseQualifier() {
  return new EOKeyValueQualifier(Category.RUN_ID_KEY, 
 EOQualifier.QualifierOperatorEqual, runId());
  }
  ...
  public WOActionResults indexAction() {
  NSLog.debug.appendln(indexAction reached  + baseQualifier());
 
  ERXRestFetchSpecificationCategory fetchSpec = new 
 ERXRestFetchSpecificationCategory(Category.ENTITY_NAME, null, 
 baseQualifier(), queryFilter(), null, 25);
  return response(fetchSpec, showFilter());
  }
 
 Query sent:
 
  /ra/category.json?qualifier=parent='1669'
 
 I don't think you can put two = in a single parameter. The correct format is:
 
 ?qualifier=someAttr%3D'SomeValue'
 
 so it would be:
 
 ?qualifier= parent%3D'1669'
 
 See:
 
 Capture d’écran 2011-07-23 à 13.24.08.gif
 
 Output:
 
  14004 [WorkerThread15] DEBUG NSLog  - indexAction reached (runId = 
 '20110723:11:50')
 
 
 queryFilter() has the line:
 
  filter.exclude(new ERXKeyString(runId));
 
 but removing that line has no effect.
 
 
 The values returned include all Category objects; however, I expected to see 
 only those matching the baseQualifier AND the URL specified qualifier; is 
 this correct?   How do I achieve this result?
 
 Liz
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: javamonitor and wotaskd won't start after os x updates

2013-07-01 Thread Elizabeth Lynch
Hi

We have exactly the same problem: some Apple updates were applied yesterday on 
a client's Snow Leopard server (I don't know exactly what), and now wotaskd and 
JavaMonitor won't start automatically. We got the kCGErrorFailure message at 
one point: now I just see 'Exited with exit code (1)'.

Both start fine when started from Terminal, so for the moment I have got the 
site back running by starting the 2 apps from Terminal with:

sudo -u appserver  
/System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
and
sudo -u appserver  
/System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor

But of course this is just a temporary 'fix' to keep the client's website up 
while we find the real solution.

I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa and 
wotaskd.woa to be owned by appserver:wheel and by appserver:appserverusr. This 
made no difference. 

Liz

On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote:

 Hi Greg,
 
 can you start WOMonitor manually? Try to execute
 
   /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
 
 (if you are using the original Apple WOMonitor, or the one from Wonder 
 wherever you've installed it)
 
 Does the log (defined in your LaunchDaemon's 
 com.apple.webobjects.womonitor.plist) tells you anything?
 
 C.U.CW
 -- 
 What are the three enemies of a programmer? Sunlight, oxygen, and the 
 appalling roar of the birds.
 
 On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote:
 
 Hello,
 
 We have a WebObjects app running on a Snow Leopard Server.  Some OS X 
 updates were applied recently, and now WebObjects javamontor, wotaskd, and 
 hence our app are not starting up.
 
 I saw this error in /var/log/system.log:
 
 Suspicious setup: User appserver maps to user: _appserver
 
 I modified the LaunchAgent plist files so that the user and group name now 
 have dashes in front of them and reloaded the files into launchd with 
 launchctl.  The error I see now is this:
 
 kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as 
 they are logged.
 
 This seems like some issue with java not being able to connect to the window 
 server, but I was not able to find any solutions.  Does this look familiar 
 to anyone?
 
 Much thanks,
 
 Greg
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com
 
 This email sent to wi...@me.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
 
 This email sent to l...@plsys.co.uk


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Broken Javamonitor and wotaskd apps and builds.

2013-07-01 Thread Elizabeth Lynch
Hi

Are you able to make your working JavaMonitor and wotaskd available?

I would like to try installing them on our client's Snow Leopard server, which 
has the same broken problem after an Apple update.

Liz

On 30 Jun 2013, at 14:38, G Brown gsbr...@umich.edu wrote:

 Fun.
 
 Apple updates leads to broken Javamonitor and wotaskd.
 
 This was on an older snow leopard system, so I thought–after too much time of 
 googling around–maybe it is time to use the updated Web objects community 
 version of Javamonitor and wotaskd.
 
 Try 1:
 
 All these things should be built and downloadable from the nexus library 
 (maven) . Should be easy, right? I go to the repository and download 
 Javamonitor; move it into place, and then I look what's inside of it. No 
 application, no wobootstrap, etc. All the wonder applications are built wrong 
 in the maven repositories.
 
 Try 2:
 
 Well let's go back to the source and rebuild it. We switch to the 5.8 release 
 and try to compile. Something's broken, lots of errors with rest stuff. Build 
 failed.
 
 
 * wonder_5   e10c06a [pw/wonder_5] Wonder 5.8.2 
 release. Commits from integration branch from October 09th 2012 to November 
 07th 2012.
 
 
 
 global.dummy:
 [wocompile] Compiling 28 source files to /Users/gb/Roots/classes/ERRest
 [wocompile] 
 /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:737:
  cannot find symbol
 [wocompile] symbol  : method notEqual(java.lang.Classcapture#357 of ? 
 extends er.rest.routes.ERXRouteController,java.lang.Classcapture#494 of ? 
 extends er.rest.routes.ERXRouteController)
 [wocompile] location: class org.apache.commons.lang.ObjectUtils
 [wocompile]   boolean isDifferentController = 
 ObjectUtils.notEqual(duplicateRoute.controller(), route.controller());
 [wocompile]  ^
 [wocompile] 
 /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java:738:
  cannot find symbol
 [wocompile] symbol  : method notEqual(java.lang.String,java.lang.String)
 [wocompile] location: class org.apache.commons.lang.ObjectUtils
 [wocompile]   boolean isDifferentAction = 
 ObjectUtils.notEqual(duplicateRoute.action(), route.action());
 [wocompile]  ^
 [wocompile] Note: 
 /Users/gb/SoftwareProjects/woprojects/wondergit/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteRequestHandler.java
  uses unchecked or unsafe operations.
 [wocompile] Note: Recompile with -Xlint:unchecked for details.
 [wocompile] 2 errors
 
 BUILD FAILED
 /Users/gb/SoftwareProjects/woprojects/wondergit/build.xml:12: The following 
 error occurred while executing this line:
 /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1377: 
 The following error occurred while executing this line:
 /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:1368: 
 The following error occurred while executing this line:
 /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/build.xml:119: 
 The following error occurred while executing this line:
 /Users/gb/SoftwareProjects/woprojects/wondergit/Build/build/generic.xml:270: 
 Compile failed; see the compiler error output for details.
 
 Total time: 17 seconds
 
 
 Try 3:
 
 Maybe the web apps which Jenkins builds will work. What version they are who 
 knows, and who knows if it will work with Snow Leopard and Java 6. Let's try! 
 Download the items and put them in the right spot. Doesn't work. They have 
 quarantine attributes, so I remove those from everything, and they still 
 don't work. Looking closer inside, the woa/Javamonitor has the wrong 
 permissions. _Appserver tries to run these applications, but root and wheel 
 own them, so they don't run. I fixed the permissions and now they do run.
 
 Tomorrow I will try to figure out how to put these issues into the issue 
 tracker; unless everything else breaks.
 
 G Brown
 gsbr...@umich.edu
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
 
 This email sent to l...@plsys.co.uk


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: javamonitor and wotaskd won't start after os x updates

2013-07-01 Thread Elizabeth Lynch
Hi Greg

The executable needs to be owned by appserver:appserveradm, so do something 
like:


cd /Library/WebServer/Applications
chown -R appserver:appserveradm MyApp

and then see if it will start via Monitor.

LIz

On 1 Jul 2013, at 22:40, Bogdan Zlatanov bogdan.zlata...@gmail.com wrote:

 Hi Greg,
 
 On 1 Jul 2013, at 23:36, Greg Lappen wrote:
 
 Thanks for the info Liz.  I did what you said, but when the monitor page 
 opens in the browser and I try to start my app, it never starts.  Nothing 
 relevant appears in the log files :(
 
 
 Check the application permissions, especially the executable.
 
 
 On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 Hi
 
 We have exactly the same problem: some Apple updates were applied yesterday 
 on a client's Snow Leopard server (I don't know exactly what), and now 
 wotaskd and JavaMonitor won't start automatically. We got the 
 kCGErrorFailure message at one point: now I just see 'Exited with exit code 
 (1)'.
 
 Both start fine when started from Terminal, so for the moment I have got the 
 site back running by starting the 2 apps from Terminal with:
 
 sudo -u appserver  
 /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
 and
 sudo -u appserver  
 /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor
 
 But of course this is just a temporary 'fix' to keep the client's website up 
 while we find the real solution.
 
 I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa 
 and wotaskd.woa to be owned by appserver:wheel and by 
 appserver:appserverusr. This made no difference.
 
 Liz
 
 On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote:
 
  Hi Greg,
 
  can you start WOMonitor manually? Try to execute
 

  /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
 
  (if you are using the original Apple WOMonitor, or the one from Wonder 
  wherever you've installed it)
 
  Does the log (defined in your LaunchDaemon's 
  com.apple.webobjects.womonitor.plist) tells you anything?
 
  C.U.CW
  --
  What are the three enemies of a programmer? Sunlight, oxygen, and the 
  appalling roar of the birds.
 
  On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote:
 
  Hello,
 
  We have a WebObjects app running on a Snow Leopard Server.  Some OS X 
  updates were applied recently, and now WebObjects javamontor, wotaskd, 
  and hence our app are not starting up.
 
  I saw this error in /var/log/system.log:
 
  Suspicious setup: User appserver maps to user: _appserver
 
  I modified the LaunchAgent plist files so that the user and group name 
  now have dashes in front of them and reloaded the files into launchd with 
  launchctl.  The error I see now is this:
 
  kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors 
  as they are logged.
 
  This seems like some issue with java not being able to connect to the 
  window server, but I was not able to find any solutions.  Does this look 
  familiar to anyone?
 
  Much thanks,
 
  Greg
  ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com
 
  This email sent to wi...@me.com
 
 
  ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
 
  This email sent to l...@plsys.co.uk
 
 
  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com
 
 This email sent to g...@lapcominc.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com
 
 This email sent to bogdan.zlata...@gmail.com
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: javamonitor and wotaskd won't start after os x updates

2013-07-01 Thread Elizabeth Lynch
Hi

I have followed gsbr...@umich.edu 's suggestion of installing the Wonder 
wotaskd and JavaMonitor, and this has solved the problem on our client's server.

You can download these from the jenkins site at:

http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild

After copying them to the correct location (I made sure to take a backup copy 
of the original Apple ones first), remove the quarantine bit for both apps:

xattr -d com.apple.quarantine wotaskd.woa

and set the permissions:

chown -R appserver wotaskd.woa

Then restart via launchctl or reboot the server.

This worked for me: I hope it does for you too.

Liz


On 1 Jul 2013, at 22:40, Bogdan Zlatanov bogdan.zlata...@gmail.com wrote:

 Hi Greg,
 
 On 1 Jul 2013, at 23:36, Greg Lappen wrote:
 
 Thanks for the info Liz.  I did what you said, but when the monitor page 
 opens in the browser and I try to start my app, it never starts.  Nothing 
 relevant appears in the log files :(
 
 
 Check the application permissions, especially the executable.
 
 
 On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 Hi
 
 We have exactly the same problem: some Apple updates were applied yesterday 
 on a client's Snow Leopard server (I don't know exactly what), and now 
 wotaskd and JavaMonitor won't start automatically. We got the 
 kCGErrorFailure message at one point: now I just see 'Exited with exit code 
 (1)'.
 
 Both start fine when started from Terminal, so for the moment I have got the 
 site back running by starting the 2 apps from Terminal with:
 
 sudo -u appserver  
 /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
 and
 sudo -u appserver  
 /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor
 
 But of course this is just a temporary 'fix' to keep the client's website up 
 while we find the real solution.
 
 I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa 
 and wotaskd.woa to be owned by appserver:wheel and by 
 appserver:appserverusr. This made no difference.
 
 Liz
 
 On 1 Jul 2013, at 21:03, Christoph Wick wi...@me.com wrote:
 
  Hi Greg,
 
  can you start WOMonitor manually? Try to execute
 

  /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
 
  (if you are using the original Apple WOMonitor, or the one from Wonder 
  wherever you've installed it)
 
  Does the log (defined in your LaunchDaemon's 
  com.apple.webobjects.womonitor.plist) tells you anything?
 
  C.U.CW
  --
  What are the three enemies of a programmer? Sunlight, oxygen, and the 
  appalling roar of the birds.
 
  On 01.07.2013, at 21:09, Greg Lappen g...@lapcominc.com wrote:
 
  Hello,
 
  We have a WebObjects app running on a Snow Leopard Server.  Some OS X 
  updates were applied recently, and now WebObjects javamontor, wotaskd, 
  and hence our app are not starting up.
 
  I saw this error in /var/log/system.log:
 
  Suspicious setup: User appserver maps to user: _appserver
 
  I modified the LaunchAgent plist files so that the user and group name 
  now have dashes in front of them and reloaded the files into launchd with 
  launchctl.  The error I see now is this:
 
  kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors 
  as they are logged.
 
  This seems like some issue with java not being able to connect to the 
  window server, but I was not able to find any solutions.  Does this look 
  familiar to anyone?
 
  Much thanks,
 
  Greg
  ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com
 
  This email sent to wi...@me.com
 
 
  ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
 
  This email sent to l...@plsys.co.uk
 
 
  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/greg%40lapcominc.com
 
 This email sent to g...@lapcominc.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com
 
 This email sent to bogdan.zlata...@gmail.com
 

 ___
Do not post admin requests to the list

Re: Problem in new Wonder project; Solved

2014-02-27 Thread Elizabeth Lynch
Hi

Just in case this helps anyone else with the same or similar problem: this 
turned out to be because there was a commons-lang-2.5.jar in 
/Library/Java/Extensions which overrode the commons-lang-2.6 used by the Wonder 
frameworks nowadays. 

Liz



On 26 Feb 2014, at 15:17, Liz Lynch l...@plsys.co.uk wrote:

 We have two MacBooks with Eclipse/WOLips/Wonder installed. 
 
 Both have Eclipse 3.7.2, WOLips 3.7 Stable, and the latest Wonder binaries. 
 It may be irrelevant, but one is running Mavericks and the other Mountain 
 Lion.
 
 In a new project (with Wonder binaries), one Mac (Mavericks) shows the 
 following four errors:
 
   orders has a join with a missing destination attribute.
   The relationship orders has no destination entity.
   order has a join with a missing destination attribute.
   The relationship order has no destination entity.
 
 These relationships are between User/Order and OrderItem/Order entities, 
 respectively.  The relationships appear to be correct, and on the other Mac, 
 no errors show.
 
 When running the project (for the first time), we get the same error on both 
 Macs:
 
 Error: com.webobjects.foundation.NSForwardException 
 [java.lang.reflect.InvocationTargetException] 
 null:java.lang.reflect.InvocationTargetException
 Reason: 
 org.apache.commons.lang.ObjectUtils.notEqual(Ljava/lang/Object;Ljava/lang/ObjectZ
 
 at line 549 in checkForMismatchedJoinTypes in ERXModelGroup.java.
 
 
 After installing Wonder source and adding to the working set (just done 
 today), the eomodel errors remain the same, but the error on one of the Macs 
 (Mavericks) on running becomes:
 
 Error: java.lang.reflect.InvocationTargetException
 Reason: java.lang.NoSuchMethodError: 
 org.apache.commons.lang.ObjectUtils.notEqual(Ljava/lang/Object;Ljava/lang/ObjectZ
 
 In both cases the runtime error is when loading the EOModelGroup on the first 
 database call.
 
 
 All ideas will be very welcome.
 
 Liz
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
 
 This email sent to l...@plsys.co.uk

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Fetch spec capabilities

2014-05-02 Thread Elizabeth Lynch
I've got a query which could be dealt with by building up qualifiers, but I'd 
prefer to use the model-based fetch spec. 

As background: I have three tables: Image, Category and CategoryImage.

Image:
 id name

 1  Fred
 2  Joan

CategoryImage
imageId   categoryId

1 10
1 20
1 30
2 15
2 20
2 30
3 10

Category
idtitle

10Hiking
15Walking
20Family
30Older


The only value being passed into the query is the category title.

I want to return the image id for images which are in ALL the categories I'm 
interested in - i.e., if the user selected 'Hiking', 'Family' and 'Older' then 
I want to see only image 1.  If the user selected 'Walking' and 'Older' I'd see 
only image 2.

Can this be done in the model-based fetch-spec rather than having to build up 
qualifiers?


Liz



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Fetch spec capabilities

2014-05-02 Thread Elizabeth Lynch
Hi Ramsey

Thanks very much for pointing me to that: the query is now working fine.

Liz


On 2 May 2014, at 16:45, Ramsey Gurley rgur...@smarthealth.com wrote:

 http://jenkins.wocommunity.org/job/Wonder/javadoc/er/extensions/eof/qualifiers/ERXToManyQualifier.html
 
 On May 2, 2014, at 2:54 AM, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 I've got a query which could be dealt with by building up qualifiers, but 
 I'd prefer to use the model-based fetch spec. 
 
 As background: I have three tables: Image, Category and CategoryImage.
 
 Image:
 id name
 
 1  Fred
 2  Joan
 
 CategoryImage
imageId   categoryId
 
1 10
1 20
1 30
2 15
2 20
2 30
3 10
 
 Category
idtitle
 
10Hiking
15Walking
20Family
30Older
 
 
 The only value being passed into the query is the category title.
 
 I want to return the image id for images which are in ALL the categories I'm 
 interested in - i.e., if the user selected 'Hiking', 'Family' and 'Older' 
 then I want to see only image 1.  If the user selected 'Walking' and 'Older' 
 I'd see only image 2.
 
 Can this be done in the model-based fetch-spec rather than having to build 
 up qualifiers?
 
 
 Liz
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Recommendations for WO deployment system?

2015-08-18 Thread Elizabeth Lynch
Hi all


 On 17 Aug 2015, at 23:28, Pascal Robert prob...@macti.ca wrote:
 
 
 Le 2015-08-17 à 15:58, T Worman li...@thetimmy.com 
 mailto:li...@thetimmy.com a écrit :
 
 The biggest issue I see with deploying to a mini running an out-dated 
 version of OS X (snow leopard), is that more current versions of the JRE are 
 not supported. In my case I’ve been trying to push my development 
 environment ahead in order to keep my tools current which can somewhat force 
 your hand on deployment. I have JRE 7 installed on Snow Leopard and the 
 entire JVM can crash on occasion.
 
 For a customer, I have very successfully deployed to a CentOS server running 
 on Linode. I can’t speak to whether the wiki is up to date. However, there 
 were redhat repos for the wo deployment stuff when I did this and they 
 worked very well.
 
 And they still work well. I used it a couple of weeks ago.

Is that following the instructions at:


https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux

BTW, which jdk did you install?

Liz

 
 Tim
 UCLA GSEIS
 
 On Aug 17, 2015, at 12:24 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 I may soon need to set up a WO/Wonder deployment for a new project. I 
 haven’t had to do this for a while and would appreciate advice. The website 
 is likely to be used fairly constantly but not especially heavily. 
 
 What would people recommend as a deployment solution nowadays?   If AWS (or 
 I indeed any other Linux server), is there a current correct step-by-step 
 guide (or other resources) to the best way to set things up?  All the pages 
 on the Confluence wocommunity.org wiki regarding deployment seem to be at 
 least 2 years old, and since I’m not a Unix expert I suspect that enough 
 may have changed to make things confusing.
 
 Another possibility for this particular deployment would be a Mac Mini 
 running OSX Server.  I’m attracted to this solution since we have had a WO 
 deployment successfully running on a Snow Leopard mac mini for 5 years now. 
  However, the timescale for this project means that will probably take us 
 into El Capitan  - do you think this is likely to be a problem? What 
 version of Java will be needed / supported?  Are the wiki instructions for 
 a Snow Leopard deployment still essentially applicable?
 
 All comments and advice will be much appreciated.
 
 Liz
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
 mailto:Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca mailto:prob...@macti.ca
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Recommendations for WO deployment system?

2015-08-23 Thread Elizabeth Lynch
Hi

I want to install WO on a CentOS 7.1 system, but I suspect the instructions on 
the Wiki are for CentOS 6.

If I do:

curl -o /etc/yum.repos.d/wocommunity.repo 
https://raw.githubusercontent.com/wocommunity/wonder/master/Utilities/Linux/wocommunity.repo
 
https://raw.githubusercontent.com/wocommunity/wonder/master/Utilities/Linux/wocommunity.repo%22

it appears to work.  But if I then move on to  yum install wotaskd  I get the 
failure:


http://packages.wocommunity.org/CentOS/7/repodata/repomd.xml: [Errno 14] HTTP 
Error 404 - Not Found


Is this because the WO repository is only for CentOS 6?  If so what’s the best 
way to install for CentOS 7?

Thanks

Liz

 On 18 Aug 2015, at 14:27, Pascal Robert prob...@macti.ca wrote:
 
 
 Le 2015-08-18 à 05:41, Elizabeth Lynch l...@plsys.co.uk a écrit :
 
 Hi all
 
 
 On 17 Aug 2015, at 23:28, Pascal Robert prob...@macti.ca wrote:
 
 
 Le 2015-08-17 à 15:58, T Worman li...@thetimmy.com a écrit :
 
 The biggest issue I see with deploying to a mini running an out-dated 
 version of OS X (snow leopard), is that more current versions of the JRE 
 are not supported. In my case I’ve been trying to push my development 
 environment ahead in order to keep my tools current which can somewhat 
 force your hand on deployment. I have JRE 7 installed on Snow Leopard and 
 the entire JVM can crash on occasion.
 
 For a customer, I have very successfully deployed to a CentOS server 
 running on Linode. I can’t speak to whether the wiki is up to date. 
 However, there were redhat repos for the wo deployment stuff when I did 
 this and they worked very well.
 
 And they still work well. I used it a couple of weeks ago.
 
 Is that following the instructions at:
 
  
 https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux
 
 BTW, which jdk did you install?
 
 JDK 7 and 8 from Oracle. 
 
 Liz
 
 
 Tim
 UCLA GSEIS
 
 On Aug 17, 2015, at 12:24 PM, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 I may soon need to set up a WO/Wonder deployment for a new project. I 
 haven’t had to do this for a while and would appreciate advice. The 
 website is likely to be used fairly constantly but not especially 
 heavily. 
 
 What would people recommend as a deployment solution nowadays?   If AWS 
 (or I indeed any other Linux server), is there a current correct 
 step-by-step guide (or other resources) to the best way to set things up? 
  All the pages on the Confluence wocommunity.org wiki regarding 
 deployment seem to be at least 2 years old, and since I’m not a Unix 
 expert I suspect that enough may have changed to make things confusing.
 
 Another possibility for this particular deployment would be a Mac Mini 
 running OSX Server.  I’m attracted to this solution since we have had a 
 WO deployment successfully running on a Snow Leopard mac mini for 5 years 
 now.  However, the timescale for this project means that will probably 
 take us into El Capitan  - do you think this is likely to be a problem? 
 What version of Java will be needed / supported?  Are the wiki 
 instructions for a Snow Leopard deployment still essentially applicable?
 
 All comments and advice will be much appreciated.
 
 Liz
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Recommendations for WO deployment system?

2015-08-23 Thread Elizabeth Lynch
I realised I can fix this by changing the yum repo base url on my server to 
specifically use ‘6’ instead of release number. 

Everything then seems to install and work ok.

Liz

 On 23 Aug 2015, at 21:16, Elizabeth Lynch l...@plsys.co.uk wrote:
 
 Hi
 
 I want to install WO on a CentOS 7.1 system, but I suspect the instructions 
 on the Wiki are for CentOS 6.
 
 If I do:
 
 curl -o /etc/yum.repos.d/wocommunity.repo 
 https://raw.githubusercontent.com/wocommunity/wonder/master/Utilities/Linux/wocommunity.repo
  
 https://raw.githubusercontent.com/wocommunity/wonder/master/Utilities/Linux/wocommunity.repo%22
 
 it appears to work.  But if I then move on to  yum install wotaskd  I get the 
 failure:
 
 
 http://packages.wocommunity.org/CentOS/7/repodata/repomd.xml: 
 http://packages.wocommunity.org/CentOS/7/repodata/repomd.xml: [Errno 14] 
 HTTP Error 404 - Not Found
 
 
 Is this because the WO repository is only for CentOS 6?  If so what’s the 
 best way to install for CentOS 7?
 
 Thanks
 
 Liz
 
 On 18 Aug 2015, at 14:27, Pascal Robert prob...@macti.ca 
 mailto:prob...@macti.ca wrote:
 
 
 Le 2015-08-18 à 05:41, Elizabeth Lynch l...@plsys.co.uk 
 mailto:l...@plsys.co.uk a écrit :
 
 Hi all
 
 
 On 17 Aug 2015, at 23:28, Pascal Robert prob...@macti.ca 
 mailto:prob...@macti.ca wrote:
 
 
 Le 2015-08-17 à 15:58, T Worman li...@thetimmy.com 
 mailto:li...@thetimmy.com a écrit :
 
 The biggest issue I see with deploying to a mini running an out-dated 
 version of OS X (snow leopard), is that more current versions of the JRE 
 are not supported. In my case I’ve been trying to push my development 
 environment ahead in order to keep my tools current which can somewhat 
 force your hand on deployment. I have JRE 7 installed on Snow Leopard and 
 the entire JVM can crash on occasion.
 
 For a customer, I have very successfully deployed to a CentOS server 
 running on Linode. I can’t speak to whether the wiki is up to date. 
 However, there were redhat repos for the wo deployment stuff when I did 
 this and they worked very well.
 
 And they still work well. I used it a couple of weeks ago.
 
 Is that following the instructions at:
 
 
 https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux
  
 https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux
 
 BTW, which jdk did you install?
 
 JDK 7 and 8 from Oracle. 
 
 Liz
 
 
 Tim
 UCLA GSEIS
 
 On Aug 17, 2015, at 12:24 PM, Elizabeth Lynch l...@plsys.co.uk 
 mailto:l...@plsys.co.uk wrote:
 
 I may soon need to set up a WO/Wonder deployment for a new project. I 
 haven’t had to do this for a while and would appreciate advice. The 
 website is likely to be used fairly constantly but not especially 
 heavily. 
 
 What would people recommend as a deployment solution nowadays?   If AWS 
 (or I indeed any other Linux server), is there a current correct 
 step-by-step guide (or other resources) to the best way to set things 
 up?  All the pages on the Confluence wocommunity.org 
 http://wocommunity.org/ wiki regarding deployment seem to be at least 
 2 years old, and since I’m not a Unix expert I suspect that enough may 
 have changed to make things confusing.
 
 Another possibility for this particular deployment would be a Mac Mini 
 running OSX Server.  I’m attracted to this solution since we have had a 
 WO deployment successfully running on a Snow Leopard mac mini for 5 
 years now.  However, the timescale for this project means that will 
 probably take us into El Capitan  - do you think this is likely to be a 
 problem? What version of Java will be needed / supported?  Are the wiki 
 instructions for a Snow Leopard deployment still essentially applicable?
 
 All comments and advice will be much appreciated.
 
 Liz
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
 mailto:Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
  
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
 mailto:Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your

Recommendations for WO deployment system?

2015-08-17 Thread Elizabeth Lynch
I may soon need to set up a WO/Wonder deployment for a new project. I haven’t 
had to do this for a while and would appreciate advice. The website is likely 
to be used fairly constantly but not especially heavily. 

What would people recommend as a deployment solution nowadays?   If AWS (or I 
indeed any other Linux server), is there a current correct step-by-step guide 
(or other resources) to the best way to set things up?  All the pages on the 
Confluence wocommunity.org wiki regarding deployment seem to be at least 2 
years old, and since I’m not a Unix expert I suspect that enough may have 
changed to make things confusing.

Another possibility for this particular deployment would be a Mac Mini running 
OSX Server.  I’m attracted to this solution since we have had a WO deployment 
successfully running on a Snow Leopard mac mini for 5 years now.  However, the 
timescale for this project means that will probably take us into El Capitan  - 
do you think this is likely to be a problem? What version of Java will be 
needed / supported?  Are the wiki instructions for a Snow Leopard deployment 
still essentially applicable?

All comments and advice will be much appreciated.

Liz



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup

2015-11-27 Thread Elizabeth Lynch
In Eclipse, if I use ‘Run As Ant build’ to build any of the Wonder frameworks, 
the build fails as below - the example is for WOPayPal.  I have googled this 
and looked at the list, but can’t find any answer which works for me. 


Buildfile: 
/Users/liz/Projects/WonderSource-Feb2014/Frameworks/BusinessLogic/WOPayPal/build.xml
clean:
WOPayPal.all:
global.environment:
global.properties:
global.framework.clean:
  [delete] Deleting directory /Users/liz/Roots/classes/WOPayPal
  [delete] Deleting directory /Users/liz/Roots/WOPayPal.framework
build:
WOPayPal.all:
global.environment:
global.properties:
global.prepare:
   [mkdir] Created dir: /Users/liz/Roots/classes/WOPayPal
global.compile:

BUILD FAILED
/Users/liz/Projects/WonderSource-2015/Frameworks/BusinessLogic/WOPayPal/build.xml:12:
 The following error occurred while executing this line:
/Users/liz/Projects/WonderSource-2015/Build/build/build.xml:593: The following 
error occurred while executing this line:
/Users/liz/Projects/WonderSource-2015/Build/build/generic.xml:247: taskdef A 
class needed by class org.objectstyle.woproject.ant.WOCompile cannot be found: 
org/apache/tools/ant/taskdefs/Javac
 using the classloader 
AntClassLoader[/Users/liz/Projects/WonderSource-Feb2014/Build/lib/cayenne-1.2M12.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/jdom-b7.jar:/Users/liz/Projects/WonderSource-Feb2014/Build/lib/log4j-1.2.9.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/maven-ant-tasks-2.1.3.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/woproject.jar]



If I try to build my own framework, which references some Wonder frameworks in 
my workspace, I get:

BUILD FAILED
/Users/liz/Projects/Test/build.xml:87: taskdef A class needed by class 
org.objectstyle.woproject.ant.WOCompile cannot be found: 
org/apache/tools/ant/taskdefs/Javac
 using the classloader AntClassLoader[]


I can build a different project, which uses the Wonder pre-built binaries in 
/Library/Frameworks, in Eclipse with no problems.

I can also build the Wonder frameworks to ~/Roots fine from the command line 
using ant:  ant clean frameworks



My development setup is:

El Capitan 10.11.1
Java 1.8.0_31
ant 1.9.6 installed via home-brew.
Eclipse Luna Service Release 2 (4.4.2)
WOLips 4.4.201510.13.47




All ideas welcomed. 

Liz







 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup

2015-11-27 Thread Elizabeth Lynch
Hi Theodore


> On 27 Nov 2015, at 19:54, Theodore Petrosky <tedp...@yahoo.com> wrote:
> 
> have you tried to build from the command line:
> 
> cd to_Wonder_Directory
> sudo ant  frameworks frameworks.install

Thanks for getting back to me.

Yes, I already did that, and the frameworks build and install fine (I did say 
this at the end of my email but perhaps I wasn't clear!).  You are right - I 
could change my own project and remove the Wonder frameworks from my workspace 
and add the built frameworks from /Library/Frameworks to the classpath instead. 
 But if possible I would prefer to ‘fix’ Eclipse/ant so that I can use the 
Wonder source directly within the workspace.

Liz

> 
> I think that’s it
> 
>> On Nov 27, 2015, at 12:00 PM, Elizabeth Lynch <l...@plsys.co.uk 
>> <mailto:l...@plsys.co.uk>> wrote:
>> 
>> In Eclipse, if I use ‘Run As Ant build’ to build any of the Wonder 
>> frameworks, the build fails as below - the example is for WOPayPal.  I have 
>> googled this and looked at the list, but can’t find any answer which works 
>> for me. 
>> 
>> 
>> Buildfile: 
>> /Users/liz/Projects/WonderSource-Feb2014/Frameworks/BusinessLogic/WOPayPal/build.xml
>> clean:
>> WOPayPal.all:
>> global.environment:
>> global.properties:
>> global.framework.clean:
>>   [delete] Deleting directory /Users/liz/Roots/classes/WOPayPal
>>   [delete] Deleting directory /Users/liz/Roots/WOPayPal.framework
>> build:
>> WOPayPal.all:
>> global.environment:
>> global.properties:
>> global.prepare:
>>[mkdir] Created dir: /Users/liz/Roots/classes/WOPayPal
>> global.compile:
>> 
>> BUILD FAILED
>> /Users/liz/Projects/WonderSource-2015/Frameworks/BusinessLogic/WOPayPal/build.xml:12:
>>  The following error occurred while executing this line:
>> /Users/liz/Projects/WonderSource-2015/Build/build/build.xml:593: The 
>> following error occurred while executing this line:
>> /Users/liz/Projects/WonderSource-2015/Build/build/generic.xml:247: taskdef A 
>> class needed by class org.objectstyle.woproject.ant.WOCompile cannot be 
>> found: org/apache/tools/ant/taskdefs/Javac
>>  using the classloader 
>> AntClassLoader[/Users/liz/Projects/WonderSource-Feb2014/Build/lib/cayenne-1.2M12.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/jdom-b7.jar:/Users/liz/Projects/WonderSource-Feb2014/Build/lib/log4j-1.2.9.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/maven-ant-tasks-2.1.3.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/woproject.jar]
>> 
>> 
>> 
>> If I try to build my own framework, which references some Wonder frameworks 
>> in my workspace, I get:
>> 
>> BUILD FAILED
>> /Users/liz/Projects/Test/build.xml:87: taskdef A class needed by class 
>> org.objectstyle.woproject.ant.WOCompile cannot be found: 
>> org/apache/tools/ant/taskdefs/Javac
>>  using the classloader AntClassLoader[]
>> 
>> 
>> I can build a different project, which uses the Wonder pre-built binaries in 
>> /Library/Frameworks, in Eclipse with no problems.
>> 
>> I can also build the Wonder frameworks to ~/Roots fine from the command line 
>> using ant:  ant clean frameworks
>> 
>>  
>> 
>> My development setup is:
>> 
>> El Capitan 10.11.1
>> Java 1.8.0_31
>> ant 1.9.6 installed via home-brew.
>> Eclipse Luna Service Release 2 (4.4.2)
>> WOLips 4.4.201510.13.47
>> 
>> 
>> 
>> 
>> All ideas welcomed. 
>> 
>> Liz
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com 
>> <https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com>
>> 
>> This email sent to tedp...@yahoo.com <mailto:tedp...@yahoo.com>
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup

2015-11-28 Thread Elizabeth Lynch
Hi Ted

The ‘liz’ user does have permissions to write to the Frameworks directory. My 
build.xml is the same as yours, and there are no strange characters or spaces 
as far as I can tell.

But my problem is not with the Eclipse  WoLips Ant Tools->Install - this works 
OK if I have already built the framework via the command line to the Roots 
directory. I get the same output you do.

But if I use the Run As -> Ant build,  then I get the build error.  What 
happens in your setup if you try that?

Liz


> On 27 Nov 2015, at 22:08, Theodore Petrosky <tedp...@yahoo.com> wrote:
> 
> I just right clicked on that framework (WOPayPal) and choose WOLips Ant Tools 
> install,this is what I got:
> 
> Buildfile: 
> /Users/asacksadmin/Repository/WonderSource/Frameworks/BusinessLogic/WOPayPal/build.xml
> install:
> WOPayPal.all:
> global.environment:
> global.properties:
> global.framework.install:
> BUILD SUCCESSFUL
> Total time: 460 milliseconds
> 
> I removed the WOPayPal.framework from /Library and re-ran the install from 
> Eclipse and it re-created the framework in /Library.
> 
> This is my build.xml file. Does this help?
> 
> Does your user ‘liz’ have permission to write in /Library/Frameworks? I don’t 
> see any spaces in the path, but are there any weird characters?
> 
> Ted
> 
> 
> 
> 
> 
> 
> 
>  dir="../../../">
> 
> 
> 
> 
>  dir="../../../">
> 
> 
> 
> 
>  dir="../../../">
> 
> 
> 
> 
>  dir="../../../">
> 
> 
> 
> 
>  dir="../../../">
> 
> 
> 
> 
> 
> 
> 
> 
>> On Nov 27, 2015, at 4:01 PM, Elizabeth Lynch <l...@plsys.co.uk 
>> <mailto:l...@plsys.co.uk>> wrote:
>> 
>> Hi Theodore
>> 
>> 
>>> On 27 Nov 2015, at 19:54, Theodore Petrosky <tedp...@yahoo.com 
>>> <mailto:tedp...@yahoo.com>> wrote:
>>> 
>>> have you tried to build from the command line:
>>> 
>>> cd to_Wonder_Directory
>>> sudo ant  frameworks frameworks.install
>> 
>> Thanks for getting back to me.
>> 
>> Yes, I already did that, and the frameworks build and install fine (I did 
>> say this at the end of my email but perhaps I wasn't clear!).  You are right 
>> - I could change my own project and remove the Wonder frameworks from my 
>> workspace and add the built frameworks from /Library/Frameworks to the 
>> classpath instead.  But if possible I would prefer to ‘fix’ Eclipse/ant so 
>> that I can use the Wonder source directly within the workspace.
>> 
>> Liz
>> 
>>> 
>>> I think that’s it
>>> 
>>>> On Nov 27, 2015, at 12:00 PM, Elizabeth Lynch <l...@plsys.co.uk 
>>>> <mailto:l...@plsys.co.uk>> wrote:
>>>> 
>>>> In Eclipse, if I use ‘Run As Ant build’ to build any of the Wonder 
>>>> frameworks, the build fails as below - the example is for WOPayPal.  I 
>>>> have googled this and looked at the list, but can’t find any answer which 
>>>> works for me. 
>>>> 
>>>> 
>>>> Buildfile: 
>>>> /Users/liz/Projects/WonderSource-Feb2014/Frameworks/BusinessLogic/WOPayPal/build.xml
>>>> clean:
>>>> WOPayPal.all:
>>>> global.environment:
>>>> global.properties:
>>>> global.framework.clean:
>>>>   [delete] Deleting directory /Users/liz/Roots/classes/WOPayPal
>>>>   [delete] Deleting directory /Users/liz/Roots/WOPayPal.framework
>>>> build:
>>>> WOPayPal.all:
>>>> global.environment:
>>>> global.properties:
>>>> global.prepare:
>>>>[mkdir] Created dir: /Users/liz/Roots/classes/WOPayPal
>>>> global.compile:
>>>> 
>>>> BUILD FAILED
>>>> /Users/liz/Projects/WonderSource-2015/Frameworks/BusinessLogic/WOPayPal/build.xml:12:
>>>>  The following error occurred while executing this line:
>>>> /Users/liz/Projects/WonderSource-2015/Build/build/build.xml:593: The 
>>>> following error occurred while executing this line:
>>>> /Users/liz/Projects/WonderSource-2015/Build/build/generic.xml:247: taskdef 
>>>> A class needed by class org.objectstyle.woproject.ant.WOCompile cannot be 
>>>> found: org/apache/tools/ant/taskdefs/Javac
>>>>  using the classloader 
>>&g

Re: Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup

2015-11-28 Thread Elizabeth Lynch
Hi

Well, I dislike this as a ’solution’, but in the end I created a new Eclipse 
workspace, reimported my projects and the relevant Wonder frameworks, and 
everything works perfectly.

The old workspace still shows the same build error: the new one is good.

Thanks for your input. I will now stop searching for the cause since I can 
continue fine with the new workspace.  Good luck with your new laptop setup!

Liz


> On 28 Nov 2015, at 14:37, Theodore Petrosky <tedp...@yahoo.com 
> <mailto:tedp...@yahoo.com>> wrote:
> 
> I had no Run As -> Ant build, So I went looking in the Run menu and I found 
> the External Tools configuration.
> 
> how is your Ant build configured? maybe it is picking up too much, or maybe 
> you need to create a new external configuration. When I did that, I pointed 
> the buildfile  input to point to the build.xml in WOPayPal 
> (${workspace_loc:/WOPayPal/build.xml)
> 
> here is my output when I execute the new external ant build from the Run => 
> External Tools (new Ant Build) config.
> It seems to work, but even though I am logged in as an administrator, there 
> is no superuser do available, so I had to make sure the target directories 
> all had permissions for me to be able to write there.
> 
> I see your reference to your system configuration, I will be setting up a new 
> laptop this weekend and I will get more information on these  versions. 
> Although I will be using the Mars release of Eclipse.
> 
> 
> Buildfile: 
> /Users/asacksadmin/Repository/WonderSource/Frameworks/BusinessLogic/WOPayPal/build.xml
> clean:
> WOPayPal.all:
> global.environment:
> global.properties:
> global.framework.clean:
>[delete] Deleting directory /Users/asacksadmin/Roots/classes/WOPayPal
>[delete] Deleting directory /Users/asacksadmin/Roots/WOPayPal.framework
> build:
> WOPayPal.all:
> global.environment:
> global.properties:
> global.prepare:
> [mkdir] Created dir: /Users/asacksadmin/Roots/classes/WOPayPal
> global.compile:
> global.dummy:
> [wocompile] Compiling 14 source files to 
> /Users/asacksadmin/Roots/classes/WOPayPal
> [wocompile] warning: [options] bootstrap class path not set in conjunction 
> with -source 1.5
> [wocompile] warning: [options] source value 1.5 is obsolete and will be 
> removed in a future release
> [wocompile] warning: [options] target value 1.5 is obsolete and will be 
> removed in a future release
> [wocompile] warning: [options] To suppress warnings about obsolete options, 
> use -Xlint:-options.
> [wocompile] Note: 
> /Users/asacksadmin/Repository/WonderSource/Frameworks/BusinessLogic/WOPayPal/Sources/er/wopaypal/PayPalAction.java
>  uses or overrides a deprecated API.
> [wocompile] Note: Recompile with -Xlint:deprecation for details.
> [wocompile] Note: Some input files use unchecked or unsafe operations.
> [wocompile] Note: Recompile with -Xlint:unchecked for details.
> [wocompile] 4 warnings
> global.dummy:
> global.unjar:
> global.framework.build:
> [mkdir] Created dir: /Users/asacksadmin/Roots/WOPayPal.framework
> global.dummy:
> [woframework] Installing WOPayPal in /Users/asacksadmin/Roots
>   [jar] Building jar: /Users/asacksadmin/Roots/WOPayPal-6.0.jar
> global.dummy:
>  [echo] -
>  [echo] WOPayPal.framework done
>  [echo] -
> install:
> WOPayPal.all:
> global.environment:
> global.properties:
> global.framework.install:
>  [sync] Copying 46 files to /Library/Frameworks/WOPayPal.framework
>  [copy] Copying 1 file to /Users/asacksadmin/Roots/Library/WebObjects/lib
> web:
> WOPayPal.all:
> global.environment:
> global.properties:
> global.framework.web:
>  [sync] Copying 5 files to 
> /Library/WebServer/Documents/WebObjects/Frameworks/WOPayPal.framework/WebServerResources
>  [sync] Failed to change file modification time
>  [sync] Failed to change file modification time
>  [sync] Failed to change file modification time
>  [sync] Failed to change file modification time
>  [sync] Failed to change file modification time
> all:
> BUILD SUCCESSFUL
> Total time: 1 second
> 
> 
> 
>> On Nov 28, 2015, at 8:27 AM, Elizabeth Lynch <l...@plsys.co.uk 
>> <mailto:l...@plsys.co.uk>> wrote:
>> 
>> Hi Ted
>> 
>> The ‘liz’ user does have permissions to write to the Frameworks directory. 
>> My build.xml is the same as yours, and there are no strange characters or 
>> spaces as far as I can tell.
>> 
>> But my problem is not with the Eclipse  WoLips Ant Tools->Install - this 
>> works OK if I have already built the framework via the command line to the 
>> Roots 

Re: New RPM package for the woadaptor for Apache 2.4

2016-06-04 Thread Elizabeth Lynch
HI 

Thanks Pascal, can you let me know when you reckon it’s safe to try the update 
for my third server?

Thanks

Liz

> On 2 Jun 2016, at 02:26, Pascal Robert <prob...@macti.ca> wrote:
> 
> Looks like the upgrade process is doing something wrong. I didn’t touch that 
> part, so I guess it’s only visible now because it’s the first update to the 
> RPM. Doing a reinstall fix the issue. I will check that out.
> 
>> Le 31 mai 2016 à 12:23, Elizabeth Lynch <l...@plsys.co.uk> a écrit :
>> 
>> Hi Pascal
>> 
>> Installing this new RPM package didn’t work correctly on our CentOS7 Apache 
>> 2.4 servers. I’m not sure whether it’s something to do with my setup, or 
>> more general.
>> 
>> On updating via yum update, the download and install appeared to go fine - 
>> but in fact the process deleted mod_webobjects.so from /etc/http/modules, 
>> and also deleted /etc/httpd/conf.d/webobjects.conf (replacing it with a 
>> webobjects.conf.bak timestamped May 30 01:12).I’m doing this update on 
>> May 31st...
>> 
>> Luckily I had backups of these files and was able to restore my old ones - 
>> so our sites are running ok again.
>> 
>> I then tried the yum update on a second CentOS7 server to see whether it was 
>> a one-off glitch, but had exactly the same thing happen. I have one more 
>> CentOS7 server with the same setup, which I’m going to avoid doing a yum 
>> update on for the moment.
>> 
>> Do you have ideas on what might be causing this issue?
>> 
>> Not sure if it’s relevant, but my yum.repos.d entry for wocommunity has 
>> CentOS/6’ hardcoded in, since the wiki entry using $RELEASE didn’t work with 
>> CentOS7 when I configured the servers about 6 months ago.
>> 
>> [wocommunity]
>> name=WOCommunity
>> baseurl=http://packages.wocommunity.org/CentOS/6/
>> enabled=1
>> gpgcheck=0
>> #gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6-LocalRepo
>> protect=0
>> 
>> Liz
>> 
>> 
>>> On 30 May 2016, at 01:39, Pascal Robert <prob...@macti.ca> wrote:
>>> 
>>> Hello,
>>> 
>>> I just pushed a new RPM package for the Apache 2.4 module. It should work 
>>> on CentOS 5.4, and fix the issue for access to /cgi-bin/WebObjects.
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
>>> 
>>> This email sent to l...@plsys.co.uk
>> 
> 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: New RPM package for the woadaptor for Apache 2.4

2016-05-31 Thread Elizabeth Lynch
Hi Pascal

Installing this new RPM package didn’t work correctly on our CentOS7 Apache 2.4 
servers. I’m not sure whether it’s something to do with my setup, or more 
general.

On updating via yum update, the download and install appeared to go fine - but 
in fact the process deleted mod_webobjects.so from /etc/http/modules, and also 
deleted /etc/httpd/conf.d/webobjects.conf (replacing it with a 
webobjects.conf.bak timestamped May 30 01:12).I’m doing this update on May 
31st...

Luckily I had backups of these files and was able to restore my old ones - so 
our sites are running ok again.

I then tried the yum update on a second CentOS7 server to see whether it was a 
one-off glitch, but had exactly the same thing happen. I have one more CentOS7 
server with the same setup, which I’m going to avoid doing a yum update on for 
the moment.

Do you have ideas on what might be causing this issue?

Not sure if it’s relevant, but my yum.repos.d entry for wocommunity has 
CentOS/6’ hardcoded in, since the wiki entry using $RELEASE didn’t work with 
CentOS7 when I configured the servers about 6 months ago.

[wocommunity]
name=WOCommunity
baseurl=http://packages.wocommunity.org/CentOS/6/
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6-LocalRepo
protect=0

Liz


> On 30 May 2016, at 01:39, Pascal Robert  wrote:
> 
> Hello,
> 
> I just pushed a new RPM package for the Apache 2.4 module. It should work on 
> CentOS 5.4, and fix the issue for access to /cgi-bin/WebObjects.
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
> 
> This email sent to l...@plsys.co.uk


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: modwebobjects and yum update

2016-07-12 Thread Elizabeth Lynch
Yes, I had the same problem as well. CentOS7. 

Liz

> On 8 Jul 2016, at 09:00, Amedeo Mantica  wrote:
> 
> Hi Pascal,
> 
> CentOS 7
> 
>> On 07 lug 2016, at 20:03, Pascal Robert > > wrote:
>> 
>> CentOS 6 or 7?
>> De : webobjects-dev-bounces+probert=macti...@lists.apple.com 
>>  
>> > > de la part 
>> de Amedeo Mantica >
>> Envoyé : 7 juillet 2016 10:14:16
>> À : WebObjects Development
>> Objet : modwebobjects and yum update
>>  
>> Hi all,
>> 
>> FYI, I updated my CentOS VM last day and I got mod_webobjects and its 
>> configuration wiped out
>> 
>> I had to rebuild and reconfigure it.
>> 
>> Amedeo
>>  ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>> )
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 
>> 
>> 
>> This email sent to prob...@macti.ca 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
> 
> This email sent to l...@plsys.co.uk

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Going out of the community

2016-10-12 Thread Elizabeth Lynch
Pascal

Thanks for all the work you have put in for WO and WOWODC over the years. You 
will be much missed! 

Wishing you all the best for the future.

Liz
—
Liz Lynch
www.plsys.co.uk


> On 12 Oct 2016, at 01:43, Paul Hoadley  wrote:
> 
> On 7 Oct 2016, at 9:14 AM, Pascal Robert  wrote:
> 
>> Thanks for all your support over the years, and I do hope to see you again 
>> sometime,
> 
> Thanks for all your work Pascal. It’s been much appreciated far and wide.
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/liz%40plsys.co.uk
> 
> This email sent to l...@plsys.co.uk


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com