Re: Stuck on long response page... IE

2010-05-17 Thread Simon
is the ajax variety pretty much a drop in replacement for the old hat one ?
what about locking issues ? ERXWOLongResponsePage does some funky stuff
around ec locking - i guess with the ajax variety you're on your own ?

simon

On 18 May 2010 03:12, Kieran Kelleher  wrote:

> Instead of a traditional "LongResponse" page try using a
> "GenericAjaxLongResponsePage" page that has an AjaxProgress component on it
> to monitor the task and a 'finishedFunction' binding on that to execute the
> nextPage action when task is done. That's MOL what I do nowadays.
>
> HTH, Kieran
>
>
> On May 17, 2010, at 7:57 AM, Simon wrote:
>
> > hi all -
> >
> > our apps use long response pages all over the shop, and we've had a few
> reports of users getting stuck on them. after mucho debugging we've
> discovered that wonderful IE (7+) has an option to disable meta refresh, and
> various reports on the intertubes that it's disabled by default in various
> versions.
> >
> > i normally get annoyed with IE browsers wanting to warn about every minor
> glitch on a page ("HEY, just in case you're interested there is a js
> variable undefined on this page that you're never gonna use, but i thought
> i'd tell you about it anyway, just to get in the way and make your life a
> little less productive. ok?"), but with this one IE does just the opposite:
> nothing at all. you hit the long response page and sit there...
> >
> > anyway, i've been googling around for solutions and turned up nothing. i
> guess the options are either to detect they have it turned off (which
> appears to be impossible), or use another form of refresh.
> >
> > anyone bumped into this one before ? any hints on solutions ?
> >
> > thanks, simon
> > ___
> > 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/kieran_lists%40mac.com
> >
> > This email sent to kieran_li...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

builds failing in Eclipse 3.6

2010-05-17 Thread Tim Worman
All:

I could use some tips about how to troubleshoot ant build problems. I'm sure 
this has to do with the fact that I've updated to Eclipse 3.6. I'm running the 
cocoa 64-bit version. I haven't been able to build any apps this evening.

I'm using the conventional method:

right-click on build.xml > Run As > Ant Build

 I've never run into build problems failures like this so I've never had to 
look into something like this. I switched back to Eclipse 3.5 to build my apps.

Tim Worman
UCLA GSE&IS



 ___
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: Get rid of warning in binding value e.g. @sum.totalCost

2010-05-17 Thread Cheong Hee


Not sure why this happened - the second time i did the changes with same 
same sequence, saved... the error disappeared.


Pls ignore previous email.  Thanks, Kieran.

another note, any pointer as where to get more info about stuff like 
//VALID.


Cheers

Cheong Hee

- Original Message - 
From: "Cheong Hee" 

To: "Kieran Kelleher" 
Cc: "Development WebObjects" 
Sent: Tuesday, May 18, 2010 12:11 PM
Subject: Re: Get rid of warning in binding value e.g. @sum.totalCost


Not sure if I got it right.  I appended \\VALID to the binding value, the 
red icon now complains:

- '\' is an unknown keyword
- Unable to verify operator 'sum.numberOfHour'
- 'VALID' is an unknown keyword
- '\' is an unknown keyword

Just to be sure, this is the string binding used:
String11: WOString {
numberformat = "0.00";
value = selectedresource.trainin...@sum.numberofhour;\\VALID
}

Cheers

Cheong Hee

- Original Message - 
From: "Kieran Kelleher" 

To: "Cheong Hee Ng" 
Cc: "Development WebObjects" 
Sent: Monday, May 17, 2010 6:26 PM
Subject: Re: Get rid of warning in binding value e.g. @sum.totalCost



selectedresource.trainin...@sum.totalcost;\\VALID


On May 17, 2010, at 5:51 AM, Cheong Hee Ng wrote:


selectedresource.trainin...@sum.totalcost;






___
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: Get rid of warning in binding value e.g. @sum.totalCost

2010-05-17 Thread Cheong Hee
Not sure if I got it right.  I appended \\VALID to the binding value, the 
red icon now complains:

- '\' is an unknown keyword
- Unable to verify operator 'sum.numberOfHour'
- 'VALID' is an unknown keyword
- '\' is an unknown keyword

Just to be sure, this is the string binding used:
String11: WOString {
numberformat = "0.00";
value = selectedresource.trainin...@sum.numberofhour;\\VALID
}

Cheers

Cheong Hee

- Original Message - 
From: "Kieran Kelleher" 

To: "Cheong Hee Ng" 
Cc: "Development WebObjects" 
Sent: Monday, May 17, 2010 6:26 PM
Subject: Re: Get rid of warning in binding value e.g. @sum.totalCost



selectedresource.trainin...@sum.totalcost;\\VALID


On May 17, 2010, at 5:51 AM, Cheong Hee Ng wrote:


selectedresource.trainin...@sum.totalcost;




___
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: ?? about opportunistic locking...

2010-05-17 Thread Mark Ritchie
Hey!

On 17/May/2010, at 8:26 PM, Mike Schrag wrote:
> Well, sure you agree with them. And they're wrong too ;)
LOL  Ok, now it's time to break out the Nerf equipment! ;-)

> As far as I can tell, this API seems to be one that must have come from the 
> desktop version of EOF where you're always in-process to your changes. Those 
> API's are all dead to me.
Yes, of course this design is from 'real' EOF!  ObjC EOF and AppKit on 
NeXTSTEP/OPENSTEP!  ;-)
Dead or not, it's the history which forms what we have today.

>> This is what I've used in the past (since ObjC days) and I don't know of a 
>> case where it fails.
> This depends on your definition of "fail." I agree that for the way you're 
> using it it works. For the ACTUAL complaint I have, it seems insufficient. 
> I'm also not sure you even run in the right thread to throw that exception. 
> This responds to ObjectsChangedInStore, which probably means it runs in EC1's 
> thread? Or does it queue up and run in EC2's thread when in 
> performRecentChanges or something? Regardless, I suspect to make 
> inter-instance and intra-instance behavior match, you're going to have to do 
> a lot more work ... hence my gripe.
Those two cases need to be different!  If anything, the inter-instance case is 
broken in that it doesn't properly notify EC's in other running instances that 
objects they are interested in have become invalid!  However, until we have 
EC's properly hooked into the psychic-friends network, I don't see how that's 
going to happen.

> If you can get an optimistic lock on ec2.saveChanges out of this technique, 
> I'll be a fan of it (because then we can just wire this into Wonder on all 
> EC's and have this problem fixed or at least an opt-in feature), but I'm 
> still not convinced yet.
But that's just it, I don't want to have ec2.saveChanges() fail. By the time 
that ec2 is back to running, it's EO's have been updated and it's good to save! 
 The delegate gives the application developer the control to handle this case 
in way specific to their application implementation.  Something that I could 
not divine a general solution too!

And yes, by the by, I'm pretty sure that you're correct that when the delegate 
is called, it's within the thread of the EC which posted the notification and 
thus throwing any exception would never make it to the handler of another EC.  
Nor should it! ;-)

Now, having said all that, I would be open to the idea of making this easier to 
understand for new developers however that must not come at the cost of 
sacrificing the notification that objects have changed from what you thought 
they were.  M.

 ___
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: ?? about opportunistic locking...

2010-05-17 Thread Mike Schrag
> On 17/May/2010, at 4:24 PM, Mike Schrag wrote:
>> so here's your challenge ... make this fail with an optimistic lock 
>> exception when EC2 saves (which is what would happen if EC1 was in another 
>> instance):
> But that's the point...  When an EO in your application changes, you are 
> notified via the delegate!  You don't have to wait until you try to 
> saveChanges and get the exception.  I agree with what others have posted 
> recently on this topic, getting notified of a collision at the earliest point 
> is much preferred!
Well, sure you agree with them. And they're wrong too ;)

The problem is that this implementation is horribly confusing. As soon as you 
go to multiple instances (which everyone will do), your apps now behave 
completely inconsistently. I find this to be bad design. Now your app is 
handling optimistic locking failures in TWO places -- once weirdly in this 
delegate, which can't easily propagate up to a UI and the other that happens in 
your catch block for saveChanges, which DOES propagate to the UI. As far as I 
can tell, this API seems to be one that must have come from the desktop version 
of EOF where you're always in-process to your changes. Those API's are all dead 
to me.

> This is what I've used in the past (since ObjC days) and I don't know of a 
> case where it fails.
This depends on your definition of "fail." I agree that for the way you're 
using it it works. For the ACTUAL complaint I have, it seems insufficient. I'm 
also not sure you even run in the right thread to throw that exception. This 
responds to ObjectsChangedInStore, which probably means it runs in EC1's 
thread? Or does it queue up and run in EC2's thread when in 
performRecentChanges or something? Regardless, I suspect to make inter-instance 
and intra-instance behavior match, you're going to have to do a lot more work 
... hence my gripe.

If you can get an optimistic lock on ec2.saveChanges out of this technique, 
I'll be a fan of it (because then we can just wire this into Wonder on all EC's 
and have this problem fixed or at least an opt-in feature), but I'm still not 
convinced yet.

ms ___
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: ?? about opportunistic locking...

2010-05-17 Thread Mark Ritchie
Hey Mike!

On 17/May/2010, at 4:24 PM, Mike Schrag wrote:
> so here's your challenge ... make this fail with an optimistic lock exception 
> when EC2 saves (which is what would happen if EC1 was in another instance):

But that's the point...  When an EO in your application changes, you are 
notified via the delegate!  You don't have to wait until you try to saveChanges 
and get the exception.  I agree with what others have posted recently on this 
topic, getting notified of a collision at the earliest point is much preferred!

As to the rest of it, I think that you're making it way too complicated...
My delegate works just fine at caching the changes and applying them later:


MarksDelegate.java
Description: Binary data


This is what I've used in the past (since ObjC days) and I don't know of a case 
where it fails.
M.

P.S.  My run log looks like this (after the 100 objects are created):


May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  evaluateExpression: 

May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  - 100 row(s) processed
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  === Commit Internal 
Transaction
Application.Application: ec0 = er.extensions.eof.er...@7fd88db7
Application.Application: ec1 = er.extensions.eof.er...@524c71d2
Application.Application: ec2 = er.extensions.eof.er...@49198ff2
Application.Application: Company 98
Application.Application: Company 98
Application.Application: Company 98

C1 updated, not saved.
Application.Application: Company 98
Application.Application: C1 1274149686265
Application.Application: Company 98

C2 updated, not saved.
Application.Application: Company 98
Application.Application: C1 1274149686265
Application.Application: C2 1274149686265

May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  === Begin Internal 
Transaction
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  evaluateExpression: 

May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  === Commit Internal 
Transaction
MarksDelegate.editingContext: er.extensions.eof.er...@49198ff2 
shouldMergeChangesForObject: eo = 
MarksDelegate.editingContext: er.extensions.eof.er...@49198ff2 didMergeChanges:
MarksDelegate.editingContext: er.extensions.eof.er...@7fd88db7 
shouldInvalidateObject: eo = 
MarksDelegate.editingContext: er.extensions.eof.er...@7fd88db7 didMergeChanges:
MarksDelegate.editingContext: er.extensions.eof.er...@524c71d2 
shouldInvalidateObject: eo = 
MarksDelegate.editingContext: er.extensions.eof.er...@524c71d2 didMergeChanges:
C1 saved.
Application.Application: C1 1274149686265
Application.Application: C1 1274149686265
Application.Application: C2 1274149686265

May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  === Begin Internal 
Transaction
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  evaluateExpression: 

May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  === Commit Internal 
Transaction
MarksDelegate.editingContext: er.extensions.eof.er...@524c71d2 
shouldInvalidateObject: eo = 
MarksDelegate.editingContext: er.extensions.eof.er...@524c71d2 didMergeChanges:
MarksDelegate.editingContext: er.extensions.eof.er...@7fd88db7 
shouldInvalidateObject: eo = 
MarksDelegate.editingContext: er.extensions.eof.er...@7fd88db7 didMergeChanges:
MarksDelegate.editingContext: er.extensions.eof.er...@49198ff2 
shouldInvalidateObject: eo = 
MarksDelegate.editingContext: er.extensions.eof.er...@49198ff2 didMergeChanges:
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  === Begin Internal 
Transaction
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  evaluateExpression: 

May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  - 1 row(s) processed
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  -  === Commit Internal 
Transaction
C2 saved.
Application.Application: C2 1274149686265
Application.Application: C2 1274149686265
Application.Application: C2 1274149686265
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  - The URL for webserver 
connect is:
http://17.246.48.60/cgi-bin/WebObjects/UseTheDelegate.woa/-49584
The URL for direct connect is:
http://17.246.48.60:49584/cgi-bin/WebObjects/UseTheDelegate.woa
May 17 19:28:06 UseTheDelegate[49584] WARN  NSLog  - 
May 17 19:28:06 UseTheDelegate[49584] WARN  
er.extensions.appserver.ERXApplication  - You are running in development mode 
with WOAutoOpenInBrowser = false.  No browser will open and it will look like 
the application is hung, but it's not.  There's just not a browser opening 
automatically.
May 17 19:28:06 UseTheDelegate[49584] DEBUG NSLog  - Waiting for requests...

 ___
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: ?? about opportunistic locking...

2010-05-17 Thread Kieran Kelleher
Miguel, I am with you on this one ... unless someone shows me a better 
approach...

For stuff that I *depend* on optimistic locking to support my business logic, I 
wrap transactions in a *brief* osc.lock()  it works . and for 
saving brain cycles I use this utility class to wrap optimistic lock 
transactions:


