Re: Fixed the WO 5.4.3 2GB file/form upload limitations

2012-07-31 Thread Amedeo Mantica
Great Job Helmut :-)

Amedeo

On 29/lug/2012, at 22:17, Helmut Tschemernjak hel...@helios.de wrote:

 Hi Jesse,
 
 I believe my original posting explained what was done. I wrote some years ago 
 a little java based web server (experimental only) and I have some knowledge 
 about networking IO and protocols. After learning at WOWODC that we need to 
 fix/enhance WebObjects on our own, I spend some time doing it. For me, 
 JavaWebObjects (without EOF/Wonder) works pretty good, only the 2GB upload 
 limit was restricting our solution.
 
 We will investigate into Wonder, I believe Wonder uses a different Adaptor 
 which means changes will only partially match Wonder.
 
 Thanks for the motivation.
 
 Helmut
 
 
 On 29.07.12 18:49, Jesse Tayler wrote:
 Nice work!
 
 I was not aware anyone was working on this.
 
 Can you explain a little about what you found, did and so forth just so 
 we're aware of what went down?
 
 thanks, and thanks!
 
 jess
 
 
 On Jul 29, 2012, at 7:04 AM, Helmut Tschemernjak hel...@helios.de wrote:
 
 I enhanced JavaWebObjects to support uploads larger then 2GB via the 
 existing upload form data streaming API. At present we don't use Wonder 
 which means the changes apply to WO 5.4.3 deploying it standalone by 
 including three updated classes in your app. We will investigate into 
 Wonder but this is on a second page.
 
 Here is the description of the changes:
 
 
 WOMultipartIterator
 ===
 Changed calling WONoCopyPushbackInputStream to use long length based
 on the x-content-length instead of the aRequest._contentLengthHeader()
 Added public long contentLengthRemainingLong() to return the size as long.
 Added public long _estimatedContentLengthLong(() to return the size as long.
 Changed totalRemaining, delimiterLength, chaff from int to long
 
 
 WONoCopyPushbackInputStream
 ===
 WONoCopyPushbackInputStream constructor uses now long size
 Changed readMax, originalReadMax from int to long
 Changed several size calculations from int to long
 As WONoCopyPushbackInputStream is only used by WOMultipartIterator and
 WOHttpIO of the JavaWebObjects package others will not be affected.
 
 
 WOHttpIO
 
 As many apps and classes use the content-length header to define the 
 request size
 I decided to add a new header called x-content-length containing the 
 original
 content-length value, then I limit the content-length for compatibility 
 reasons to
 Integer.MAX_VALUE which avoids changes in many WO classes (NSRange, NSData, 
 etc.)
 This way everybody adding 2GB request support in their apps should just call
 request.headerForKey(x-content-length) to receive the 64 bit length. For 
 everybody else it should stay compatible.
 Fixed code to compile again and reorder code to match the original 
 intention.
 Main header tuning changes are in: public InputStream _readHeaders()
 Changed several parseInt to parseLong.
 Changed several contentLengthInt to contentLengthLong
 Changed use of ContentLengthKey in several instances to XContentLengthKey
 
 
 If you are interested to receive the three 5.4.3 patches/files please 
 contact me.
 
 Regards
 
 Helmut
 
 
 
 ___
 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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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/amedeomantica%40me.com
 
 This email sent to amedeomant...@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/archive%40mail-archive.com

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


Re: Periodic Tasks in WO

2012-07-31 Thread Amedeo Mantica

On 29/lug/2012, at 22:32, Ray Kiddy r...@ganymede.org wrote:

 
 On Jul 29, 2012, at 9:33 AM, Amedeo Mantica wrote:
 
 You may also just create a simple Thread (runnable)
 
 Amedeo
 
 
 
 I have done the just create a thread method for something and it worked. 
 But we had the application scheduled in JavaMonitor to stop and re-start 
 itself once a day and putting out that thread prevented that from happening. 
 I had not set it up to listen for the notification or yada yada yada.
 
 I presume that the COScheduler stuff does not have this problem. We will see.
 
 - ray


yes, you should catch the ApplicationWillTerminateNotification and 
stop/destroy the thread

Amedeo

 
 
 On 29/lug/2012, at 18:04, Pascal Robert prob...@macti.ca wrote:
 
 Have a look at ERQuartzScheduler and the recording from WOWODC 2011 
 (http://www.wocommunity.org/podcasts/wowodc/2011/COScheduler.mov) for 
 COScheduler (COScheduler was the name of the project before it was donated 
 to Wonder).
 
 Dear all,
 
 I am currently implementing a REST task in WO that fetches content from a 
 remote server. I just have a little routine running in Application  on a 
 scheduler.
 I was just wondering if there was a better way of running periodic tasks 
 in wonder, and any advise from those who had similar experience with REST 
 service.
 
 Thanks for your support,
 
 Sisi
 ___
 
 
 ___
 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/amedeomantica%40me.com
 
 This email sent to amedeomant...@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/archive%40mail-archive.com

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


need help with rule

2012-07-31 Thread Theodore Petrosky
my model has:

Project toOne ProjectCategory.

I have a key 'currentProjectCategory' in my ERXThreadStorage.

When I access my query page, I want to set the ProjectCategory with this value.

lhs pageConfiguration = 'QueryProject' and propertyKey = 'projectCategory'

what is the assignment and rhs

I don't understand the rhs value.

Help

Ted
 ___
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: Periodic Tasks in WO

2012-07-31 Thread Pascal Robert

Le 2012-07-29 à 16:32, Ray Kiddy a écrit :

 
 On Jul 29, 2012, at 9:33 AM, Amedeo Mantica wrote:
 
 You may also just create a simple Thread (runnable)
 
 Amedeo
 
 
 
 I have done the just create a thread method for something and it worked. 
 But we had the application scheduled in JavaMonitor to stop and re-start 
 itself once a day and putting out that thread prevented that from happening. 
 I had not set it up to listen for the notification or yada yada yada.
 
 I presume that the COScheduler stuff does not have this problem. We will see.

Code was added to COScheduler to not have this problem.

 - ray
 
 
 On 29/lug/2012, at 18:04, Pascal Robert prob...@macti.ca wrote:
 
 Have a look at ERQuartzScheduler and the recording from WOWODC 2011 
 (http://www.wocommunity.org/podcasts/wowodc/2011/COScheduler.mov) for 
 COScheduler (COScheduler was the name of the project before it was donated 
 to Wonder).
 
 Dear all,
 
 I am currently implementing a REST task in WO that fetches content from a 
 remote server. I just have a little routine running in Application  on a 
 scheduler.
 I was just wondering if there was a better way of running periodic tasks 
 in wonder, and any advise from those who had similar experience with REST 
 service.
 
 Thanks for your support,
 
 Sisi
 ___
 
 
 ___
 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: need help with rule

2012-07-31 Thread Jesse Tayler

what's the rule you are trying to write here Ted?

you are setting your page configuration based on a literal string AND 
propertyKey = literal?

are you trying to set a variable or are you trying to read some state and setup 
a page configuration?


On Jul 31, 2012, at 6:09 AM, Theodore Petrosky tedp...@yahoo.com wrote:

 my model has:
 
 Project toOne ProjectCategory.
 
 I have a key 'currentProjectCategory' in my ERXThreadStorage.
 
 When I access my query page, I want to set the ProjectCategory with this 
 value.
 
 lhs pageConfiguration = 'QueryProject' and propertyKey = 'projectCategory'
 
 what is the assignment and rhs
 
 I don't understand the rhs value.
 
 Help
 
 Ted
 ___
 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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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: need help with rule

2012-07-31 Thread Theodore Petrosky

I want to set the value of an object in a query page from a variable that lives 
in the session.

session().currentProject();

Ted


--- On Tue, 7/31/12, Jesse Tayler jtay...@oeinc.com wrote:

 From: Jesse Tayler jtay...@oeinc.com
 Subject: Re: need help with rule
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: webobjects-dev@lists.apple.com
 Date: Tuesday, July 31, 2012, 10:30 AM
 
 what's the rule you are trying to write here Ted?
 
 you are setting your page configuration based on a literal
 string AND propertyKey = literal?
 
 are you trying to set a variable or are you trying to read
 some state and setup a page configuration?
 
 
 On Jul 31, 2012, at 6:09 AM, Theodore Petrosky tedp...@yahoo.com
 wrote:
 
  my model has:
  
  Project toOne ProjectCategory.
  
  I have a key 'currentProjectCategory' in my
 ERXThreadStorage.
  
  When I access my query page, I want to set the
 ProjectCategory with this value.
  
  lhs pageConfiguration = 'QueryProject' and propertyKey
 = 'projectCategory'
  
  what is the assignment and rhs
  
  I don't understand the rhs value.
  
  Help
  
  Ted
  ___
  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/jtayler%40oeinc.com
  
  This email sent to jtay...@oeinc.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

linking editing contexts from two apps

2012-07-31 Thread Theodore Petrosky
I have a Wonder app that I did a while ago. This is an internal app that is 
used in production.

I have been asked to create a client facing version. Not all fields will be 
editable and it will fire an email if they touch anything.

How do I maintain freshness of data? If my internal app updates the data, how 
do I notify the client app. Or should I not care and just make sure that the 
client app is always going to the database?

likewise if the client updates a row, how will my internal app know?

There are approximately 1 rows of data (small) and it only grows a thousand 
a year.

Ted
 ___
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: need help with rule

2012-07-31 Thread Jesse Tayler

hmm...well, if you want to trigger rules based on a significant key, you can 
write rules

session.currentProject.id = '12' -  propertyKey = this
vs.
session.currentProject.id = '14' -  propertyKey = that

or something.

which as long as session.currentProject is a significant key, the rules will 
recalculate each time (so changing the current project works as expected) when 
you ask to fire a rule with that significant key at runtime.

I typically make session.user a significant key and use it in just this way.

but it sounds like you want to set the value of a local variable inside your 
D2W Query page?

in this case, you'll likely need your own component or page such that you can 
code and hold the variables in question - 

this is also something I do with D2W is make page level components that layout 
or handle business logic, often times I program the business logic right into 
rules and write smart D2W pages and components that understand my significant 
keys and business logic.

maybe someone knows more or I'm confused - so, not sure if that helps….



On Jul 31, 2012, at 10:40 AM, Theodore Petrosky tedp...@yahoo.com wrote:

 
 I want to set the value of an object in a query page from a variable that 
 lives in the session.
 
 session().currentProject();
 
 Ted
 
 
 --- On Tue, 7/31/12, Jesse Tayler jtay...@oeinc.com wrote:
 
 From: Jesse Tayler jtay...@oeinc.com
 Subject: Re: need help with rule
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: webobjects-dev@lists.apple.com
 Date: Tuesday, July 31, 2012, 10:30 AM
 
 what's the rule you are trying to write here Ted?
 
 you are setting your page configuration based on a literal
 string AND propertyKey = literal?
 
 are you trying to set a variable or are you trying to read
 some state and setup a page configuration?
 
 
 On Jul 31, 2012, at 6:09 AM, Theodore Petrosky tedp...@yahoo.com
 wrote:
 
 my model has:
 
 Project toOne ProjectCategory.
 
 I have a key 'currentProjectCategory' in my
 ERXThreadStorage.
 
 When I access my query page, I want to set the
 ProjectCategory with this value.
 
 lhs pageConfiguration = 'QueryProject' and propertyKey
 = 'projectCategory'
 
 what is the assignment and rhs
 
 I don't understand the rhs value.
 
 Help
 
 Ted
 ___
 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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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: didUpdate?

2012-07-31 Thread Oscar González

Hi Theodore,I use this method, 







this.editingContext().currentEventSnapshotForObject(this)
Saludos,Oscar.

To: webobjects-dev@lists.apple.com
Subject: Re: didUpdate?
From: arosenzw...@clinworx.com
Date: Mon, 30 Jul 2012 09:18:06 -0400

Hi Theodore,



I agree with George, I wouldn't do the
Session way.



Worman set you on the right track. Ok,
it didn't fully give you the solution but it pointed you where to look.



The EOEditingContext knows all. It knows
what the current values are (just invoke methods on the EO itself) it also
knows what the last saved values are (just look at the snapshot
cache using the EC and the EO).



You see? So that method Worman pointed
you to just gave you the new changed values. Ok, but dig under the covers
of that method. It's open source right? (unlike Apple's code). Learn how
to navigate the snapshot cache. That method must be able to find the old
values right? Otherwise how can it pump out the new values of only the
modified attributes?



Think of the EC as a bolus of
work. It does everything you were trying to reinvent with your Session
plus more. Use the EC to its fullest. It knows past and present at the
same time. Nothing else is needed. willUpdate is a reasonable
place to put the logic you seek, keep it all in the model, and work cleanly
with D2W.



Cheers,

-- Aaron



Date: Sun, 29 Jul 2012 07:49:33 -0700

From: George Domurot masterm...@knuckleheads.net

To: Theodore Petrosky tedp...@yahoo.com

Cc: webobjects-dev@lists.apple.com webobjects-dev@lists.apple.com

Subject: Re: didUpdate?

Message-ID: e56d428a-47ff-428d-a299-aa2fda9b4...@knuckleheads.net

Content-Type: text/plain; charset=utf-8



For me, I'd say you're going at this the wrong way within the Session..



Keep the session clean.



Check out Paul Yu's recommendation re: ERXGenericRecord and ERXEnterpriseObject.
 And, write a controller to manage the object you're editing, do your
work, and let it provide you with the appropriate feedback for your email.



-G

___
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/racso_gp%40hotmail.com

This email sent to racso...@hotmail.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


Get a handle to DisplayGroup From InspectPage

2012-07-31 Thread Vinny Luc
Hello D2Wers,

 I have a requirement to imeplement Next/Previous nagivation within the 
inspectPage.

I am wondering if this is possible and secondly if this is a good design 
pattern within D2W flow?

I digged around a little bit by attempt to pass it in through the bindings but 
so far I don’t think that' spossible (it's always NULL).

My last resort is perhaps to cache this handle in the Session

Any Ideas?

Thanks much,
Vinny
 ___
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: Get a handle to DisplayGroup From InspectPage

2012-07-31 Thread Vinny Luc
David,

Ah, I didn't think about that. I'll give it a shot.

Thanks again,
Vinny

On 7/31/12 12:17 PM, David LeBer dle...@codeferous.com wrote:

Vinny,

You might be able to do this with a list page with batch size of '1' and
an embedded inspect page. Though my gut tells me that you may end up
wanting to implement a custom list page or maybe a custom list page
repetition (depending on how custom the navigation needs to be).

D

--
David LeBer
Codeferous Software

On 2012-07-31, at 12:06 PM, Vinny Luc v...@k12.com wrote:

 Hello D2Wers,
 
  I have a requirement to imeplement Next/Previous nagivation within the
inspectPage. 
 
 I am wondering if this is possible and secondly if this is a good
design pattern within D2W flow?
 
 I digged around a little bit by attempt to pass it in through the
bindings but so far I don¹t think that' spossible (it's always NULL).
 
 My last resort is perhaps to cache this handle in the Session
 
 Any Ideas?
 
 Thanks much,
 Vinny
 ___
 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/dleber_wodev%40cod