/**
 * Deals with the nitty-gritty of a critical 
short-running
 * task where we depend on optimistic locking to guarantee that another
 * process does not change optimistic locking attributes at the same 
time. To
 * understand why this is necessary, read this: 
 * {...@link http://terminalapp.net/dr-optimistic-locking/}. 
 * 
 * Wraps the actions in
 * appropriate locks. WARNING: The OSC is locked for the period of the
 * transaction. All EOF access on this OSC is blocked. Do not use this 
for
 * actions that take more than a few milliseconds on OSC's that are 
being
 * used by request threads!
 * 
 * Code design inspired by {...@link ERXEOAccessUtilities.ChannelAction}
 * 
 * Example of usage
 * 
 * 
 * OptimisticLockAction action = new WKEOUtils.OptimisticLockAction() {
 *  @Override
 *  protected Object doPerform(EOEditingContext 
actionEditingContext) {
 *  CTCampaign localCampaign = (CTCampaign) 
actionEditingContext.faultForGlobalID(gid, actionEditingContext);
 *  try {
 *  // Ship it
 *  localCampaign.shipMessages();
 *  actionEditingContext.saveChanges();
 *  } catch (EOGeneralAdaptorException e) {
 *  String additionalInfo = 
WKEOUtils.generalAdaptorExceptionInfo(e);
 *  log.error("Failed to ship campaign " 
+ localCampaign + ". Probably another instance was sending "
 *  + "this 
campaign to the production mail queueat the same time; AdditionalInfo: "
 *  + 
additionalInfo, e);
 *  }
 *  return null;
 *  }
 * };
 * 
 * try {
 *  action.perform(parentObjectStore());
 * } catch (Exception e) {
 *  throw new RuntimeException(e);
 * }
 * 
 * 
 * @author kieran
 */
public static abstract class OptimisticLockAction {

/**
 * This method is called in a new locked editing context that 
has been
 * created in the osc passed in. Perform your changes in this 
editing
 * context. Any errors will be thrown. Return any result you 
want.
 * 
 * @param osc
 */
protected abstract Object doPerform(EOEditingContext ec);

public Object perform() throws Exception {
return perform(null);
}

/**
 * @param osc
 *the root object store to be locked so that true 
optimistic
 *locking can be enforced.
 * @return the result of your doPerform method implementation
 * @throws Exception
 */
public Object perform(EOObjectStore osc) throws Exception {
osc.lock();
try {
EOEditingContext ec = 
WKEOUtils.newManualLockingEditingContext(osc);
ec.lock();
try {
// Don't use stale EO's to begin with

ec.setFetchTimestamp(System.currentTimeMillis());
return doPerform(ec);
} catch (Exception e) {
throw e;
} finally {
ec.unlock();
ec.dispose();
}
} catch (Exception e) {
throw e;
} finally {
osc.unlock();
}
}
}












On May 17, 2010, at 5:33 PM, Miguel Arroz wrote:

> Hi!
> 
>  It's optimistic locking, and in my opinion, it's not implemented correctly 
> in WO! ;)
> 
>  http://terminalapp.net/dr-optimistic-locking/
> 
>  Have fun.
> 
>  (I'm not sure if that blog post is 100% correct, I wrote it 2 years ago, but 
> it should be enough to explain the problem)
> 
>  Yours
> 
> Miguel Arroz
> 
> On 2010/05/17, a

Re: Stuck on long response page... IE

2010-05-17 Thread Kieran Kelleher
Instead of a traditional "LongResponse" page try using a 
"GenericAjaxLongResponsePage" page that has an AjaxProgress component on it to 
monitor the task and a 'finishedFunction' binding on that to execute the 
nextPage action when task is done. That's MOL what I do nowadays.

HTH, Kieran


On May 17, 2010, at 7:57 AM, Simon wrote:

> hi all - 
> 
> our apps use long response pages all over the shop, and we've had a few 
> reports of users getting stuck on them. after mucho debugging we've 
> discovered that wonderful IE (7+) has an option to disable meta refresh, and 
> various reports on the intertubes that it's disabled by default in various 
> versions.
> 
> i normally get annoyed with IE browsers wanting to warn about every minor 
> glitch on a page ("HEY, just in case you're interested there is a js variable 
> undefined on this page that you're never gonna use, but i thought i'd tell 
> you about it anyway, just to get in the way and make your life a little less 
> productive. ok?"), but with this one IE does just the opposite: nothing at 
> all. you hit the long response page and sit there...
> 
> anyway, i've been googling around for solutions and turned up nothing. i 
> guess the options are either to detect they have it turned off (which appears 
> to be impossible), or use another form of refresh.
> 
> anyone bumped into this one before ? any hints on solutions ?
> 
> thanks, simon
> ___
> 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/kieran_lists%40mac.com
> 
> This email sent to kieran_li...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: ?? about opportunistic locking...

2010-05-17 Thread Mike Schrag
well i don't agree with you :) IMO, two editingcontexts in the same app 
should behave exactly like one editingcontext in instance 1 and one 
editingcontext in instance 2.

also, it's not at all clear how to even make this method do what you might want 
it to do ... as far as i can tell, you would have to basically have to 
implement in-memory optimistic locking yourself, and I'm not even sure how to 
get access to the snapshot from the other EC in this method, because it's not 
the one in committedSnapshot, maybe because it hasn't actually committed, yet, 
when this is called? i'm not entirely sure. also, i thought the optimistic lock 
field is based on the underlying database snapshot, not on the EC snapshot, 
which means that even if you fiddle with merges in your EC, when it comes time 
to save EC2, it's still going to use the value committed into the EODatabase 
snapshot from EC1, which would result in no optimistic lock.

so here's your challenge ... make this fail with an optimistic lock exception 
when EC2 saves (which is what would happen if EC1 was in another instance):

EOEditingContext editingContext0 = 
ERXEC.newEditingContext();
editingContext0.lock();
for (int i = 0; i < 100; i++) {
Company c = 
Company.createCompany(editingContext0);
c.setName("Company " + i);
}
editingContext0.saveChanges();
Company c0 = 
Company.fetchAllCompanies(editingContext0).objectAtIndex(0);
editingContext0.unlock();

EOEditingContext editingContext1 = 
ERXEC.newEditingContext();
editingContext1.lock();
Company c1 = c0.localInstanceIn(editingContext1);

EOEditingContext editingContext2 = 
ERXEC.newEditingContext();
editingContext2.setDelegate(new TestDelegate());
editingContext2.lock();
Company c2 = c0.localInstanceIn(editingContext2);

System.out.println("Application.Application: ec0 = " + 
editingContext0);
System.out.println("Application.Application: ec1 = " + 
editingContext1);
System.out.println("Application.Application: ec2 = " + 
editingContext2);

System.out.println("Application.Application: " + 
c0.name());
System.out.println("Application.Application: " + 
c1.name());
System.out.println("Application.Application: " + 
c2.name());
System.out.println();

c1.setName("C1 " + System.currentTimeMillis());

System.out.println("C1 updated, not saved.");
System.out.println("Application.Application: " + 
c0.name());
System.out.println("Application.Application: " + 
c1.name());
System.out.println("Application.Application: " + 
c2.name());
System.out.println();

c2.setName("C2 " + System.currentTimeMillis());

System.out.println("C2 updated, not saved.");
System.out.println("Application.Application: " + 
c0.name());
System.out.println("Application.Application: " + 
c1.name());
System.out.println("Application.Application: " + 
c2.name());
System.out.println();

editingContext1.saveChanges();
editingContext1.unlock();

System.out.println("C1 saved.");
System.out.println("Application.Application: " + 
c0.name());
System.out.println("Application.Application: " + 
c1.name());
System.out.println("Application.Application: " + 
c2.name());
System.out.println();

editingContext2.saveChanges();
editingContext2.unlock();

System.out.println("C2 saved.");
System.out.println("Application.Application: " + 
c0.name());
System.out.println("Application.Application: " + 
c1.name());
System.out.println("Application.Application: " + 
c2.name());
}
catch (Throwable t) {
t.printStackTrace();
}




On May 17, 2010, at 5:30 PM, Mark Ritchie wrote:

> Hey!
> 
> On 17/May/2010, at 2:18 PM, Theodore Petrosky wrote:
>> so either I am doing something wrong or I do

Re: D2W String Formatting

2010-05-17 Thread David Avendasora
LOL. Thanks. Bookmarked.

Dave

On May 17, 2010, at 5:40 PM, Guido Neitzer wrote:

> http://tinyurl.com/2dfekmz
> 
> First link, search for "preformat" on that page. ;-)
> 
> Guido
> 
> On 17. May, 2010, at 14:29 , David Avendasora wrote:
> 
>> That's Perfect! I knew there had to be one, I just couldn't find it.
>> 
>> Is there a resource you used to look that up?
>> 
>> Dave
>> 
>> On May 17, 2010, at 5:18 PM, Guido Neitzer wrote:
>> 
>>> Haven't used it, but can you set the attribute to be shown with:
>>> 
>>> er.directtoweb.components.strings.ERD2WDisplayPreformattedString
>>> 
>>> Take care,
>>> Guido
>>> 
>>> On 17. May, 2010, at 14:06 , David Avendasora wrote:
>>> 
 Hi all,
 
 I'm displaying some pre-formatted XML code in a ERModernD2W inspect page. 
 I see how to use "formatter" to format a number for display, but how do I 
 simply tell it to surround the property with  - Or some 
 similarly effective CSS?
 
 Dave ___
 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/guido.neitzer%40gmail.com
 
 This email sent to guido.neit...@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/archive%40mail-archive.com

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


Re: D2W String Formatting

2010-05-17 Thread Chuck Hill

The Google-fu is strong in this one!

:-P


On May 17, 2010, at 2:40 PM, Guido Neitzer wrote:


http://tinyurl.com/2dfekmz

First link, search for "preformat" on that page. ;-)

Guido

On 17. May, 2010, at 14:29 , David Avendasora wrote:


That's Perfect! I knew there had to be one, I just couldn't find it.

Is there a resource you used to look that up?

Dave

On May 17, 2010, at 5:18 PM, Guido Neitzer wrote:


Haven't used it, but can you set the attribute to be shown with:

er.directtoweb.components.strings.ERD2WDisplayPreformattedString

Take care,
Guido

On 17. May, 2010, at 14:06 , David Avendasora wrote:


Hi all,

I'm displaying some pre-formatted XML code in a ERModernD2W  
inspect page. I see how to use "formatter" to format a number for  
display, but how do I simply tell it to surround the property  
with  - Or some similarly effective CSS?


Dave ___
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/guido.neitzer%40gmail.com

This email sent to guido.neit...@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/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/products/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: D2W String Formatting

2010-05-17 Thread Guido Neitzer
http://tinyurl.com/2dfekmz

First link, search for "preformat" on that page. ;-)

Guido

On 17. May, 2010, at 14:29 , David Avendasora wrote:

> That's Perfect! I knew there had to be one, I just couldn't find it.
> 
> Is there a resource you used to look that up?
> 
> Dave
> 
> On May 17, 2010, at 5:18 PM, Guido Neitzer wrote:
> 
>> Haven't used it, but can you set the attribute to be shown with:
>> 
>> er.directtoweb.components.strings.ERD2WDisplayPreformattedString
>> 
>> Take care,
>> Guido
>> 
>> On 17. May, 2010, at 14:06 , David Avendasora wrote:
>> 
>>> Hi all,
>>> 
>>> I'm displaying some pre-formatted XML code in a ERModernD2W inspect page. I 
>>> see how to use "formatter" to format a number for display, but how do I 
>>> simply tell it to surround the property with  - Or some 
>>> similarly effective CSS?
>>> 
>>> Dave ___
>>> 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/guido.neitzer%40gmail.com
>>> 
>>> This email sent to guido.neit...@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/archive%40mail-archive.com

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


Re: ?? about opportunistic locking...

2010-05-17 Thread Miguel Arroz
Hi!

  It's optimistic locking, and in my opinion, it's not implemented correctly in 
WO! ;)

  http://terminalapp.net/dr-optimistic-locking/

  Have fun.

  (I'm not sure if that blog post is 100% correct, I wrote it 2 years ago, but 
it should be enough to explain the problem)

  Yours

Miguel Arroz

On 2010/05/17, at 22:18, Theodore Petrosky wrote:

> I have a small app where I create a modaldialog to edit the attributes of an 
> entity. all of the attributes are marked for 'locking' in Entity Modeler. 
> 
> I ran my app in development mode and brought up the dialog to edit the 
> attributes. 
> 
> I fired up another computer pointed the browser at the same record.
> 
> so both computers are looking at record 1 and have different values in the 
> fields.
> 
> I was expecting that that I could saved the changes from the browser on 
> machine one, and if I tried to save the changes from machine two the app 
> would throw an exception and I would see it in the logs
> 
> to my surprise, there was no error... machine two's changes were saved over 
> machine one.
> 
> so either I am doing something wrong or I don't understand opportunistic 
> locking..
> 
> I hope someone can help straighten me out.
> 
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
> 
> This email sent to ar...@guiamac.com




smime.p7s
Description: S/MIME cryptographic signature
 ___
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: ?? about opportunistic locking...

2010-05-17 Thread Mark Ritchie
Hey!

On 17/May/2010, at 2:18 PM, Theodore Petrosky wrote:
> so either I am doing something wrong or I don't understand opportunistic 
> locking..

Optimistic locking is for the case when one WOA is optimistic that it's changes 
to a record won't conflict with another WOA's changes to the same record.

I'm guessing that you have a single WOA, in which case optimistic locking isn't 
doing what you want.  Your EOEditingContext delegate needs to catch the 
notifications for editingContextShouldMergeChangesForObject() and 
editingContextDidMergeChanges() and handle things since the default is to 
silently merge the new over the old.