eferous.com
 
 This email sent to dleber_wo...@codeferous.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: Get a handle to DisplayGroup From InspectPage

2012-07-31 Thread David LeBer
Vinny,

You might be able to do this with a list page with batch size of '1' and an 
embedded inspect page. Though my gut tells me that you may end up wanting to 
implement a custom list page or maybe a custom list page repetition (depending 
on how custom the navigation needs to be).

D

--
David LeBer
Codeferous Software

On 2012-07-31, at 12:06 PM, Vinny Luc v...@k12.com wrote:

 Hello D2Wers,
 
 I have a requirement to imeplement Next/Previous nagivation within the 
 inspectPage. 
 
 I am wondering if this is possible and secondly if this is a good design 
 pattern within D2W flow?
 
 I digged around a little bit by attempt to pass it in through the bindings 
 but so far I don’t think that' spossible (it's always NULL). 
 
 My last resort is perhaps to cache this handle in the Session
 
 Any Ideas?
 
 Thanks much,
 Vinny
 ___
 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/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.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: ERD2W menus not working properly

2012-07-31 Thread Ramsey Gurley
Please keep questions/replies on list so that everyone may benefit/assist :-)

On Jul 30, 2012, at 8:50 PM, Sr. Ângelo Andrade Cirino wrote:

 Dear Ramsey,
 
 I am very frustrated. I created two new test projects following your steps in 
 the presentation, choosing 'WO Project' from template and then 'Modern D2W 
 Application', one project with the ERMovies Logic framework and the other 
 with a very simple model I created (two entities with a to one relationship). 
 But in both projects the navigation menu did not work.