Apparently we need a wiki page about this since it's been the matter of some 
contention lately. ;-)
M.

 ___
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: D2W String Formatting

2010-05-17 Thread David Avendasora
That's Perfect! I knew there had to be one, I just couldn't find it.

Is there a resource you used to look that up?

Dave

On May 17, 2010, at 5:18 PM, Guido Neitzer wrote:

> Haven't used it, but can you set the attribute to be shown with:
> 
> er.directtoweb.components.strings.ERD2WDisplayPreformattedString
> 
> Take care,
> Guido
> 
> On 17. May, 2010, at 14:06 , David Avendasora wrote:
> 
>> Hi all,
>> 
>> I'm displaying some pre-formatted XML code in a ERModernD2W inspect page. I 
>> see how to use "formatter" to format a number for display, but how do I 
>> simply tell it to surround the property with  - Or some similarly 
>> effective CSS?
>> 
>> Dave ___
>> 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/guido.neitzer%40gmail.com
>> 
>> This email sent to guido.neit...@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/archive%40mail-archive.com

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


Re: D2W String Formatting

2010-05-17 Thread Chuck Hill

Make a custom formatter?


On May 17, 2010, at 2:06 PM, David Avendasora wrote:


Hi all,

I'm displaying some pre-formatted XML code in a ERModernD2W inspect  
page. I see how to use "formatter" to format a number for display,  
but how do I simply tell it to surround the property with pre> - Or some similarly effective CSS?


Dave ___
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/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/products/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: D2W String Formatting

2010-05-17 Thread Guido Neitzer
Haven't used it, but can you set the attribute to be shown with:

er.directtoweb.components.strings.ERD2WDisplayPreformattedString

Take care,
Guido

On 17. May, 2010, at 14:06 , David Avendasora wrote:

> Hi all,
> 
> I'm displaying some pre-formatted XML code in a ERModernD2W inspect page. I 
> see how to use "formatter" to format a number for display, but how do I 
> simply tell it to surround the property with  - Or some similarly 
> effective CSS?
> 
> Dave ___
> 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/guido.neitzer%40gmail.com
> 
> This email sent to guido.neit...@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/archive%40mail-archive.com

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


?? about opportunistic locking...

2010-05-17 Thread Theodore Petrosky
I have a small app where I create a modaldialog to edit the attributes of an 
entity. all of the attributes are marked for 'locking' in Entity Modeler. 

I ran my app in development mode and brought up the dialog to edit the 
attributes. 

I fired up another computer pointed the browser at the same record.

so both computers are looking at record 1 and have different values in the 
fields.

I was expecting that that I could saved the changes from the browser on machine 
one, and if I tried to save the changes from machine two the app would throw an 
exception and I would see it in the logs

to my surprise, there was no error... machine two's changes were saved over 
machine one.

so either I am doing something wrong or I don't understand opportunistic 
locking..

I hope someone can help straighten me out.

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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


D2W String Formatting

2010-05-17 Thread David Avendasora
Hi all,

I'm displaying some pre-formatted XML code in a ERModernD2W inspect page. I see 
how to use "formatter" to format a number for display, but how do I simply tell 
it to surround the property with  - Or some similarly effective CSS?

Dave ___
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: Stuck on long response page... IE

2010-05-17 Thread Chuck Hill

JavaScript is the only solution that I can think of.

Chuck


On May 17, 2010, at 4:57 AM, Simon wrote:


hi all -

our apps use long response pages all over the shop, and we've had a  
few reports of users getting stuck on them. after mucho debugging  
we've discovered that wonderful IE (7+) has an option to disable  
meta refresh, and various reports on the intertubes that it's  
disabled by default in various versions.


i normally get annoyed with IE browsers wanting to warn about every  
minor glitch on a page ("HEY, just in case you're interested there  
is a js variable undefined on this page that you're never gonna use,  
but i thought i'd tell you about it anyway, just to get in the way  
and make your life a little less productive. ok?"), but with this  
one IE does just the opposite: nothing at all. you hit the long  
response page and sit there...


anyway, i've been googling around for solutions and turned up  
nothing. i guess the options are either to detect they have it  
turned off (which appears to be impossible), or use another form of  
refresh.


anyone bumped into this one before ? any hints on solutions ?

thanks, simon
___
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/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/products/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: United States vs Comstock

2010-05-17 Thread David Avendasora
I figured for sure you were going to get a response from Andrew Kinnie.

:-D

Dave

On May 17, 2010, at 3:25 PM, Ramsey Gurley wrote:

> Oops, wrong list (^_^) sorry guys.
> 
> On May 17, 2010, at 1:45 PM, Ramsey Gurley wrote:
> 
>> http://www.cato-at-liberty.org/2010/05/17/u-s-v-comstock-is-about-policy-over-law/
>> ___
>> 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/ramsey%40xeotech.com
>> 
>> This email sent to ram...@xeotech.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/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/archive%40mail-archive.com

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


Re: United States vs Comstock

2010-05-17 Thread Ramsey Gurley

Oops, wrong list (^_^) sorry guys.

On May 17, 2010, at 1:45 PM, Ramsey Gurley wrote:


http://www.cato-at-liberty.org/2010/05/17/u-s-v-comstock-is-about-policy-over-law/
___
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/ramsey%40xeotech.com

This email sent to ram...@xeotech.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


United States vs Comstock

2010-05-17 Thread Ramsey Gurley

http://www.cato-at-liberty.org/2010/05/17/u-s-v-comstock-is-about-policy-over-law/
___
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


Wonder Wizard Component

2010-05-17 Thread JR Ruggentaler
Is there a Wonder Wizard component/framework? I saw some wizard stuff in the 
API docs but that may be for D2W (ERD2WWizardCreationPage).

JR ___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Mike Schrag
yeah i think this is the only reason we don't ship jdbc drivers inside the 
actual plugin frameworks ... seems reasonable that you should just deploy them 
in your app bundle. i think this only presents a problem if you deploy inside 
tomcat, for instance, where you want container-managed connection pools.

ms

On May 17, 2010, at 11:20 AM, Patrick Robinson wrote:

> I no longer put even JDBC drivers in there.  What if you needed a different 
> version of the driver for a specific app?  It happened to me!  :-)
> 
> On May 17, 2010, at 11:12 AM, Pascal Robert wrote:
> 
>> I strongly suggest that you remove everything except JDBC drivers. Yes you 
>> fixed your problem for now, but if you leave stuff in Extensions, you will 
>> get other problems later, trust us.
>> 
>>> Well I took everything out and then put everything back except xerces.jar 
>>> and Xalan.jar
>>> These seem to be the culprits...
>>> 
>>> GIno
>>> On 17 May 2010, at 16:00, Patrick Robinson wrote:
>>> 
 Just out of curiosity, what was in your /Library/Java/Extensions, that you 
 moved out?
 
 
 On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:
 
> Well believe it or not but using Pascals advice and moving everything out 
> of /Library/Java/Extensions seems to have done the trick... My HelloWorld 
> app builds and ANT installs with no errors...
> Hopefully it should be plain sailing from now on but thank you VERY much 
> for your time and help..
> 
> Gino
> 
> ___
> 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/webobjects-dev/archive%40mail-archive.com

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


Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread JR Ruggentaler

On 2010-05-17, at 10:21 AM, Gino Pacitti wrote:

> All great advice...
> Moving forward Ill have to implement some changes :)
> 
> Gino
> On 17 May 2010, at 16:20, Patrick Robinson wrote:
> 
>> I no longer put even JDBC drivers in there.  What if you needed a different 
>> version of the driver for a specific app?  It happened to me!  :-)
>> 
>> On May 17, 2010, at 11:12 AM, Pascal Robert wrote:
>> 
>>> I strongly suggest that you remove everything except JDBC drivers. Yes you 
>>> fixed your problem for now, but if you leave stuff in Extensions, you will 
>>> get other problems later, trust us.
>>> 
 Well I took everything out and then put everything back except xerces.jar 
 and Xalan.jar
 These seem to be the culprits...
 
 GIno
 On 17 May 2010, at 16:00, Patrick Robinson wrote:
 
> Just out of curiosity, what was in your /Library/Java/Extensions, that 
> you moved out?
> 
> 
> On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:
> 
>> Well believe it or not but using Pascals advice and moving everything 
>> out of /Library/Java/Extensions seems to have done the trick... My 
>> HelloWorld app builds and ANT installs with no errors...
>> Hopefully it should be plain sailing from now on but thank you VERY much 
>> for your time and help..
>> 
>> Gino
>> 
> 
> ___
> 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/jr%40mpv.com
> 
> This email sent to j...@mpv.com

JR Ruggentaler
Senior Software Developer
Medical Present Value, Inc
j...@mpv.com
Office   512.439.0206
Mobile  512.431.6849

 ___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti

All great advice...
Moving forward Ill have to implement some changes :)

Gino
On 17 May 2010, at 16:20, Patrick Robinson wrote:

I no longer put even JDBC drivers in there.  What if you needed a  
different version of the driver for a specific app?  It happened to  
me!  :-)


On May 17, 2010, at 11:12 AM, Pascal Robert wrote:

I strongly suggest that you remove everything except JDBC drivers.  
Yes you fixed your problem for now, but if you leave stuff in  
Extensions, you will get other problems later, trust us.


Well I took everything out and then put everything back except  
xerces.jar and Xalan.jar

These seem to be the culprits...

GIno
On 17 May 2010, at 16:00, Patrick Robinson wrote:

Just out of curiosity, what was in your /Library/Java/Extensions,  
that you moved out?



On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:

Well believe it or not but using Pascals advice and moving  
everything out of /Library/Java/Extensions seems to have done  
the trick... My HelloWorld app builds and ANT installs with no  
errors...
Hopefully it should be plain sailing from now on but thank you  
VERY much for your time and help..


Gino




___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Patrick Robinson
I no longer put even JDBC drivers in there.  What if you needed a different 
version of the driver for a specific app?  It happened to me!  :-)

On May 17, 2010, at 11:12 AM, Pascal Robert wrote:

> I strongly suggest that you remove everything except JDBC drivers. Yes you 
> fixed your problem for now, but if you leave stuff in Extensions, you will 
> get other problems later, trust us.
> 
>> Well I took everything out and then put everything back except xerces.jar 
>> and Xalan.jar
>> These seem to be the culprits...
>> 
>> GIno
>> On 17 May 2010, at 16:00, Patrick Robinson wrote:
>> 
>>> Just out of curiosity, what was in your /Library/Java/Extensions, that you 
>>> moved out?
>>> 
>>> 
>>> On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:
>>> 
 Well believe it or not but using Pascals advice and moving everything out 
 of /Library/Java/Extensions seems to have done the trick... My HelloWorld 
 app builds and ANT installs with no errors...
 Hopefully it should be plain sailing from now on but thank you VERY much 
 for your time and help..
 
 Gino

 ___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Pascal Robert
Create a base framework that will only hold the JARs, somewhat like  
ERJars, and use this framework in your projects.  And good chance that  
most of the JARs you are using are already in Wonder frameworks.



Whats the best place for the other stuff to go?

GIno
On 17 May 2010, at 16:12, Pascal Robert wrote:

I strongly suggest that you remove everything except JDBC drivers.  
Yes you fixed your problem for now, but if you leave stuff in  
Extensions, you will get other problems later, trust us.


Well I took everything out and then put everything back except  
xerces.jar and Xalan.jar

These seem to be the culprits...

GIno
On 17 May 2010, at 16:00, Patrick Robinson wrote:

Just out of curiosity, what was in your /Library/Java/Extensions,  
that you moved out?



On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:

Well believe it or not but using Pascals advice and moving  
everything out of /Library/Java/Extensions seems to have done  
the trick... My HelloWorld app builds and ANT installs with no  
errors...
Hopefully it should be plain sailing from now on but thank you  
VERY much for your time and help..


Gino
On 17 May 2010, at 15:54, Mike Schrag wrote:

Reinstalled Gannymede and WoLips 3.4 (that works - nightly  
build update was for Galileo so broke my Eclipse 3.4 system)

what URL did you use to install?


my line might be confusing coming in at the mid point of a  
thread...
I did an initial install of Gannymede and WOLips seemed to be  
working together... It notified me of an update with WOLips  
and so I installed the update... Which I believe was WOLips  
3.5.. This then caused Gannymede to not recognize WOLips and  
gave me no options. A slight issue I did have is that I could  
not create any WO Application using the standed new menu  
item... I had to use a wizard that allowed only a Project name  
- I had to manually refactor the name of packages for .java  
and components.
I'm not sure how you did an install and it then offered an  
update -- that seems super suspicious.


I've killed the previous shortcut "/wolips/stable" to prevent  
this problem in the future.


There is now:
http://webobjects.mdimension.com/wolips/WOLips36Current
http://webobjects.mdimension.com/wolips/WOLips35Stable
http://webobjects.mdimension.com/wolips/WOLips34Stable

I have no idea what actual version you ended up installing,  
particularly after that update. I would start from scratch and  
use one of these URLs that is more explicit, so you know what's  
up.


ms


___
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/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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti

Whats the best place for the other stuff to go?

GIno
On 17 May 2010, at 16:12, Pascal Robert wrote:

I strongly suggest that you remove everything except JDBC drivers.  
Yes you fixed your problem for now, but if you leave stuff in  
Extensions, you will get other problems later, trust us.


Well I took everything out and then put everything back except  
xerces.jar and Xalan.jar

These seem to be the culprits...

GIno
On 17 May 2010, at 16:00, Patrick Robinson wrote:

Just out of curiosity, what was in your /Library/Java/Extensions,  
that you moved out?



On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:

Well believe it or not but using Pascals advice and moving  
everything out of /Library/Java/Extensions seems to have done the  
trick... My HelloWorld app builds and ANT installs with no  
errors...
Hopefully it should be plain sailing from now on but thank you  
VERY much for your time and help..


Gino
On 17 May 2010, at 15:54, Mike Schrag wrote:

Reinstalled Gannymede and WoLips 3.4 (that works - nightly  
build update was for Galileo so broke my Eclipse 3.4 system)

what URL did you use to install?


my line might be confusing coming in at the mid point of a  
thread...
I did an initial install of Gannymede and WOLips seemed to be  
working together... It notified me of an update with WOLips and  
so I installed the update... Which I believe was WOLips 3.5..  
This then caused Gannymede to not recognize WOLips and gave me  
no options. A slight issue I did have is that I could not  
create any WO Application using the standed new menu item... I  
had to use a wizard that allowed only a Project name - I had to  
manually refactor the name of packages for .java and components.
I'm not sure how you did an install and it then offered an  
update -- that seems super suspicious.


I've killed the previous shortcut "/wolips/stable" to prevent  
this problem in the future.


There is now:
http://webobjects.mdimension.com/wolips/WOLips36Current
http://webobjects.mdimension.com/wolips/WOLips35Stable
http://webobjects.mdimension.com/wolips/WOLips34Stable

I have no idea what actual version you ended up installing,  
particularly after that update. I would start from scratch and  
use one of these URLs that is more explicit, so you know what's  
up.


ms


___
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/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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Pascal Robert
I strongly suggest that you remove everything except JDBC drivers. Yes  
you fixed your problem for now, but if you leave stuff in Extensions,  
you will get other problems later, trust us.


Well I took everything out and then put everything back except  
xerces.jar and Xalan.jar

These seem to be the culprits...

GIno
On 17 May 2010, at 16:00, Patrick Robinson wrote:

Just out of curiosity, what was in your /Library/Java/Extensions,  
that you moved out?



On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:

Well believe it or not but using Pascals advice and moving  
everything out of /Library/Java/Extensions seems to have done the  
trick... My HelloWorld app builds and ANT installs with no errors...
Hopefully it should be plain sailing from now on but thank you  
VERY much for your time and help..


Gino
On 17 May 2010, at 15:54, Mike Schrag wrote:

Reinstalled Gannymede and WoLips 3.4 (that works - nightly  
build update was for Galileo so broke my Eclipse 3.4 system)

what URL did you use to install?


my line might be confusing coming in at the mid point of a  
thread...
I did an initial install of Gannymede and WOLips seemed to be  
working together... It notified me of an update with WOLips and  
so I installed the update... Which I believe was WOLips 3.5..  
This then caused Gannymede to not recognize WOLips and gave me  
no options. A slight issue I did have is that I could not create  
any WO Application using the standed new menu item... I had to  
use a wizard that allowed only a Project name - I had to  
manually refactor the name of packages for .java and components.
I'm not sure how you did an install and it then offered an update  
-- that seems super suspicious.


I've killed the previous shortcut "/wolips/stable" to prevent  
this problem in the future.


There is now:
http://webobjects.mdimension.com/wolips/WOLips36Current
http://webobjects.mdimension.com/wolips/WOLips35Stable
http://webobjects.mdimension.com/wolips/WOLips34Stable

I have no idea what actual version you ended up installing,  
particularly after that update. I would start from scratch and  
use one of these URLs that is more explicit, so you know what's up.


ms


___
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/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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Patrick Robinson
Yeah, you would never want those in your java extensions dir.  I'll just add my 
2 cents to what others have suggested: I would not put ANYTHING in either your 
java or your WebObjects extensions dirs unless you really understand how it 
works, and have a very good reason to do so.  Otherwise, you just end up with 
the kind of pain you've just experienced.

Glad you got it working,

- Patrick


On May 17, 2010, at 11:05 AM, Gino Pacitti wrote:

> Well I took everything out and then put everything back except xerces.jar and 
> Xalan.jar
> These seem to be the culprits...
> 
> GIno
> On 17 May 2010, at 16:00, Patrick Robinson wrote:
> 
>> Just out of curiosity, what was in your /Library/Java/Extensions, that you 
>> moved out?
>> 
>> 
>> On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:
>> 
>>> Well believe it or not but using Pascals advice and moving everything out 
>>> of /Library/Java/Extensions seems to have done the trick... My HelloWorld 
>>> app builds and ANT installs with no errors...
>>> Hopefully it should be plain sailing from now on but thank you VERY much 
>>> for your time and help..
>>> 
>>> Gino
>>> On 17 May 2010, at 15:54, Mike Schrag wrote:
>>> 
>>> Reinstalled Gannymede and WoLips 3.4 (that works - nightly build update 
>>> was for Galileo so broke my Eclipse 3.4 system)
>> what URL did you use to install?
> 
> my line might be confusing coming in at the mid point of a thread...
> I did an initial install of Gannymede and WOLips seemed to be working 
> together... It notified me of an update with WOLips and so I installed 
> the update... Which I believe was WOLips 3.5.. This then caused Gannymede 
> to not recognize WOLips and gave me no options. A slight issue I did have 
> is that I could not create any WO Application using the standed new menu 
> item... I had to use a wizard that allowed only a Project name - I had to 
> manually refactor the name of packages for .java and components.
 I'm not sure how you did an install and it then offered an update -- that 
 seems super suspicious.
 
 I've killed the previous shortcut "/wolips/stable" to prevent this problem 
 in the future.
 
 There is now:
 http://webobjects.mdimension.com/wolips/WOLips36Current
 http://webobjects.mdimension.com/wolips/WOLips35Stable
 http://webobjects.mdimension.com/wolips/WOLips34Stable
 
 I have no idea what actual version you ended up installing, particularly 
 after that update. I would start from scratch and use one of these URLs 
 that is more explicit, so you know what's up.
 
 ms
>>> 
>>> ___
>>> 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/archive%40mail-archive.com

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


Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti
Well I took everything out and then put everything back except  
xerces.jar and Xalan.jar

These seem to be the culprits...

GIno
On 17 May 2010, at 16:00, Patrick Robinson wrote:

Just out of curiosity, what was in your /Library/Java/Extensions,  
that you moved out?



On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:

Well believe it or not but using Pascals advice and moving  
everything out of /Library/Java/Extensions seems to have done the  
trick... My HelloWorld app builds and ANT installs with no errors...
Hopefully it should be plain sailing from now on but thank you VERY  
much for your time and help..


Gino
On 17 May 2010, at 15:54, Mike Schrag wrote:

Reinstalled Gannymede and WoLips 3.4 (that works - nightly  
build update was for Galileo so broke my Eclipse 3.4 system)

what URL did you use to install?


my line might be confusing coming in at the mid point of a  
thread...
I did an initial install of Gannymede and WOLips seemed to be  
working together... It notified me of an update with WOLips and  
so I installed the update... Which I believe was WOLips 3.5..  
This then caused Gannymede to not recognize WOLips and gave me no  
options. A slight issue I did have is that I could not create any  
WO Application using the standed new menu item... I had to use a  
wizard that allowed only a Project name - I had to manually  
refactor the name of packages for .java and components.
I'm not sure how you did an install and it then offered an update  
-- that seems super suspicious.


I've killed the previous shortcut "/wolips/stable" to prevent this  
problem in the future.


There is now:
http://webobjects.mdimension.com/wolips/WOLips36Current
http://webobjects.mdimension.com/wolips/WOLips35Stable
http://webobjects.mdimension.com/wolips/WOLips34Stable

I have no idea what actual version you ended up installing,  
particularly after that update. I would start from scratch and use  
one of these URLs that is more explicit, so you know what's up.


ms


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

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


Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Patrick Robinson
Just out of curiosity, what was in your /Library/Java/Extensions, that you 
moved out?


On May 17, 2010, at 10:57 AM, Gino Pacitti wrote:

> Well believe it or not but using Pascals advice and moving everything out of 
> /Library/Java/Extensions seems to have done the trick... My HelloWorld app 
> builds and ANT installs with no errors...
> Hopefully it should be plain sailing from now on but thank you VERY much for 
> your time and help..
> 
> Gino
> On 17 May 2010, at 15:54, Mike Schrag wrote:
> 
> Reinstalled Gannymede and WoLips 3.4 (that works - nightly build update 
> was for Galileo so broke my Eclipse 3.4 system)
 what URL did you use to install?
>>> 
>>> my line might be confusing coming in at the mid point of a thread...
>>> I did an initial install of Gannymede and WOLips seemed to be working 
>>> together... It notified me of an update with WOLips and so I installed the 
>>> update... Which I believe was WOLips 3.5.. This then caused Gannymede to 
>>> not recognize WOLips and gave me no options. A slight issue I did have is 
>>> that I could not create any WO Application using the standed new menu 
>>> item... I had to use a wizard that allowed only a Project name - I had to 
>>> manually refactor the name of packages for .java and components.
>> I'm not sure how you did an install and it then offered an update -- that 
>> seems super suspicious.
>> 
>> I've killed the previous shortcut "/wolips/stable" to prevent this problem 
>> in the future.
>> 
>> There is now:
>> http://webobjects.mdimension.com/wolips/WOLips36Current
>> http://webobjects.mdimension.com/wolips/WOLips35Stable
>> http://webobjects.mdimension.com/wolips/WOLips34Stable
>> 
>> I have no idea what actual version you ended up installing, particularly 
>> after that update. I would start from scratch and use one of these URLs that 
>> is more explicit, so you know what's up.
>> 
>> ms
> 
> ___
> 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/archive%40mail-archive.com

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


Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti
Well believe it or not but using Pascals advice and moving everything  
out of /Library/Java/Extensions seems to have done the trick... My  
HelloWorld app builds and ANT installs with no errors...
Hopefully it should be plain sailing from now on but thank you VERY  
much for your time and help..


Gino
On 17 May 2010, at 15:54, Mike Schrag wrote:

Reinstalled Gannymede and WoLips 3.4 (that works - nightly build  
update was for Galileo so broke my Eclipse 3.4 system)

what URL did you use to install?


my line might be confusing coming in at the mid point of a thread...
I did an initial install of Gannymede and WOLips seemed to be  
working together... It notified me of an update with WOLips and so  
I installed the update... Which I believe was WOLips 3.5.. This  
then caused Gannymede to not recognize WOLips and gave me no  
options. A slight issue I did have is that I could not create any  
WO Application using the standed new menu item... I had to use a  
wizard that allowed only a Project name - I had to manually  
refactor the name of packages for .java and components.
I'm not sure how you did an install and it then offered an update --  
that seems super suspicious.


I've killed the previous shortcut "/wolips/stable" to prevent this  
problem in the future.


There is now:
http://webobjects.mdimension.com/wolips/WOLips36Current
http://webobjects.mdimension.com/wolips/WOLips35Stable
http://webobjects.mdimension.com/wolips/WOLips34Stable

I have no idea what actual version you ended up installing,  
particularly after that update. I would start from scratch and use  
one of these URLs that is more explicit, so you know what's up.


ms


___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Mike Schrag
>>> Reinstalled Gannymede and WoLips 3.4 (that works - nightly build update was 
>>> for Galileo so broke my Eclipse 3.4 system)
>> what URL did you use to install?
> 
> my line might be confusing coming in at the mid point of a thread...
> I did an initial install of Gannymede and WOLips seemed to be working 
> together... It notified me of an update with WOLips and so I installed the 
> update... Which I believe was WOLips 3.5.. This then caused Gannymede to not 
> recognize WOLips and gave me no options. A slight issue I did have is that I 
> could not create any WO Application using the standed new menu item... I had 
> to use a wizard that allowed only a Project name - I had to manually refactor 
> the name of packages for .java and components.
I'm not sure how you did an install and it then offered an update -- that seems 
super suspicious.

I've killed the previous shortcut "/wolips/stable" to prevent this problem in 
the future.

There is now:
http://webobjects.mdimension.com/wolips/WOLips36Current
http://webobjects.mdimension.com/wolips/WOLips35Stable
http://webobjects.mdimension.com/wolips/WOLips34Stable

I have no idea what actual version you ended up installing, particularly after 
that update. I would start from scratch and use one of these URLs that is more 
explicit, so you know what's up.

ms ___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Patrick Robinson
Oh, OK.

Well, the original ant error message was "Failed to process eclipse 
frameworks", which sounds like it can't find a framework.  Try running ant with 
"-verbose", and see if it tells you what framework it can't find.

- Patrick


On May 17, 2010, at 10:17 AM, Gino Pacitti wrote:

> Hi ...
> Just for simplicity I used the 533 without the full path...
> 
> It is as I originally said
> /Developer/WebObjects/Versions/WebObjects533/
> 
> Sorry for any confusion...
> 
> Properties file here:
> 
> wo.network.root=/Network
> wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System
> wo.local.root=/Developer/WebObjects/Versions/WebObjects533
> wo.user.root=/Users/
> 
> wo.network.frameworks=/Network/Library/Frameworks
> wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects533/System/Library/Frameworks
> wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects533/Library/Frameworks
> wo.user.frameworks=/Users//Library/Frameworks
> 
> wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects533/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
> wo.extensions=/Developer/WebObjects/Versions/WebObjects533/Library/WebObjects/Extensions
> wo.apps.root=/Developer/WebObjects/Versions/WebObjects533/Library/WebObjects/Applications
> 
> wo.api.root=/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/Resources/Documents/documentation/InternetWeb/Reference/WO533Reference
> 
> 
> 
> 
> 
> Gino
> On 17 May 2010, at 15:14, Patrick Robinson wrote:
> 
>> I don't think I understand, either.  Is your WO 5.3.3 installed under 
>> something like /Developer/WebObjects/Versions/WebObjects533/ (which your 
>> original email hinted at)?  Or is it installed in the "default" location of 
>> / (as your "533 set up" below suggests)?
>> 
>> What does your wolips.properties file contain?
>> 
>> 
>> 
>> On May 17, 2010, at 9:13 AM, Gino Pacitti wrote:
>> 
>>> Hi Pascal
>>> I set up my file system using this page:
>>> 
>>> http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects
>>> So depending which properties file I use I have -
>>> 
>>> 533 set up
>>> /Library
>>> - WebObjects
>>> --Applications (empty)
>>> --Extensions
>>> axis-ant.jar
>>> axis.jar
>>> commons-discovery.jar
>>> commons-logging.jar
>>> jaxpc.jar
>>> log4j-1.2.8.jar
>>> saaj.jar
>>> wsdl.jar
>>> 
>>> --lib
>>> JavaXML.jar
>>> JavaDirectToWeb.jar
>>> JavaDTWGeneration.jar
>>> JavaEOAccess.jar
>>> JavaEOApplication.jar
>>> JavaEOControl.jar
>>> JavaEODistribution.jar
>>> JavaEOGeneration.jar
>>> JavaEOInterface.jar
>>> JavaEOInterfaceCocoa.jar
>>> JavaEOInterfaceSwing.jar
>>> JavaEOProject.jar
>>> JavaEORuleSystem.jar
>>> JavaFoundation.jar
>>> JavaJDBCAdaptor.jar
>>> JavaJNDIAdaptor.jar
>>> JavaWebObjects.jar
>>> JavaWebServicesClient.jar
>>> JavaWebServicesGeneration.jar
>>> JavaWebServicesSupport.jar
>>> JavaWOExtensions.jar
>>> JavaWOJSPServlet.jar
>>> 
>>> 
>>> /System
>>> 
>>> -Library
>>> 
>>> -- Frameworks
>>> JavaDirectToWeb.framework
>>> JavaDTWGeneration.framework
>>> JavaEOAccess.framework
>>> JavaEOApplication.framework
>>> JavaEOCocoa.framework
>>> JavaEOControl.framework
>>> JavaEODistribution.framework
>>> JavaEOGeneration.framework
>>> JavaEOInterface.framework
>>> JavaEOInterfaceCocoa.framework
>>> JavaEOInterfaceSwing.framework
>>> JavaEOProject.framework
>>> JavaEORuleSystem.framework
>>> JavaFoundation.framework
>>> JavaJDBCAdaptor.framework
>>> JavaJNDIAdaptor.framework
>>> JavaWebObjects.framework
>>> JavaWebServicesClient.framework
>>> JavaWebServicesGeneration.framework
>>> JavaWebServicesSupport.framework
>>> JavaWOExtensions.framework
>>> JavaWOJSPServlet.framework
>>> JavaXML.framework
>>> 
>>> -- PrivateFrameworks
>>> EOPlaceholders.framework
>>> JavaMonitor.framework
>>> 
>>> --WebObjects
>>> ---Adaptors
>>> Apache
>>> CGI
>>> 
>>> ---JavaApplications
>>> JavaMonitor.woa
>>> wotaskd.woa
>>> 
>>> 
>>> ---WODocumentRoot
>>> WebObjects
>>> Frameworks
>>> Java
>>> Javamonitor
>>> 
>>> 
>>> On 17 May 2010, at 13:47, Pascal Robert wrote:
>>> 
 What do you have in /Library/Java/Extensions and 
 /Library/WeObjects/Extensions?
 
> Dave
> I dunno what I am doing wrong but I am having a lot of issues with a 
> standard Eclipse/WOLips install
> 
> I upgraded to Galileo and WOLips 3.5.
> 
> Templates don't work and I cant seem to add WO Frameworks to the Build 
> Path as they are just not there...
> 
> Is it supposed to be this difficult? :)
> 
> Any suggestions...
> 
> Gino
> 
> 
> 
> On 17 May 2010, at 12:08, David Avendasora wrote:
> 
>> Gino,
>> 
>> WOLips 3.4 is old, and has bugs that will not be fixed, so I highly 
>> recommend moving to Eclipse/WOLips 3.5. And 3.6 seems to be pretty 
>> stable too. Since you are just getting started with Eclipse you really 
>> should use a more current version.
>

Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Pascal Robert


Le 10-05-17 à 10:42, Gino Pacitti a écrit :



On 17 May 2010, at 15:27, Mike Schrag wrote:

OK..so done Galileo with WOlips 3.5 - which was not a good idea as  
it just gave lots of errors.
how did you install 3.5? you should never do an upgrade across  
eclipse versions -- it's just asking for problems. do a clean  
downloading and install of 3.5.


Each time I extracted the eclipse app and began again with a new  
one. I simply trashed a version, tar extracted and moved the eclipse  
folder into Applications...




Reinstalled Gannymede and WoLips 3.4 (that works - nightly build  
update was for Galileo so broke my Eclipse 3.4 system)

what URL did you use to install?


my line might be confusing coming in at the mid point of a thread...
I did an initial install of Gannymede and WOLips seemed to be  
working together... It notified me of an update with WOLips and so I  
installed the update... Which I believe was WOLips 3.5.. This then  
caused Gannymede to not recognize WOLips and gave me no options. A  
slight issue I did have is that I could not create any WO  
Application using the standed new menu item... I had to use a wizard  
that allowed only a Project name - I had to manually refactor the  
name of packages for .java and components.




Failed to process eclipse frameworks:  
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ 
String;
this means somehow your classpath is messed up -- either you have  
mixed eclipse plugins or you have an xml jar in /Library/Java/ 
Extensions


Also I am using this:
http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects

Which should mean that the location /Library/Java/Extensions is not  
part of the path...


/Library/Java/Extensions is ALWAYS part of the classpath, it's the  
standard directory to put stuff that all JVM instances will pick up  
automatically. Close Eclipse, remove anything you have in /Library/ 
Java/Extensions and start Eclipse again.



This is my Properties file...

wo.network.root=/Network
wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System
wo.local.root=/Developer/WebObjects/Versions/WebObjects533
wo.user.root=/Users/

wo.network.frameworks=/Network/Library/Frameworks
wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects533/ 
System/Library/Frameworks
wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects533/ 
Library/Frameworks

wo.user.frameworks=/Users//Library/Frameworks

wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects533/System/ 
Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.extensions=/Developer/WebObjects/Versions/WebObjects533/Library/ 
WebObjects/Extensions
wo.apps.root=/Developer/WebObjects/Versions/WebObjects533/Library/ 
WebObjects/Applications


wo.api.root=/Developer/Documentation/DocSets/ 
com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/ 
Resources/Documents/documentation/InternetWeb/Reference/WO542Reference


ms
--

___
Wonder-disc mailing list
wonder-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti


On 17 May 2010, at 15:27, Mike Schrag wrote:

OK..so done Galileo with WOlips 3.5 - which was not a good idea as  
it just gave lots of errors.
how did you install 3.5? you should never do an upgrade across  
eclipse versions -- it's just asking for problems. do a clean  
downloading and install of 3.5.


Each time I extracted the eclipse app and began again with a new one.  
I simply trashed a version, tar extracted and moved the eclipse folder  
into Applications...




Reinstalled Gannymede and WoLips 3.4 (that works - nightly build  
update was for Galileo so broke my Eclipse 3.4 system)

what URL did you use to install?


my line might be confusing coming in at the mid point of a thread...
I did an initial install of Gannymede and WOLips seemed to be working  
together... It notified me of an update with WOLips and so I installed  
the update... Which I believe was WOLips 3.5.. This then caused  
Gannymede to not recognize WOLips and gave me no options. A slight  
issue I did have is that I could not create any WO Application using  
the standed new menu item... I had to use a wizard that allowed only a  
Project name - I had to manually refactor the name of packages  
for .java and components.




Failed to process eclipse frameworks:  
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ 
String;
this means somehow your classpath is messed up -- either you have  
mixed eclipse plugins or you have an xml jar in /Library/Java/ 
Extensions


Also I am using this:
http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects

Which should mean that the location /Library/Java/Extensions is not  
part of the path...


This is my Properties file...

wo.network.root=/Network
wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System
wo.local.root=/Developer/WebObjects/Versions/WebObjects533
wo.user.root=/Users/

wo.network.frameworks=/Network/Library/Frameworks
wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects533/ 
System/Library/Frameworks
wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects533/ 
Library/Frameworks

wo.user.frameworks=/Users//Library/Frameworks

wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects533/System/ 
Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.extensions=/Developer/WebObjects/Versions/WebObjects533/Library/ 
WebObjects/Extensions
wo.apps.root=/Developer/WebObjects/Versions/WebObjects533/Library/ 
WebObjects/Applications


wo.api.root=/Developer/Documentation/DocSets/ 
com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/ 
Resources/Documents/documentation/InternetWeb/Reference/WO542Reference


ms
--

___
Wonder-disc mailing list
wonder-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Mike Schrag
> OK..so done Galileo with WOlips 3.5 - which was not a good idea as it just 
> gave lots of errors.
how did you install 3.5? you should never do an upgrade across eclipse versions 
-- it's just asking for problems. do a clean downloading and install of 3.5.

> Reinstalled Gannymede and WoLips 3.4 (that works - nightly build update was 
> for Galileo so broke my Eclipse 3.4 system)
what URL did you use to install?

> Failed to process eclipse frameworks: 
> org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/String;
this means somehow your classpath is messed up -- either you have mixed eclipse 
plugins or you have an xml jar in /Library/Java/Extensions

ms ___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti

Hi ...
Just for simplicity I used the 533 without the full path...

It is as I originally said
/Developer/WebObjects/Versions/WebObjects533/

Sorry for any confusion...

Properties file here:

wo.network.root=/Network
wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System
wo.local.root=/Developer/WebObjects/Versions/WebObjects533
wo.user.root=/Users/

wo.network.frameworks=/Network/Library/Frameworks
wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects533/ 
System/Library/Frameworks
wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects533/ 
Library/Frameworks

wo.user.frameworks=/Users//Library/Frameworks

wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects533/System/ 
Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.extensions=/Developer/WebObjects/Versions/WebObjects533/Library/ 
WebObjects/Extensions
wo.apps.root=/Developer/WebObjects/Versions/WebObjects533/Library/ 
WebObjects/Applications


wo.api.root=/Developer/Documentation/DocSets/ 
com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/ 
Resources/Documents/documentation/InternetWeb/Reference/WO533Reference






Gino
On 17 May 2010, at 15:14, Patrick Robinson wrote:

I don't think I understand, either.  Is your WO 5.3.3 installed  
under something like /Developer/WebObjects/Versions/WebObjects533/  
(which your original email hinted at)?  Or is it installed in the  
"default" location of / (as your "533 set up" below suggests)?


What does your wolips.properties file contain?



On May 17, 2010, at 9:13 AM, Gino Pacitti wrote:


Hi Pascal
I set up my file system using this page:

http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects
So depending which properties file I use I have -

533 set up
/Library
- WebObjects
--Applications (empty)
--Extensions
axis-ant.jar
axis.jar
commons-discovery.jar
commons-logging.jar
jaxpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl.jar

--lib
JavaXML.jar
JavaDirectToWeb.jar
JavaDTWGeneration.jar
JavaEOAccess.jar
JavaEOApplication.jar
JavaEOControl.jar
JavaEODistribution.jar
JavaEOGeneration.jar
JavaEOInterface.jar
JavaEOInterfaceCocoa.jar
JavaEOInterfaceSwing.jar
JavaEOProject.jar
JavaEORuleSystem.jar
JavaFoundation.jar
JavaJDBCAdaptor.jar
JavaJNDIAdaptor.jar
JavaWebObjects.jar
JavaWebServicesClient.jar
JavaWebServicesGeneration.jar
JavaWebServicesSupport.jar
JavaWOExtensions.jar
JavaWOJSPServlet.jar


/System

-Library

-- Frameworks
JavaDirectToWeb.framework
JavaDTWGeneration.framework
JavaEOAccess.framework
JavaEOApplication.framework
JavaEOCocoa.framework
JavaEOControl.framework
JavaEODistribution.framework
JavaEOGeneration.framework
JavaEOInterface.framework
JavaEOInterfaceCocoa.framework
JavaEOInterfaceSwing.framework
JavaEOProject.framework
JavaEORuleSystem.framework
JavaFoundation.framework
JavaJDBCAdaptor.framework
JavaJNDIAdaptor.framework
JavaWebObjects.framework
JavaWebServicesClient.framework
JavaWebServicesGeneration.framework
JavaWebServicesSupport.framework
JavaWOExtensions.framework
JavaWOJSPServlet.framework
JavaXML.framework

-- PrivateFrameworks
EOPlaceholders.framework
JavaMonitor.framework

--WebObjects
---Adaptors
Apache
CGI

---JavaApplications
JavaMonitor.woa
wotaskd.woa


---WODocumentRoot
WebObjects
Frameworks
Java
Javamonitor


On 17 May 2010, at 13:47, Pascal Robert wrote:

What do you have in /Library/Java/Extensions and /Library/ 
WeObjects/Extensions?



Dave
I dunno what I am doing wrong but I am having a lot of issues  
with a standard Eclipse/WOLips install


I upgraded to Galileo and WOLips 3.5.

Templates don't work and I cant seem to add WO Frameworks to the  
Build Path as they are just not there...


Is it supposed to be this difficult? :)

Any suggestions...

Gino



On 17 May 2010, at 12:08, David Avendasora wrote:


Gino,

WOLips 3.4 is old, and has bugs that will not be fixed, so I  
highly recommend moving to Eclipse/WOLips 3.5. And 3.6 seems to  
be pretty stable too. Since you are just getting started with  
Eclipse you really should use a more current version.


Dave

On May 17, 2010, at 6:38 AM, Gino Pacitti wrote:

OK..so done Galileo with WOlips 3.5 - which was not a good idea  
as it

just gave lots of errors.

Reinstalled Gannymede and WoLips 3.4 (that works - nightly build
update was for Galileo so broke my Eclipse 3.4 system)

So I have a default installation of Eclipse 3.4 and wolips 3.4

Used the 533 and 534 sets of Frameworks and FileSystem/Properties
etc.. to do 2 version development.

I create a Wonder Application and can build and run with browser
opening with Hello World but now -

I go to do a Ant Instal to build a deployment application and  
it stops

and gives this error?

Failed to process eclipse frameworks:
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/ 
lang/

String;

Why?

Any ideas please help...

Gino


On 16 May 2010, at 21:41, David Avendasora wrote:



On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:


Hi David
I crea

Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Patrick Robinson
I don't think I understand, either.  Is your WO 5.3.3 installed under something 
like /Developer/WebObjects/Versions/WebObjects533/ (which your original email 
hinted at)?  Or is it installed in the "default" location of / (as your "533 
set up" below suggests)?

What does your wolips.properties file contain?



On May 17, 2010, at 9:13 AM, Gino Pacitti wrote:

> Hi Pascal
> I set up my file system using this page:
> 
> http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects
> So depending which properties file I use I have -
> 
> 533 set up
> /Library
> - WebObjects
> --Applications (empty)
> --Extensions
> axis-ant.jar
> axis.jar
> commons-discovery.jar
> commons-logging.jar
> jaxpc.jar
> log4j-1.2.8.jar
> saaj.jar
> wsdl.jar
> 
> --lib
> JavaXML.jar
> JavaDirectToWeb.jar
> JavaDTWGeneration.jar
> JavaEOAccess.jar
> JavaEOApplication.jar
> JavaEOControl.jar
> JavaEODistribution.jar
> JavaEOGeneration.jar
> JavaEOInterface.jar
> JavaEOInterfaceCocoa.jar
> JavaEOInterfaceSwing.jar
> JavaEOProject.jar
> JavaEORuleSystem.jar
> JavaFoundation.jar
> JavaJDBCAdaptor.jar
> JavaJNDIAdaptor.jar
> JavaWebObjects.jar
> JavaWebServicesClient.jar
> JavaWebServicesGeneration.jar
> JavaWebServicesSupport.jar
> JavaWOExtensions.jar
> JavaWOJSPServlet.jar
> 
> 
> /System
> 
> -Library
> 
> -- Frameworks
> JavaDirectToWeb.framework
> JavaDTWGeneration.framework
> JavaEOAccess.framework
> JavaEOApplication.framework
> JavaEOCocoa.framework
> JavaEOControl.framework
> JavaEODistribution.framework
> JavaEOGeneration.framework
> JavaEOInterface.framework
> JavaEOInterfaceCocoa.framework
> JavaEOInterfaceSwing.framework
> JavaEOProject.framework
> JavaEORuleSystem.framework
> JavaFoundation.framework
> JavaJDBCAdaptor.framework
> JavaJNDIAdaptor.framework
> JavaWebObjects.framework
> JavaWebServicesClient.framework
> JavaWebServicesGeneration.framework
> JavaWebServicesSupport.framework
> JavaWOExtensions.framework
> JavaWOJSPServlet.framework
> JavaXML.framework
> 
> -- PrivateFrameworks
> EOPlaceholders.framework
> JavaMonitor.framework
> 
> --WebObjects
> ---Adaptors
> Apache
> CGI
> 
> ---JavaApplications
> JavaMonitor.woa
> wotaskd.woa
> 
> 
> ---WODocumentRoot
> WebObjects
> Frameworks
> Java
> Javamonitor
> 
> 
> On 17 May 2010, at 13:47, Pascal Robert wrote:
> 
>> What do you have in /Library/Java/Extensions and 
>> /Library/WeObjects/Extensions?
>> 
>>> Dave
>>> I dunno what I am doing wrong but I am having a lot of issues with a 
>>> standard Eclipse/WOLips install
>>> 
>>> I upgraded to Galileo and WOLips 3.5.
>>> 
>>> Templates don't work and I cant seem to add WO Frameworks to the Build Path 
>>> as they are just not there...
>>> 
>>> Is it supposed to be this difficult? :)
>>> 
>>> Any suggestions...
>>> 
>>> Gino
>>> 
>>> 
>>> 
>>> On 17 May 2010, at 12:08, David Avendasora wrote:
>>> 
 Gino,
 
 WOLips 3.4 is old, and has bugs that will not be fixed, so I highly 
 recommend moving to Eclipse/WOLips 3.5. And 3.6 seems to be pretty stable 
 too. Since you are just getting started with Eclipse you really should use 
 a more current version.
 
 Dave
 
 On May 17, 2010, at 6:38 AM, Gino Pacitti wrote:
 
> OK..so done Galileo with WOlips 3.5 - which was not a good idea as it
> just gave lots of errors.
> 
> Reinstalled Gannymede and WoLips 3.4 (that works - nightly build
> update was for Galileo so broke my Eclipse 3.4 system)
> 
> So I have a default installation of Eclipse 3.4 and wolips 3.4
> 
> Used the 533 and 534 sets of Frameworks and FileSystem/Properties
> etc.. to do 2 version development.
> 
> I create a Wonder Application and can build and run with browser
> opening with Hello World but now -
> 
> I go to do a Ant Instal to build a deployment application and it stops
> and gives this error?
> 
> Failed to process eclipse frameworks:
> org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/
> String;
> 
> Why?
> 
> Any ideas please help...
> 
> Gino
> 
> 
> On 16 May 2010, at 21:41, David Avendasora wrote:
> 
>> 
>> On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:
>> 
>>> Hi David
>>> I created a new WO Application using the new menu item. (An aside
>>> here and maybe not connected is that the only way to create a new
>>> WOApplication was to use the wizard - and then it did not give me
>>> any input boxes to add the package names as the tutorials seem to
>>> indicate. It just allowed the project name and then a default
>>> project was created. I then had to refactor the package names for
>>> the components etc..)
>> 
>> Ah. You clicked "Finish" instead of "Next" when you created it. The
>> screens to change those options are "optional" as far as Eclipse is
>> concerned and it allows you to skip them.
>> 
>> While I can't

Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti

Hi Pascal
I set up my file system using this page:

http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects
So depending which properties file I use I have -

533 set up
/Library
- WebObjects
--Applications (empty)
--Extensions
axis-ant.jar
axis.jar
commons-discovery.jar
commons-logging.jar
jaxpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl.jar

--lib
JavaXML.jar
JavaDirectToWeb.jar
JavaDTWGeneration.jar
JavaEOAccess.jar
JavaEOApplication.jar
JavaEOControl.jar
JavaEODistribution.jar
JavaEOGeneration.jar
JavaEOInterface.jar
JavaEOInterfaceCocoa.jar
JavaEOInterfaceSwing.jar
JavaEOProject.jar
JavaEORuleSystem.jar
JavaFoundation.jar
JavaJDBCAdaptor.jar
JavaJNDIAdaptor.jar
JavaWebObjects.jar
JavaWebServicesClient.jar
JavaWebServicesGeneration.jar
JavaWebServicesSupport.jar
JavaWOExtensions.jar
JavaWOJSPServlet.jar


/System

-Library

-- Frameworks
JavaDirectToWeb.framework
JavaDTWGeneration.framework
JavaEOAccess.framework
JavaEOApplication.framework
JavaEOCocoa.framework
JavaEOControl.framework
JavaEODistribution.framework
JavaEOGeneration.framework
JavaEOInterface.framework
JavaEOInterfaceCocoa.framework
JavaEOInterfaceSwing.framework
JavaEOProject.framework
JavaEORuleSystem.framework
JavaFoundation.framework
JavaJDBCAdaptor.framework
JavaJNDIAdaptor.framework
JavaWebObjects.framework
JavaWebServicesClient.framework
JavaWebServicesGeneration.framework
JavaWebServicesSupport.framework
JavaWOExtensions.framework
JavaWOJSPServlet.framework
JavaXML.framework

-- PrivateFrameworks
EOPlaceholders.framework
JavaMonitor.framework

--WebObjects
---Adaptors
Apache
CGI

---JavaApplications
JavaMonitor.woa
wotaskd.woa


---WODocumentRoot
WebObjects
Frameworks
Java
Javamonitor


On 17 May 2010, at 13:47, Pascal Robert wrote:

What do you have in /Library/Java/Extensions and /Library/WeObjects/ 
Extensions?



Dave
I dunno what I am doing wrong but I am having a lot of issues with  
a standard Eclipse/WOLips install


I upgraded to Galileo and WOLips 3.5.

Templates don't work and I cant seem to add WO Frameworks to the  
Build Path as they are just not there...


Is it supposed to be this difficult? :)

Any suggestions...

Gino



On 17 May 2010, at 12:08, David Avendasora wrote:


Gino,

WOLips 3.4 is old, and has bugs that will not be fixed, so I  
highly recommend moving to Eclipse/WOLips 3.5. And 3.6 seems to be  
pretty stable too. Since you are just getting started with Eclipse  
you really should use a more current version.


Dave

On May 17, 2010, at 6:38 AM, Gino Pacitti wrote:

OK..so done Galileo with WOlips 3.5 - which was not a good idea  
as it

just gave lots of errors.

Reinstalled Gannymede and WoLips 3.4 (that works - nightly build
update was for Galileo so broke my Eclipse 3.4 system)

So I have a default installation of Eclipse 3.4 and wolips 3.4

Used the 533 and 534 sets of Frameworks and FileSystem/Properties
etc.. to do 2 version development.

I create a Wonder Application and can build and run with browser
opening with Hello World but now -

I go to do a Ant Instal to build a deployment application and it  
stops

and gives this error?

Failed to process eclipse frameworks:
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/
String;

Why?

Any ideas please help...

Gino


On 16 May 2010, at 21:41, David Avendasora wrote:



On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:


Hi David
I created a new WO Application using the new menu item. (An aside
here and maybe not connected is that the only way to create a new
WOApplication was to use the wizard - and then it did not give me
any input boxes to add the package names as the tutorials seem to
indicate. It just allowed the project name and then a default
project was created. I then had to refactor the package names for
the components etc..)


Ah. You clicked "Finish" instead of "Next" when you created it.  
The
screens to change those options are "optional" as far as Eclipse  
is

concerned and it allows you to skip them.

While I can't think of how this would cause the issue you are
currently having, I'd suggest starting over at this point, and do
yourself a favor and start with a project based on Wonder. It does
so much for you.

Dave



But then Building and running seem to work ok as it auto launches
in the Browser with HelloWorld.

My problem is the console error message and subsequent exit  
giving

the reason as this :
BUILD FAILED
/Users//Desktop/WOProjects/Applications_Eclipse/workspace/
HelloWorld/build.xml:206: Failed to process eclipse
frameworks:org
.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/
String;

Has the installation not worked??

What I am trying to achieve is a dist directory with the bundle
ready for deployment...

Gino


On 16 May 2010, at 18:28, David Avendasora wrote:


Hey Gino,

Please keep replies on the list. It makes it easier for others  
to

contribute to and/or learn from problems others have.

Before you go bundling up the project, how did you

[MEETING] WO-NoVA Reminder - May 18, 2010 at 6:30

2010-05-17 Thread Andrew R. Kinnie
Greetings all again,

As I mentioned last week, this month's WO-NoVA meeting is TOMORROW 5/18/2010 at 
6:30 PM at K12.

Note:  We now have a Facebook group for those Facebook inclined.  Named (oddly 
enough): WO-NoVA
We've had a twitter account for sometime:  http://www.twitter.com/wonova

Some work remains to be done in very little time, but we hope to have a 
rudimentary demo of a WO app built using ERRest (and D2W Modern Look) 
connecting to an iPhone app using Objective Resource's framework for Cocoa to 
connect to rails.  It won't be much, but we should be able to show a working 
demo of something simple.  

Anyway, hope to see you there.  As usual, food of some nature will be provided 
(thus RSVP) and it will be held at K12's offices:

K12
2300 Corporate Park Drive
Herndon, VA 20171

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=2300+Corporate+Park+Dr,+Herndon,+VA+20171&sll=37.0625,-95.677068&sspn=55.016555,76.992187&ie=UTF8&hq=&hnear=2300+Corporate+Park+Dr,+Herndon,+Fairfax,+Virginia+20171&z=17


Andrew Kinnie
WO-NoVA
 ___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Pascal Robert
What do you have in /Library/Java/Extensions and /Library/WeObjects/ 
Extensions?



Dave
I dunno what I am doing wrong but I am having a lot of issues with a  
standard Eclipse/WOLips install


I upgraded to Galileo and WOLips 3.5.

Templates don't work and I cant seem to add WO Frameworks to the  
Build Path as they are just not there...


Is it supposed to be this difficult? :)

Any suggestions...

Gino



On 17 May 2010, at 12:08, David Avendasora wrote:


Gino,

WOLips 3.4 is old, and has bugs that will not be fixed, so I highly  
recommend moving to Eclipse/WOLips 3.5. And 3.6 seems to be pretty  
stable too. Since you are just getting started with Eclipse you  
really should use a more current version.