You shouldn't need to do that any longer. If you create a new Wonder D2W 
project, it will be an ERModern project these days.


 Should I trash my installation, a brand new Eclipse/WOLips/Wonder standard 
 installation, and try again? I can not see what I am doing wrong.


Sorry about that. The install process for WO/Wonder/WOLips just sucks. It's 
amazing to me that anyone new gives it a try.  I saw sometime ago that Ken 
Ishimoto had been working on an installer, but I never had a chance to try it. 
We all muddled through this at one point, if that gives you any comfort :-)

If your app launches, it's probably not your installation.


 Worse, not only the navigation menu doesn't work,


Did you try debugging your rule firings to see what was being set for 
navigationState and why?


 but also the tabs and sections features for grouping display properties. The 
 following rule
 
 100 : (entity.name = 'Pacote' and task = 'edit') = displayPropertyKeys = 
 ([Geral], encerramento, título, resumo, títuloEstendido, moeda, 
 descrição, principal, [Imagens], miniatura, imagemPequena, 
 imagemGrande, [Outras informações], opçãoIncluídas, 
 informaçãoAdicionals, condiçãoPacotes) 
 [com.webobjects.directtoweb.Assignment]
 
 Gives this exception:
 
 com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message 
 'com.visionar.modelos.Pacote 0x461fbe88 valueForKey(): lookup of unknown 
 key: '[Geral]'. This class does not have an instance variable of the name 
 [Geral] or _[Geral], nor a method of the name [Geral], _[Geral], get[Geral], 
 or _get[Geral]' object 'com.visionar.modelos.Pacote pk:1' key '[Geral]'
 


To use tabs on a Modern page, you have to have a tab or wizard page 
configuration/subtask. Otherwise, it doesn't work.  When you create the page, 
use a pageConfiguration like EditTabEntity or EditWizardEntity instead of 
EditEntity.  CreateEntity pages are subtask=wizard by default, so the tabbing 
should work.

Ramsey

 D2W and the navigation system are way too powerful for me to not use them as 
 the basis for WO development. I used to create components and a lot of code 
 that can with a lot less work be designed with D2W applications and I would 
 like to move forward, but having the navigation menu system and the 
 properties display grouping working will help me a lot.
 
 Thanx,
 
 Angelo
 
 Em 30/07/2012, às 16:46, Ramsey Gurley escreveu:
 
 
 
 Well, I simplified the menu to just one level with four items to experiment 
 with the rules. When selected, each menu is performing adequately, listing 
 the entities it is meant to, with the associated action and 
 D2W.factory().listPageForEntityNamed. But the menu system stubbornly do not 
 highlight the chosen menu option, Principal is locked to be the highlighted 
 menu. The menu and the associated rules are now these:
 
 NavigationMenu.plist
 
 (
 {
 name = Root;
 children = (Principal,Pacotes,Clientes,Usuarios);
 },
 {
 name = Principal;
 action = session.navController.homeAction;
 },
 {
 name = Pacotes;
 action = session.navController.pacotesAction;
 },
 {
 name = Clientes;
 action = session.navController.clientesAction;
 },
 {
 name = Usuarios;
 action = session.navController.usuáriosAction;
 }
 )
 
 user.d2wmodel rules associated with the menu items
 
 {author = 100; class = com.webobjects.directtoweb.Rule; lhs = 
 {class = com.webobjects.eocontrol.EOKeyValueQualifier; key = 
 pageConfiguration; selectorName = isLike; value = *Usuario*; }; 
 rhs = {class = com.webobjects.directtoweb.Assignment; keyPath = 
 navigationState; value = Usuarios; }; }, 
  {author = 100; class = com.webobjects.directtoweb.Rule; lhs = 
 {class = com.webobjects.eocontrol.EOKeyValueQualifier; key = 
 pageConfiguration; selectorName = isLike; value = *Produto*; }; 
 rhs = {class = com.webobjects.directtoweb.Assignment; keyPath = 
 navigationState; value = Produtos; }; }, 
  {author = 100; class = com.webobjects.directtoweb.Rule; lhs = 
 {class = com.webobjects.eocontrol.EOKeyValueQualifier; key = 
 pageConfiguration; selectorName = isLike; value = *Clientes*; }; 
 rhs = {class = com.webobjects.directtoweb.Assignment; keyPath = 
 navigationState; value = Clientes; }; }, 
 
 I can not see what I am doing wrong so that the navigation menu isn't 
 highlighting the selected option. But I also 

Re: what did I break with ant?

2012-07-31 Thread Jesse Tayler

this happened to me when I updated ant to 1.8.x

I think you are having the same issue?

I thought I'd add that setting to my build.xml

presetdef name=javac
javac includeantruntime=false /
/presetdef

But I still get the error -

How did you fix?



On Jul 23, 2012, at 11:59 AM, Theodore Petrosky tedp...@yahoo.com wrote:

 Maybe I have been doing this wrong from the beginning but, all of a sudden, I 
 right click on my Wonder Framework and select Wo Ant tools = install. and 
 I get this error:
 
 
 Buildfile: 
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml
 init.properties:
 init.install:
 init.build:
 compile:
 [wocompile] 
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:90: 
 warning: 'includeantruntime' was not set, defaulting to 
 build.sysclasspath=last; set to false for repeatable builds
 build.woframework:
 [woframework] Installing ASPOOpenProjectsFW in /Library/Frameworks
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57: 
 Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was not 
 successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 I have tried other frameworks and they work as advertised. just this one is 
 hinky.
 
 Ted
 ___
 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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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: what did I break with ant?

2012-07-31 Thread David Holt
I am having the same issues. And no, I cannot create the directory from the 
command line. What should the permissions be?

David


On 2012-07-23, at 10:22 AM, Henrique Gomes li...@farol.pt wrote:

 
 On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote:
 
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57: 
 Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was not 
 successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 Can you create de dir on the command line?
 
 $ mkdir  /Library/Frameworks/ASPOOpenProjectsFW.framework 
 
 HG
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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: what did I break with ant?

2012-07-31 Thread Tim Worman
I always get the warning: 'includeantruntime' was not set error. It happened 
at an ant upgrade somewhere but doesn't impact framework building. On writing 
to your framework path:. Eclipse runs as your user, so the target directory 
either needs to be writable by that user or by  a group that user belongs to - 
like 'admin' if the user is an admin user. Here is the ownership and 
permissions on my framework directory.

I use this directory for my WO frameworks:

/usr/local/webobjects/Library/Frameworks/

The permissions are set like:

drwxrwxr-x  82 root  admin  2788 Jul 20 15:56 Frameworks/

The important bits are in red.

Tim
UCLA GSEIS

On Jul 31, 2012, at 11:25 AM, David Holt programming...@mac.com wrote:

 I am having the same issues. And no, I cannot create the directory from the 
 command line. What should the permissions be?
 
 David
 
 
 On 2012-07-23, at 10:22 AM, Henrique Gomes li...@farol.pt wrote:
 
 
 On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote:
 
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57:
  Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was 
 not successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 Can you create de dir on the command line?
 
 $ mkdir  /Library/Frameworks/ASPOOpenProjectsFW.framework 
 
 HG
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/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/archive%40mail-archive.com

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


Re: what did I break with ant?

2012-07-31 Thread Jesse Tayler
I'm fairly certain you do NOT need to create any directory -- that's simply an 
end-failure result of the build termination.

I can see also some people outside the WO community having this trouble and 
ironically, they too simply added that property to their build.xml but I 
don't see how they did it and I must be doing it wrong or something.

So, either I'm confused or I'm doing it wrong -- but it's not yet working for 
me.

I don't really understand how the build.xml works so maybe I'm not setting the 
environment variable properly?

my build.xml now starts off like this:

project name=WOMan default=build basedir=.

presetdef name=javac
javac includeantruntime=false /
/presetdef






On Jul 31, 2012, at 2:25 PM, David Holt programming...@mac.com wrote:

 I am having the same issues. And no, I cannot create the directory from the 
 command line. What should the permissions be?
 
 David
 
 
 On 2012-07-23, at 10:22 AM, Henrique Gomes li...@farol.pt wrote:
 
 
 On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote:
 
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57:
  Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was 
 not successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 Can you create de dir on the command line?
 
 $ mkdir  /Library/Frameworks/ASPOOpenProjectsFW.framework 
 
 HG
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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: wounit: cannot load model

2012-07-31 Thread Henrique Prange
Hi Hafid,

It should have worked. WOUnit search for models in the classpath (inside or 
outside a Resources folder).

I need more information to understand if it is a bug in WOUnit. Your project is 
an application or framework? The model ACAIQCore is in the same project of the 
test class? Have you tried to run the test from your build system? Did it work?

I've also created the issue [1] #29 to improve the error message in case a 
model cannot be loaded properly.

[1]https://github.com/hprange/wounit/issues/29