Dave

On May 17, 2010, at 6:38 AM, Gino Pacitti wrote:

OK..so done Galileo with WOlips 3.5 - which was not a good idea as  
it

just gave lots of errors.

Reinstalled Gannymede and WoLips 3.4 (that works - nightly build
update was for Galileo so broke my Eclipse 3.4 system)

So I have a default installation of Eclipse 3.4 and wolips 3.4

Used the 533 and 534 sets of Frameworks and FileSystem/Properties
etc.. to do 2 version development.

I create a Wonder Application and can build and run with browser
opening with Hello World but now -

I go to do a Ant Instal to build a deployment application and it  
stops

and gives this error?

Failed to process eclipse frameworks:
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/
String;

Why?

Any ideas please help...

Gino


On 16 May 2010, at 21:41, David Avendasora wrote:



On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:


Hi David
I created a new WO Application using the new menu item. (An aside
here and maybe not connected is that the only way to create a new
WOApplication was to use the wizard - and then it did not give me
any input boxes to add the package names as the tutorials seem to
indicate. It just allowed the project name and then a default
project was created. I then had to refactor the package names for
the components etc..)


Ah. You clicked "Finish" instead of "Next" when you created it. The
screens to change those options are "optional" as far as Eclipse is
concerned and it allows you to skip them.

While I can't think of how this would cause the issue you are
currently having, I'd suggest starting over at this point, and do
yourself a favor and start with a project based on Wonder. It does
so much for you.

Dave



But then Building and running seem to work ok as it auto launches
in the Browser with HelloWorld.

My problem is the console error message and subsequent exit giving
the reason as this :
BUILD FAILED
/Users//Desktop/WOProjects/Applications_Eclipse/workspace/
HelloWorld/build.xml:206: Failed to process eclipse
frameworks:org
.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/
String;

Has the installation not worked??

What I am trying to achieve is a dist directory with the bundle
ready for deployment...

Gino


On 16 May 2010, at 18:28, David Avendasora wrote:


Hey Gino,

Please keep replies on the list. It makes it easier for others to
contribute to and/or learn from problems others have.

Before you go bundling up the project, how did you create it in
the first place?

If the project template you used doesn't work by default, then we
should certainly get that fixed.

Dave

On May 16, 2010, at 1:09 PM, Gino Pacitti wrote:


Hi dave
Sorry if vague ...

The error occurred first and so I spent sometime debugging - as
the error mentioned the xerces classes I found a jar and placed
it in the class path - but even with it there the error persists
and I cannot build a bundle for depoloyment ! Dies that clear it
up :-)

All I an trying to at this point I'd create a bundle so that u
can test out on deployment server so that I know I gave eclipse
and wolips set up correctly - I'm trying to move from Xcode and
wobuilder ...

I love my Apple iPhone

On 16 May 2010, at 17:41, David Avendasora 
wrote:



Hi Gino,

I'm not sure I understand. WOlips said it wasn't available so
you added it to the classpath?

If you don't need it, don't put it in the classpath.

Am I not understanding something?

Dave

On May 16, 2010, at 12:30 PM, Gino Pacitti wrote:


Hi there
U did not specifically want xerces to be used - the wolips and
eclipse failed build made me aware that it was not available
and so I just tried to include it in the path :)

This is really a helloworld app with a single main
component ... Nothing eloborate so I don't know why xerces was
given as error ...

Any more thoughts ??

On 16 May 2010, at 17:18, David Avendasora 
wrote:



Hi Gino,

On May 16, 2010, at 10:24 AM, Gino Pacitti wrote:


Hi ...

Im trying to do a new instal of WOLips/Eclipse and have set
it up
using all the advices 
onhttp://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects

I have checked and double checked the properties file and  
have

everything in place - or so I hope.

Building and r

Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti

Dave
I dunno what I am doing wrong but I am having a lot of issues with a  
standard Eclipse/WOLips install


I upgraded to Galileo and WOLips 3.5.

Templates don't work and I cant seem to add WO Frameworks to the Build  
Path as they are just not there...


Is it supposed to be this difficult? :)

Any suggestions...

Gino



On 17 May 2010, at 12:08, David Avendasora wrote:


Gino,

WOLips 3.4 is old, and has bugs that will not be fixed, so I highly  
recommend moving to Eclipse/WOLips 3.5. And 3.6 seems to be pretty  
stable too. Since you are just getting started with Eclipse you  
really should use a more current version.


Dave

On May 17, 2010, at 6:38 AM, Gino Pacitti wrote:


OK..so done Galileo with WOlips 3.5 - which was not a good idea as it
just gave lots of errors.

Reinstalled Gannymede and WoLips 3.4 (that works - nightly build
update was for Galileo so broke my Eclipse 3.4 system)

So I have a default installation of Eclipse 3.4 and wolips 3.4

Used the 533 and 534 sets of Frameworks and FileSystem/Properties
etc.. to do 2 version development.

I create a Wonder Application and can build and run with browser
opening with Hello World but now -

I go to do a Ant Instal to build a deployment application and it  
stops

and gives this error?

Failed to process eclipse frameworks:
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/
String;

Why?

Any ideas please help...

Gino


On 16 May 2010, at 21:41, David Avendasora wrote:



On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:


Hi David
I created a new WO Application using the new menu item. (An aside
here and maybe not connected is that the only way to create a new
WOApplication was to use the wizard - and then it did not give me
any input boxes to add the package names as the tutorials seem to
indicate. It just allowed the project name and then a default
project was created. I then had to refactor the package names for
the components etc..)


Ah. You clicked "Finish" instead of "Next" when you created it. The
screens to change those options are "optional" as far as Eclipse is
concerned and it allows you to skip them.

While I can't think of how this would cause the issue you are
currently having, I'd suggest starting over at this point, and do
yourself a favor and start with a project based on Wonder. It does
so much for you.

Dave



But then Building and running seem to work ok as it auto launches
in the Browser with HelloWorld.

My problem is the console error message and subsequent exit giving
the reason as this :
BUILD FAILED
/Users//Desktop/WOProjects/Applications_Eclipse/workspace/
HelloWorld/build.xml:206: Failed to process eclipse
frameworks:org
.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/
String;

Has the installation not worked??

What I am trying to achieve is a dist directory with the bundle
ready for deployment...

Gino


On 16 May 2010, at 18:28, David Avendasora wrote:


Hey Gino,

Please keep replies on the list. It makes it easier for others to
contribute to and/or learn from problems others have.

Before you go bundling up the project, how did you create it in
the first place?

If the project template you used doesn't work by default, then we
should certainly get that fixed.

Dave

On May 16, 2010, at 1:09 PM, Gino Pacitti wrote:


Hi dave
Sorry if vague ...

The error occurred first and so I spent sometime debugging - as
the error mentioned the xerces classes I found a jar and placed
it in the class path - but even with it there the error persists
and I cannot build a bundle for depoloyment ! Dies that clear it
up :-)

All I an trying to at this point I'd create a bundle so that u
can test out on deployment server so that I know I gave eclipse
and wolips set up correctly - I'm trying to move from Xcode and
wobuilder ...

I love my Apple iPhone

On 16 May 2010, at 17:41, David Avendasora 
wrote:



Hi Gino,

I'm not sure I understand. WOlips said it wasn't available so
you added it to the classpath?

If you don't need it, don't put it in the classpath.

Am I not understanding something?

Dave

On May 16, 2010, at 12:30 PM, Gino Pacitti wrote:


Hi there
U did not specifically want xerces to be used - the wolips and
eclipse failed build made me aware that it was not available
and so I just tried to include it in the path :)

This is really a helloworld app with a single main
component ... Nothing eloborate so I don't know why xerces was
given as error ...

Any more thoughts ??

On 16 May 2010, at 17:18, David Avendasora 
wrote:



Hi Gino,

On May 16, 2010, at 10:24 AM, Gino Pacitti wrote:


Hi ...

Im trying to do a new instal of WOLips/Eclipse and have set
it up
using all the advices 
onhttp://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects

I have checked and double checked the properties file and  
have

everything in place - or so I hope.

Building and running are fine but when it comes time to do an
install
using ANT it just stops with t

Stuck on long response page... IE

2010-05-17 Thread Simon
hi all -

our apps use long response pages all over the shop, and we've had a few
reports of users getting stuck on them. after mucho debugging we've
discovered that wonderful IE (7+) has an option to disable meta refresh, and
various reports on the intertubes that it's disabled by default in various
versions.

i normally get annoyed with IE browsers wanting to warn about every minor
glitch on a page ("HEY, just in case you're interested there is a js
variable undefined on this page that you're never gonna use, but i thought
i'd tell you about it anyway, just to get in the way and make your life a
little less productive. ok?"), but with this one IE does just the opposite:
nothing at all. you hit the long response page and sit there...

anyway, i've been googling around for solutions and turned up nothing. i
guess the options are either to detect they have it turned off (which
appears to be impossible), or use another form of refresh.

anyone bumped into this one before ? any hints on solutions ?

thanks, simon
 ___
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: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread David Avendasora
Gino,

WOLips 3.4 is old, and has bugs that will not be fixed, so I highly recommend 
moving to Eclipse/WOLips 3.5. And 3.6 seems to be pretty stable too. Since you 
are just getting started with Eclipse you really should use a more current 
version.

Dave

On May 17, 2010, at 6:38 AM, Gino Pacitti wrote:

> OK..so done Galileo with WOlips 3.5 - which was not a good idea as it  
> just gave lots of errors.
> 
> Reinstalled Gannymede and WoLips 3.4 (that works - nightly build  
> update was for Galileo so broke my Eclipse 3.4 system)
> 
> So I have a default installation of Eclipse 3.4 and wolips 3.4
> 
> Used the 533 and 534 sets of Frameworks and FileSystem/Properties  
> etc.. to do 2 version development.
> 
> I create a Wonder Application and can build and run with browser  
> opening with Hello World but now -
> 
> I go to do a Ant Instal to build a deployment application and it stops  
> and gives this error?
> 
>  Failed to process eclipse frameworks:  
> org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ 
> String;
> 
> Why?
> 
> Any ideas please help...
> 
> Gino
> 
> 
> On 16 May 2010, at 21:41, David Avendasora wrote:
> 
>> 
>> On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:
>> 
>>> Hi David
>>> I created a new WO Application using the new menu item. (An aside  
>>> here and maybe not connected is that the only way to create a new  
>>> WOApplication was to use the wizard - and then it did not give me  
>>> any input boxes to add the package names as the tutorials seem to  
>>> indicate. It just allowed the project name and then a default  
>>> project was created. I then had to refactor the package names for  
>>> the components etc..)
>> 
>> Ah. You clicked "Finish" instead of "Next" when you created it. The  
>> screens to change those options are "optional" as far as Eclipse is  
>> concerned and it allows you to skip them.
>> 
>> While I can't think of how this would cause the issue you are  
>> currently having, I'd suggest starting over at this point, and do  
>> yourself a favor and start with a project based on Wonder. It does  
>> so much for you.
>> 
>> Dave
>> 
>>> 
>>> But then Building and running seem to work ok as it auto launches   
>>> in the Browser with HelloWorld.
>>> 
>>> My problem is the console error message and subsequent exit giving  
>>> the reason as this :
>>> BUILD FAILED
>>> /Users//Desktop/WOProjects/Applications_Eclipse/workspace/ 
>>> HelloWorld/build.xml:206: Failed to process eclipse  
>>> frameworks:org 
>>> .apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ 
>>> String;
>>> 
>>> Has the installation not worked??
>>> 
>>> What I am trying to achieve is a dist directory with the bundle  
>>> ready for deployment...
>>> 
>>> Gino
>>> 
>>> 
>>> On 16 May 2010, at 18:28, David Avendasora wrote:
>>> 
 Hey Gino,
 
 Please keep replies on the list. It makes it easier for others to  
 contribute to and/or learn from problems others have.
 
 Before you go bundling up the project, how did you create it in  
 the first place?
 
 If the project template you used doesn't work by default, then we  
 should certainly get that fixed.
 
 Dave
 
 On May 16, 2010, at 1:09 PM, Gino Pacitti wrote:
 
> Hi dave
> Sorry if vague ...
> 
> The error occurred first and so I spent sometime debugging - as  
> the error mentioned the xerces classes I found a jar and placed  
> it in the class path - but even with it there the error persists  
> and I cannot build a bundle for depoloyment ! Dies that clear it  
> up :-)
> 
> All I an trying to at this point I'd create a bundle so that u  
> can test out on deployment server so that I know I gave eclipse  
> and wolips set up correctly - I'm trying to move from Xcode and  
> wobuilder ...
> 
> I love my Apple iPhone
> 
> On 16 May 2010, at 17:41, David Avendasora > wrote:
> 
>> Hi Gino,
>> 
>> I'm not sure I understand. WOlips said it wasn't available so  
>> you added it to the classpath?
>> 
>> If you don't need it, don't put it in the classpath.
>> 
>> Am I not understanding something?
>> 
>> Dave
>> 
>> On May 16, 2010, at 12:30 PM, Gino Pacitti wrote:
>> 
>>> Hi there
>>> U did not specifically want xerces to be used - the wolips and  
>>> eclipse failed build made me aware that it was not available  
>>> and so I just tried to include it in the path :)
>>> 
>>> This is really a helloworld app with a single main  
>>> component ... Nothing eloborate so I don't know why xerces was  
>>> given as error ...
>>> 
>>> Any more thoughts ??
>>> 
>>> On 16 May 2010, at 17:18, David Avendasora >>> wrote:
>>> 
 Hi Gino,
 
 On May 16, 2010, at 10:24 AM, Gino Pacitti wrote:
 