Cheers,

Henrique

On 30/07/2012, at 10:08, hafid ouazib houa...@gmail.com wrote:

 Hi,
 My model is in the folder Resources,
 
 the source of my test is:
 
 package com.acaiq.fondation.acaiqCore;
 
 import org.junit.Rule;
 import org.junit.Test;
 import com.wounit.annotations.UnderTest;
 import com.wounit.rules.MockEditingContext;
 
 public class ExempleTest {
 
 @Rule
 public MockEditingContextec= new MockEditingContext(ACAIQCore);
 
 @UnderTest
 Membretitulaire;
 
 @Test
 public void exempleUnitTest() {
 System.out.println(first test);
 }
 
 }
 
 
 stack trace:
 
 java.lang.IllegalArgumentException: Cannot load model named 'ACAIQCore'
 at 
 com.wounit.rules.AbstractEditingContextRule.loadModel(AbstractEditingContextRule.java:186)
 at 
 com.wounit.rules.AbstractEditingContextRule.init(AbstractEditingContextRule.java:94)
 at com.wounit.rules.MockEditingContext.init(MockEditingContext.java:113)
 at com.wounit.rules.MockEditingContext.init(MockEditingContext.java:124)
 at com.acaiq.fondation.acaiqCore.ExempleTest.init(ExempleTest.java:11)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:202)
 at 
 org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:251)
 at 
 org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:248)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
 at 
 org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
 at 
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
 at 
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
 at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
 at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
 at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
 at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
 
 
 Thanks,
 
 2012/7/27 Henrique Prange hpra...@gmail.com
 Hi Ramsey,
 
 On 27/07/2012, at 17:48, Ramsey Gurley wrote:
 
  My guess is you or wounit or something hasn't inited the ERXApplication 
  class and so no models. That's just a guess though. I've never used WOUnit.
 
 
 The ERXApplication initialization is not required to run WOUnit test cases. 
 The WOUnit framework is responsible for loading the required models (you have 
 to specify the names of the required models when creating the 
 MockEditingContext). For instance:
 
 @Rule
 public MockEditingContext ec = new MockEditingContext(MyModel);
 
 This statement creates a MockEditingContext loading the model named MyModel.
 
  I have a unit testing project template for junit testing frameworks on 
  github that I use. It's modeled after the ERXTest app in wonder and has a 
  nice little setup wizard to get you started with your first test class and 
  suite:
 
  https://github.com/nullterminated/ponder/tree/master/Test%20Application%20Template
 
 
 Interesting. Thanks for sharing.
 
 Cheers,
 
 Henrique
  ___
 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/houazib%40gmail.com
 
 This 

Setting relationship is fetching all objects

2012-07-31 Thread Pascal Robert
I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I want 
to set a relationship (transactionType) on all new Transaction EOs. So I did 
this:

  @Override
  public void awakeFromInsertion(EOEditingContext editingContext) {
super.awakeFromInsertion(editingContext);
setQuantity(1);
TransactionType standardType = 
TransactionType.fetchTransactionType(editingContext, TransactionType.NAME_KEY, 
TransactionType.STANDARD_TYPE);
setTransactionTypeRelationship(standardType);
  }

The problem? When setTransactionTypeRelationship is called, it fetches ALL 
transactions of the Standard type, returning 50854 objects. Why is that 
happening?
 ___
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: what did I break with ant?

2012-07-31 Thread Tim Worman
The build failure is not due to the 'includeantruntime' error. The build 
failure is due to not being able to write to the framework directory as set in 
~/Application Support/WOLips/wolips.properties.

If the directory doesn't exist, you do need to create it. If it isn't 
writeable, the ownership/permissions must be changed.

Tim
UCLA GSEIS

On Jul 31, 2012, at 12:12 PM, Jesse Tayler jtay...@oeinc.com wrote:

 I'm fairly certain you do NOT need to create any directory -- that's simply 
 an end-failure result of the build termination.
 
 I can see also some people outside the WO community having this trouble and 
 ironically, they too simply added that property to their build.xml but I 
 don't see how they did it and I must be doing it wrong or something.
 
 So, either I'm confused or I'm doing it wrong -- but it's not yet working for 
 me.
 
 I don't really understand how the build.xml works so maybe I'm not setting 
 the environment variable properly?
 
 my build.xml now starts off like this:
 
 project name=WOMan default=build basedir=.
   
   presetdef name=javac
   javac includeantruntime=false /
   /presetdef
   
 
 
 
 
 
 On Jul 31, 2012, at 2:25 PM, David Holt programming...@mac.com wrote:
 
 I am having the same issues. And no, I cannot create the directory from the 
 command line. What should the permissions be?
 
 David
 
 
 On 2012-07-23, at 10:22 AM, Henrique Gomes li...@farol.pt wrote:
 
 
 On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote:
 
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57:
  Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was 
 not successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 Can you create de dir on the command line?
 
 $ mkdir  /Library/Frameworks/ASPOOpenProjectsFW.framework 
 
 HG
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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/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/archive%40mail-archive.com

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


Re: Setting relationship is fetching all objects

2012-07-31 Thread Maik Musall

Am 31.07.2012 um 21:29 schrieb Pascal Robert:

 I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I 
 want to set a relationship (transactionType) on all new Transaction EOs. So I 
 did this:
 
  @Override
  public void awakeFromInsertion(EOEditingContext editingContext) {
super.awakeFromInsertion(editingContext);
setQuantity(1);
TransactionType standardType = 
 TransactionType.fetchTransactionType(editingContext, 
 TransactionType.NAME_KEY, TransactionType.STANDARD_TYPE);
setTransactionTypeRelationship(standardType);
  }
 
 The problem? When setTransactionTypeRelationship is called, it fetches ALL 
 transactions of the Standard type, returning 50854 objects. Why is that 
 happening?

Because you have an unnecessary reverse relationship from TransactionType to 
Transaction, which needs to be validated at that point?

Maik
 ___
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: Setting relationship is fetching all objects

2012-07-31 Thread David Holt
Maybe use the fetchRequiredTransactionType instead??


On 2012-07-31, at 12:29 PM, Pascal Robert prob...@macti.ca wrote:

 I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I 
 want to set a relationship (transactionType) on all new Transaction EOs. So I 
 did this:
 
  @Override
  public void awakeFromInsertion(EOEditingContext editingContext) {
super.awakeFromInsertion(editingContext);
setQuantity(1);
TransactionType standardType = 
 TransactionType.fetchTransactionType(editingContext, 
 TransactionType.NAME_KEY, TransactionType.STANDARD_TYPE);
setTransactionTypeRelationship(standardType);
  }
 
 The problem? When setTransactionTypeRelationship is called, it fetches ALL 
 transactions of the Standard type, returning 50854 objects. Why is that 
 happening?
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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: Setting relationship is fetching all objects

2012-07-31 Thread Pascal Robert

Le 2012-07-31 à 15:39, Maik Musall a écrit :

 
 Am 31.07.2012 um 21:29 schrieb Pascal Robert:
 
 I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I 
 want to set a relationship (transactionType) on all new Transaction EOs. So 
 I did this:
 
 @Override
 public void awakeFromInsertion(EOEditingContext editingContext) {
   super.awakeFromInsertion(editingContext);
   setQuantity(1);
   TransactionType standardType = 
 TransactionType.fetchTransactionType(editingContext, 
 TransactionType.NAME_KEY, TransactionType.STANDARD_TYPE);
   setTransactionTypeRelationship(standardType);
 }
 
 The problem? When setTransactionTypeRelationship is called, it fetches ALL 
 transactions of the Standard type, returning 50854 objects. Why is that 
 happening?
 
 Because you have an unnecessary reverse relationship from TransactionType to 
 Transaction, which needs to be validated at that point?

I do have a relation TransactionType -  Transaction, and I tried to hide it 
and it had the same behavior. So I removed the relationship and everything is 
good now. 
 ___
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: what did I break with ant?

2012-07-31 Thread Jesse Tayler
Good eye Tim!

BUILD SUCCESSFUL

sweet.

Basically, ant wanted to install here:

/Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Applications

So, I just chown'ed the Application directory to my user and things built fine.

Not certain if I need better permissions, but the build ran!




On Jul 31, 2012, at 3:32 PM, Tim Worman li...@thetimmy.com wrote:

 The build failure is not due to the 'includeantruntime' error. The build 
 failure is due to not being able to write to the framework directory as set 
 in ~/Application Support/WOLips/wolips.properties.
 
 If the directory doesn't exist, you do need to create it. If it isn't 
 writeable, the ownership/permissions must be changed.
 
 Tim
 UCLA GSEIS
 
 On Jul 31, 2012, at 12:12 PM, Jesse Tayler jtay...@oeinc.com wrote:
 
 I'm fairly certain you do NOT need to create any directory -- that's simply 
 an end-failure result of the build termination.
 
 I can see also some people outside the WO community having this trouble and 
 ironically, they too simply added that property to their build.xml but I 
 don't see how they did it and I must be doing it wrong or something.
 
 So, either I'm confused or I'm doing it wrong -- but it's not yet working 
 for me.
 
 I don't really understand how the build.xml works so maybe I'm not setting 
 the environment variable properly?
 
 my build.xml now starts off like this:
 
 project name=WOMan default=build basedir=.
  
  presetdef name=javac
  javac includeantruntime=false /
  /presetdef
  
 
 
 
 
 
 On Jul 31, 2012, at 2:25 PM, David Holt programming...@mac.com wrote:
 
 I am having the same issues. And no, I cannot create the directory from the 
 command line. What should the permissions be?
 
 David
 
 
 On 2012-07-23, at 10:22 AM, Henrique Gomes li...@farol.pt wrote:
 
 
 On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote:
 
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57:
  Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was 
 not successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 Can you create de dir on the command line?
 
 $ mkdir  /Library/Frameworks/ASPOOpenProjectsFW.framework 
 
 HG
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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/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/archive%40mail-archive.com

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


Re: Setting relationship is fetching all objects

2012-07-31 Thread Ramsey Gurley
Transaction type sounds like a good candidate for an enum if you don't need to 
create new ones at runtime :-)

Ramsey

On Jul 31, 2012, at 12:51 PM, Pascal Robert wrote:

 
 Le 2012-07-31 à 15:39, Maik Musall a écrit :
 
 
 Am 31.07.2012 um 21:29 schrieb Pascal Robert:
 
 I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I 
 want to set a relationship (transactionType) on all new Transaction EOs. So 
 I did this:
 
 @Override
 public void awakeFromInsertion(EOEditingContext editingContext) {
  super.awakeFromInsertion(editingContext);
  setQuantity(1);
  TransactionType standardType = 
 TransactionType.fetchTransactionType(editingContext, 
 TransactionType.NAME_KEY, TransactionType.STANDARD_TYPE);
  setTransactionTypeRelationship(standardType);
 }
 
 The problem? When setTransactionTypeRelationship is called, it fetches ALL 
 transactions of the Standard type, returning 50854 objects. Why is that 
 happening?
 
 Because you have an unnecessary reverse relationship from TransactionType to 
 Transaction, which needs to be validated at that point?
 
 I do have a relation TransactionType -  Transaction, and I tried to hide 
 it and it had the same behavior. So I removed the relationship and everything 
 is good now. 
 ___
 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: Hello World crashing in Eclipse 4.2

2012-07-31 Thread Maik Musall
Follow-up on this. Happend to me, too (on 10.7). Turning off Generate bundles 
in WOLips prefs did prevent the error from happening, but I wouldn't call that 
fixing. App startup takes much longer now, and the app version without wonder 
won't launch that way because the main bundle is then JavaFoundation. (I'm 
migrating the app to wonder and have two parallel branches which I can switch 
during the migration.)

I doublechecked my classpath, of course.

Is it a bug in WOLips? Where is the source for that, anyway? I can't find the 
string Generate bundles anywhere in the WOLips framework.

Maik


Am 29.07.2012 um 22:49 schrieb David Holt:

 Would that everything were so easy to fix:
 
 Turn off Generate bundles in the WOLips preferences.
 
 Screen Shot 2012-07-29 at 1.47.53 PM.png
 On 2012-07-29, at 1:17 PM, David Holt programming...@mac.com wrote:
 
 Jul 29 13:15:39 Test1[54687] WARN  NSLog  - A fatal exception occurred: No 
 versionString() method in NSBundle found. 
 This means your class path is incorrect. Adjust it so that ERJars comes 
 before JavaFoundation.
 [2012-7-29 13:15:39 PDT] main java.lang.RuntimeException: No 
 versionString() method in NSBundle found. 
 This means your class path is incorrect. Adjust it so that ERJars comes 
 before JavaFoundation.
  at 
 er.extensions.appserver.ERXApplication.init(ERXApplication.java:1154)
  at your.app.Application.init(Application.java:10)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  at java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
  at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
  at er.extensions.appserver.ERXApplication.main(ERXApplication.java:855)
  at your.app.Application.main(Application.java:7)
 
 Does anyone know what might be causing this in my 10.8 install? Class path 
 looks fine...

 ___
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: Hello World crashing in Eclipse 4.2