> Hi ...
> 
> Im trying to do a new instal of WO

Re: questions of WO/ Wonder and Linux

2010-05-17 Thread Gustavo Pizano
Hello.

Yes I have successfully deployed the app, an its running, I needed to set the 
Unix path not the MacOSX path.

But still I hadn't been able to try the app in a browser, we are trying to 
properly configure the vpn. I deployed the app via terminal and started it, 
wehn I went using links to the app I was able to see the loging page, so now 
after configuring the vpn I need to check if the CSS JS and other 
WebServerResources are being loaded.

G.

On 17.5.2010, at 12:28, Kieran Kelleher wrote:

> /WebObjects/MyApp.woa/Contents/WebServerResources/
> 
> 
> 
> On May 17, 2010, at 5:20 AM, Gustavo Pizano wrote:
> 
>> Hello Pascal.
>> 
>> Ok we have since friday installed WO on linux box, womonitor and wotask are 
>> up and running, now Im in womonitor, and I added the host, and the app, now 
>> im trying to configure it, the path of the app shall be in the place of 
>> MaxOSX or Unix, or it doesn't matter, as far as I put the right path where 
>> the .woa resides.
>> 
>> What about the resources? when ant built the app I embed all frameworks,  Im 
>> using, and on the osX box I used to put the resources under 
>> /Library/Webserver/ 
>> Documents/WebObjects/MyApp.woa/Contents/WebServerResources/ 
>> 
>> if Im in linux or because all its embed from ant built its not necessary 
>> to copy the resources somewhere?
>> 
>> Thanks
>> 
>> Gustavo
>> 
>> 
>> 
>> On 14.5.2010, at 13:56, Pascal Robert wrote:
>> 
>>> 
>>> Le 2010-05-14 à 07:52, Gustavo Pizano a écrit :
>>> 
 Hello List.
 
 My partner is installing wo in a linux box following these instructions
 
 http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux
 
 so far he saids its ok, he is in half the page, hehe.
 
 Now my app its ready, after my partner successfully install WO into the 
 box shall I just proceed as I used to do in  a os X server environment? 
 open womonitor and install the app and the instance(s) of the app?
>>> 
>>> Yes, it it just like an OS X box, except the paths. On Linux, 
>>> /Library/WebObjects become /opt/Local/Library/WebObjects, 
>>> /Library/Frameworks become  /opt/Local/Library/Frameworks.
>>> 
 What about Wonder fw?,  just do an Ant install and have the project 
 properties to embed FW?, I remember something David told me to change in 
 the build.xml file, but can't find it., it long time ago when I tried by 
 myself install and deploy on tomcat, unsuccessfully btw. 
 
 
 I will keep you posted of our progress.
 
 ___
 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/kieran_lists%40mac.com
>> 
>> This email sent to kieran_li...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks

2010-05-17 Thread Gino Pacitti
OK..so done Galileo with WOlips 3.5 - which was not a good idea as it  
just gave lots of errors.


Reinstalled Gannymede and WoLips 3.4 (that works - nightly build  
update was for Galileo so broke my Eclipse 3.4 system)


So I have a default installation of Eclipse 3.4 and wolips 3.4

Used the 533 and 534 sets of Frameworks and FileSystem/Properties  
etc.. to do 2 version development.


I create a Wonder Application and can build and run with browser  
opening with Hello World but now -


I go to do a Ant Instal to build a deployment application and it stops  
and gives this error?


 Failed to process eclipse frameworks:  
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ 
String;


Why?

Any ideas please help...

Gino


On 16 May 2010, at 21:41, David Avendasora wrote:



On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:


Hi David
I created a new WO Application using the new menu item. (An aside  
here and maybe not connected is that the only way to create a new  
WOApplication was to use the wizard - and then it did not give me  
any input boxes to add the package names as the tutorials seem to  
indicate. It just allowed the project name and then a default  
project was created. I then had to refactor the package names for  
the components etc..)


Ah. You clicked "Finish" instead of "Next" when you created it. The  
screens to change those options are "optional" as far as Eclipse is  
concerned and it allows you to skip them.


While I can't think of how this would cause the issue you are  
currently having, I'd suggest starting over at this point, and do  
yourself a favor and start with a project based on Wonder. It does  
so much for you.


Dave



But then Building and running seem to work ok as it auto launches   
in the Browser with HelloWorld.


My problem is the console error message and subsequent exit giving  
the reason as this :

BUILD FAILED
/Users//Desktop/WOProjects/Applications_Eclipse/workspace/ 
HelloWorld/build.xml:206: Failed to process eclipse  
frameworks:org 
.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ 
String;


Has the installation not worked??

What I am trying to achieve is a dist directory with the bundle  
ready for deployment...


Gino


On 16 May 2010, at 18:28, David Avendasora wrote:


Hey Gino,

Please keep replies on the list. It makes it easier for others to  
contribute to and/or learn from problems others have.


Before you go bundling up the project, how did you create it in  
the first place?


If the project template you used doesn't work by default, then we  
should certainly get that fixed.


Dave

On May 16, 2010, at 1:09 PM, Gino Pacitti wrote:


Hi dave
Sorry if vague ...

The error occurred first and so I spent sometime debugging - as  
the error mentioned the xerces classes I found a jar and placed  
it in the class path - but even with it there the error persists  
and I cannot build a bundle for depoloyment ! Dies that clear it  
up :-)


All I an trying to at this point I'd create a bundle so that u  
can test out on deployment server so that I know I gave eclipse  
and wolips set up correctly - I'm trying to move from Xcode and  
wobuilder ...


I love my Apple iPhone

On 16 May 2010, at 17:41, David Avendasora > wrote:



Hi Gino,

I'm not sure I understand. WOlips said it wasn't available so  
you added it to the classpath?


If you don't need it, don't put it in the classpath.

Am I not understanding something?

Dave

On May 16, 2010, at 12:30 PM, Gino Pacitti wrote:


Hi there
U did not specifically want xerces to be used - the wolips and  
eclipse failed build made me aware that it was not available  
and so I just tried to include it in the path :)


This is really a helloworld app with a single main  
component ... Nothing eloborate so I don't know why xerces was  
given as error ...


Any more thoughts ??

On 16 May 2010, at 17:18, David Avendasora > wrote:



Hi Gino,

On May 16, 2010, at 10:24 AM, Gino Pacitti wrote:


Hi ...

Im trying to do a new instal of WOLips/Eclipse and have set  
it up

using all the advices 
onhttp://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects

I have checked and double checked the properties file and have
everything in place - or so I hope.

Building and running are fine but when it comes time to do an  
install

using ANT it just stops with the below error?

Its seems to offer the idea that this (org.apache.xerces) is  
not to be

found yet it is in the class path under -
wo.extensions=/Developer/WebObjects/Versions/WebObjects533/ 
Library/

WebObjects/Extensions


Does this project expect xerces to be installed in WebObjects/ 
Extensions? If so, then you're going to have to put it there.  
If this project previously worked before you setup to use  
multiple versions? If so, then go look in /Library/WebObjects/ 
Extensions and get the xerces jar from there.


With that said, as a general rule I don't put stuff in  
WebObject

Re: questions of WO/ Wonder and Linux

2010-05-17 Thread Kieran Kelleher
/WebObjects/MyApp.woa/Contents/WebServerResources/



On May 17, 2010, at 5:20 AM, Gustavo Pizano wrote:

> Hello Pascal.
> 
> Ok we have since friday installed WO on linux box, womonitor and wotask are 
> up and running, now Im in womonitor, and I added the host, and the app, now 
> im trying to configure it, the path of the app shall be in the place of 
> MaxOSX or Unix, or it doesn't matter, as far as I put the right path where 
> the .woa resides.
> 
> What about the resources? when ant built the app I embed all frameworks,  Im 
> using, and on the osX box I used to put the resources under 
> /Library/Webserver/ 
> Documents/WebObjects/MyApp.woa/Contents/WebServerResources/ 
> 
> if Im in linux or because all its embed from ant built its not necessary 
> to copy the resources somewhere?
> 
> Thanks
> 
> Gustavo
> 
> 
> 
> On 14.5.2010, at 13:56, Pascal Robert wrote:
> 
>> 
>> Le 2010-05-14 à 07:52, Gustavo Pizano a écrit :
>> 
>>> Hello List.
>>> 
>>> My partner is installing wo in a linux box following these instructions
>>> 
>>> http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux
>>> 
>>> so far he saids its ok, he is in half the page, hehe.
>>> 
>>> Now my app its ready, after my partner successfully install WO into the box 
>>> shall I just proceed as I used to do in  a os X server environment? open 
>>> womonitor and install the app and the instance(s) of the app?
>> 
>> Yes, it it just like an OS X box, except the paths. On Linux, 
>> /Library/WebObjects become /opt/Local/Library/WebObjects, 
>> /Library/Frameworks become  /opt/Local/Library/Frameworks.
>> 
>>> What about Wonder fw?,  just do an Ant install and have the project 
>>> properties to embed FW?, I remember something David told me to change in 
>>> the build.xml file, but can't find it., it long time ago when I tried by 
>>> myself install and deploy on tomcat, unsuccessfully btw. 
>>> 
>>> 
>>> I will keep you posted of our progress.
>>> 
>>> ___
>>> 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/kieran_lists%40mac.com
> 
> This email sent to kieran_li...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Get rid of warning in binding value e.g. @sum.totalCost

2010-05-17 Thread Kieran Kelleher
selectedresource.trainin...@sum.totalcost;\\VALID


On May 17, 2010, at 5:51 AM, Cheong Hee Ng wrote:

> selectedresource.trainin...@sum.totalcost;

 ___
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: Ajax uploader

2010-05-17 Thread Kieran Kelleher
Use the new AjaxFlexibleFileUpload.

Just drop it on the page and bind the same few bindings that you did in the old 
days for WoFileUpload such as filePath, finalFileName, streamToFilePath, etc. 
Try it, it just works very nicely and does the upload in a separate iframe.


On May 17, 2010, at 12:07 AM, ute Hoffmann wrote:

> Hi,
> a short question: is the wonder ajax file uploader non-blocking,
> can I open it in a popup and will it work non-blocking while the user does 
> something different
> in the main window? Or do I need to use the non-blocking file uploader I found
> to archieve what I need.
> 
> I plan to stream the files to disk, if that makes a difference.
> 
> Is there a working sample how to implement the process-bar for the ajax file 
> upload?
> The example stops where my questions start.
> 
> Regards,
> 
> Ute
> 
> 
> ___
> 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/kieran_lists%40mac.com
> 
> This email sent to kieran_li...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Get rid of warning in binding value e.g. @sum.totalCost

2010-05-17 Thread Cheong Hee Ng
Hi

There is a warning icon always for binding value such as:
selectedresource.trainin...@sum.totalcost;

It could not resolved attribute after the array, in this case totalCost for
the array of trainings.  Is there a way to get rid of this unpleasant
warning?  I am using WOLips 3.4.

Cheers

Cheong Hee
 ___
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: questions of WO/ Wonder and Linux

2010-05-17 Thread Gustavo Pizano
Hello Pascal.

Ok we have since friday installed WO on linux box, womonitor and wotask are up 
and running, now Im in womonitor, and I added the host, and the app, now im 
trying to configure it, the path of the app shall be in the place of MaxOSX or 
Unix, or it doesn't matter, as far as I put the right path where the .woa 
resides.

What about the resources? when ant built the app I embed all frameworks,  Im 
using, and on the osX box I used to put the resources under /Library/Webserver/ 
Documents/WebObjects/MyApp.woa/Contents/WebServerResources/ 

if Im in linux or because all its embed from ant built its not necessary to 
copy the resources somewhere?

Thanks

Gustavo



On 14.5.2010, at 13:56, Pascal Robert wrote:

> 
> Le 2010-05-14 à 07:52, Gustavo Pizano a écrit :
> 
>> Hello List.
>> 
>> My partner is installing wo in a linux box following these instructions
>> 
>> http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux
>> 
>> so far he saids its ok, he is in half the page, hehe.
>> 
>> Now my app its ready, after my partner successfully install WO into the box 
>> shall I just proceed as I used to do in  a os X server environment? open 
>> womonitor and install the app and the instance(s) of the app?
> 
> Yes, it it just like an OS X box, except the paths. On Linux, 
> /Library/WebObjects become /opt/Local/Library/WebObjects, /Library/Frameworks 
> become  /opt/Local/Library/Frameworks.
> 
>> What about Wonder fw?,  just do an Ant install and have the project 
>> properties to embed FW?, I remember something David told me to change in the 
>> build.xml file, but can't find it., it long time ago when I tried by myself 
>> install and deploy on tomcat, unsuccessfully btw. 
>> 
>> 
>> I will keep you posted of our progress.
>> 
>> ___
>> 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: Problem with Eclipse/WOLips

2010-05-17 Thread Henrique Gomes

On May 17, 2010, at 9:02 AM, Gino Pacitti wrote:

> Hi
> Is there a current problem with installing WOLips
> http://webobjects.mdimension.com/wolips/stable
> with Eclipse 3.4?
> 

That URL links to WOLips35Stable for eclipse 3.5. Either upgrade eclipse or use 
http://webobjects.mdimension.com/hudson/job/WOLips34Stable/lastSuccessfulBuild/artifact/site

Henrique Gomes

 ___
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


Problem with Eclipse/WOLips

2010-05-17 Thread Gino Pacitti

Hi
Is there a current problem with installing WOLips
 http://webobjects.mdimension.com/wolips/stable
with Eclipse 3.4?

Tried several times and WOLips, although installed, is not available  
in the perspective view?


Gino
___
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