2012-07-31 Thread Chuck Hill

On 2012-07-31, at 3:38 PM, Maik Musall wrote:

 Follow-up on this. Happend to me, too (on 10.7). Turning off Generate 
 bundles in WOLips prefs did prevent the error from happening, but I wouldn't 
 call that fixing. App startup takes much longer now, and the app version 
 without wonder won't launch that way because the main bundle is then 
 JavaFoundation. (I'm migrating the app to wonder and have two parallel 
 branches which I can switch during the migration.)
 
 I doublechecked my classpath, of course.
 
 Is it a bug in WOLips? Where is the source for that, anyway?


https://github.com/wocommunity/wolips


Chuck


 I can't find the string Generate bundles anywhere in the WOLips framework.
 
 Maik
 
 
 Am 29.07.2012 um 22:49 schrieb David Holt:
 
 Would that everything were so easy to fix:
 
 Turn off Generate bundles in the WOLips preferences.
 
 Screen Shot 2012-07-29 at 1.47.53 PM.png
 On 2012-07-29, at 1:17 PM, David Holt programming...@mac.com wrote:
 
 Jul 29 13:15:39 Test1[54687] WARN  NSLog  - A fatal exception occurred: No 
 versionString() method in NSBundle found. 
 This means your class path is incorrect. Adjust it so that ERJars comes 
 before JavaFoundation.
 [2012-7-29 13:15:39 PDT] main java.lang.RuntimeException: No 
 versionString() method in NSBundle found. 
 This means your class path is incorrect. Adjust it so that ERJars comes 
 before JavaFoundation.
 at 
 er.extensions.appserver.ERXApplication.init(ERXApplication.java:1154)
 at your.app.Application.init(Application.java:10)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:355)
 at java.lang.Class.newInstance(Class.java:308)
 at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
 at er.extensions.appserver.ERXApplication.main(ERXApplication.java:855)
 at your.app.Application.main(Application.java:7)
 
 Does anyone know what might be causing this in my 10.8 install? Class path 
 looks fine...
 
 ___
 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/chill%40global-village.net
 
 This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_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/archive%40mail-archive.com

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


Re: what did I break with ant?

2012-07-31 Thread Jesse Tayler

Thanks again Tim,

This seems to be related -

I'm unable to launch the newly built app on my server, even though the new ant 
build seems to work etc.

If I just launch at the command line I can see the new app report output along 
with the older install - the older install launches just fine, the new install 
fails without report but for a NEXT_ROOT variable.

 WOMan.woa/WOMan
WOMan: NEXT_ROOT environment variable is not set! Terminating.

At first I thought -- ah, what's this missing NEXT_ROOT

But I see the app normally has that as a first line, but then quickly move 
through

 WOMan.woa/WOMan
WOMan: NEXT_ROOT environment variable is not set!
Reading UNIXClassPath.txt ...
Launching WOMan.woa ...
...
and continues launch.


obviously, the app launches as I'd expect on my developer machine.

did you run into any of that Tim?

anyone have an idea?



On Jul 31, 2012, at 3:32 PM, Tim Worman li...@thetimmy.com wrote:

 The build failure is not due to the 'includeantruntime' error. The build 
 failure is due to not being able to write to the framework directory as set 
 in ~/Application Support/WOLips/wolips.properties.
 
 If the directory doesn't exist, you do need to create it. If it isn't 
 writeable, the ownership/permissions must be changed.
 
 Tim
 UCLA GSEIS
 
 On Jul 31, 2012, at 12:12 PM, Jesse Tayler jtay...@oeinc.com wrote:
 
 I'm fairly certain you do NOT need to create any directory -- that's simply 
 an end-failure result of the build termination.
 
 I can see also some people outside the WO community having this trouble and 
 ironically, they too simply added that property to their build.xml but I 
 don't see how they did it and I must be doing it wrong or something.
 
 So, either I'm confused or I'm doing it wrong -- but it's not yet working 
 for me.
 
 I don't really understand how the build.xml works so maybe I'm not setting 
 the environment variable properly?
 
 my build.xml now starts off like this:
 
 project name=WOMan default=build basedir=.
  
  presetdef name=javac
  javac includeantruntime=false /
  /presetdef
  
 
 
 
 
 
 On Jul 31, 2012, at 2:25 PM, David Holt programming...@mac.com wrote:
 
 I am having the same issues. And no, I cannot create the directory from the 
 command line. What should the permissions be?
 
 David
 
 
 On 2012-07-23, at 10:22 AM, Henrique Gomes li...@farol.pt wrote:
 
 
 On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote:
 
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57:
  Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was 
 not successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 Can you create de dir on the command line?
 
 $ mkdir  /Library/Frameworks/ASPOOpenProjectsFW.framework 
 
 HG
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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/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/archive%40mail-archive.com

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


Re: what did I break with ant?

2012-07-31 Thread David Holt
Hi Tim,

On 2012-07-31, at 12:11 PM, Tim Worman li...@thetimmy.com wrote:

 I always get the warning: 'includeantruntime' was not set error. It 
 happened at an ant upgrade somewhere but doesn't impact framework building. 
 On writing to your framework path:. Eclipse runs as your user, so the target 
 directory either needs to be writable by that user or by  a group that user 
 belongs to - like 'admin' if the user is an admin user. Here is the ownership 
 and permissions on my framework directory.
 
 I use this directory for my WO frameworks:
 
 /usr/local/webobjects/Library/Frameworks/
 
 The permissions are set like:
 
 drwxrwxr-x  82 root  admin  2788 Jul 20 15:56 Frameworks/

Looks like the default group for a new user account in 10.8 has changed.

Everything is set as staff.

When I added the admin group my build problems went away. Thanks very much for 
taking the time to paste what they should be.

David

 
 The important bits are in red.
 
 Tim
 UCLA GSEIS
 
 On Jul 31, 2012, at 11:25 AM, David Holt programming...@mac.com wrote:
 
 I am having the same issues. And no, I cannot create the directory from the 
 command line. What should the permissions be?
 
 David
 
 
 On 2012-07-23, at 10:22 AM, Henrique Gomes li...@farol.pt wrote:
 
 
 On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote:
 
 
 BUILD FAILED
 /Users/asacksadmin/Documents/workspaceAS_II/ASPOOpenProjectsFW/build.xml:57:
  Directory /Library/Frameworks/ASPOOpenProjectsFW.framework creation was 
 not successful for an unknown reason
 
 Total time: 3 seconds
 
 --
 for Unknown reason.
 
 Can you create de dir on the command line?
 
 $ mkdir  /Library/Frameworks/ASPOOpenProjectsFW.framework 
 
 HG
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/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/archive%40mail-archive.com

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


Re: WO, Git and Jenkins: Impedance mismatch?

2012-07-31 Thread Paul Hoadley
On 22/06/2012, at 9:04 AM, Paul Hoadley wrote:

 I'm looking at moving some projects from Subversion to Git.  We use Jenkins 
 as a build server.  I'm interested to know some broad details about the 
 WO-Git-Jenkins setups that others are using.
 
 In the past, we've used Subversion repositories that are somewhere in the 
 middle of the range from monolithic (where absolutely all of your code is 
 in one repo) to atomic (where it's basically one Eclipse project per repo). 
  For example, an application repo might contain three Eclipse projects: one 
 app, and a couple of frameworks, say.  I had intended to basically continue 
 this arrangement with the move to Git, mostly because it's pretty easy to 
 just dump out an entire repo with git-svn.  But I've already run into at 
 least the following problems:
 
 1.  Unlike Subversion, where I can pick a point in the tree from which to 
 begin the checkout (say, FooProject/FooApp), with Git I need to clone the 
 whole repo into the Jenkins workspace.  I suspect I can work around this with 
 some changes to my workspace setup script.
 
 2.  Related, say I'm building Jenkins jobs FooApp and FooFramework from 
 within the FooProject repo—now I'm cloning the entire repo into the workspace 
 of each of those jobs.
 
 Neither of these are show-stoppers, but it seems messy.  I _could_ get around 
 this by having a strict single-project-per-repo policy—but then repo 
 proliferation becomes an issue, and I no longer have the convenience of 
 grouping related projects together in one repo.
 
 Can anyone share their broad approach to these issues?


A month has passed, and I'm still only marginally closer to a satisfactory 
solution here.

There seems to be no simple way around the issue of cloning the entire repo for 
each Jenkins job, though the Git plugin at least allows you to specify 
Included Regions, which is a regex with which you can nominate, say, 
'FooApplication/.*' so that commits only to FooApplication trigger builds for 
the FooApplication job.  _However_, I'm not convinced this works reliably.  I'm 
currently debugging a situation where pushing commits to multiple Eclipse 
projects within the one repo is triggering only the _first_ Jenkins job.  
Obviously that can be disastrous if the project dependency is the other way 
around.  (I haven't got to the bottom of it yet—something like that is 
happening, though I can't prove it's the fault of Jenkins.)

Trying to build on multiple branches is very awkward.  My workspace setup 
script (derived from the original Subversion-based script that Mike Schrag 
wrote years ago) is not branch-aware, and the best way to make it so is not 
obvious.  (The main problem is that, as with the original script, it copies 
frameworks into the workspace based on the project's .classpath.  There's no 
way to denote in the .classpath that I want the 'develop' branch of 
FooFramework.framework, and then there would only be convention to rely upon to 
find that as a Jenkins job anyway.  How is all this best generalised?)  So at 
the moment, I add an extra build step that deletes the frameworks copied over 
from their 'master' branch projects, and copies over those frameworks from the 
required branch.

Seriously, I'd love to hear from anyone else who is doing any of 
this—especially building multiple branches of the same projects from Git repos, 
using Jenkins and the Git plugin (or any other plugin).  Does anyone have 
anything they can share?  Has anyone looked at Atlassian's Bamboo?


-- 
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/archive%40mail-archive.com

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


Re: Hello World crashing in Eclipse 4.2

2012-07-31 Thread John Huss
4.2 is not supported, it's experimental, so problems are to be expected.
 Does the same thing happen to you with 3.7?

On Tuesday, July 31, 2012, Chuck Hill wrote:


 On 2012-07-31, at 3:38 PM, Maik Musall wrote:

  Follow-up on this. Happend to me, too (on 10.7). Turning off Generate
 bundles in WOLips prefs did prevent the error from happening, but I
 wouldn't call that fixing. App startup takes much longer now, and the app
 version without wonder won't launch that way because the main bundle is
 then JavaFoundation. (I'm migrating the app to wonder and have two
 parallel branches which I can switch during the migration.)
 
  I doublechecked my classpath, of course.
 
  Is it a bug in WOLips? Where is the source for that, anyway?


 https://github.com/wocommunity/wolips


 Chuck


  I can't find the string Generate bundles anywhere in the WOLips
 framework.
 
  Maik
 
 
  Am 29.07.2012 um 22:49 schrieb David Holt:
 
  Would that everything were so easy to fix:
 
  Turn off Generate bundles in the WOLips preferences.
 
  Screen Shot 2012-07-29 at 1.47.53 PM.png
  On 2012-07-29, at 1:17 PM, David Holt 
  programming...@mac.comjavascript:;
 wrote:
 
  Jul 29 13:15:39 Test1[54687] WARN  NSLog  - A fatal exception
 occurred: No versionString() method in NSBundle found.
  This means your class path is incorrect. Adjust it so that ERJars
 comes before JavaFoundation.
  [2012-7-29 13:15:39 PDT] main java.lang.RuntimeException: No
 versionString() method in NSBundle found.
  This means your class path is incorrect. Adjust it so that ERJars
 comes before JavaFoundation.
  at
 er.extensions.appserver.ERXApplication.init(ERXApplication.java:1154)
  at your.app.Application.init(Application.java:10)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
  at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  at java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
  at
 com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
  at
 er.extensions.appserver.ERXApplication.main(ERXApplication.java:855)
  at your.app.Application.main(Application.java:7)
 
  Does anyone know what might be causing this in my 10.8 install? Class
 path looks fine...
 
  ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  
  (Webobjects-dev@lists.apple.comjavascript:;
 )
  Help/Unsubscribe/Update your Subscription:
 
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
  This email sent to ch...@global-village.net javascript:;

 --
 Chuck Hill Senior Consultant / VP Development

 Practical WebObjects - for developers who want to increase their overall
 knowledge of WebObjects or who are trying to solve specific problems.
 http://www.global-village.net/gvc/practical_webobjects









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

 https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

 This email sent to johnth...@gmail.com javascript:;

 ___
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