Re: user.d2wmodel
Re: user.d2wmodel
- Subject: Re: user.d2wmodel
- From: David Holt <email@hidden>
- Date: Tue, 30 Jun 2009 13:02:36 -0700
On 30-Jun-09, at 12:45 PM, Theodore Petrosky wrote:
On 30-Jun-09, at 10:44 AM, email@hidden
wrote:
I was working with the podcast:
D2W : Using ERExcelLook
It appears that I have a problem with the Rules. I
noticed that before I created the user.d2wmodel, I saw the
errors in the console that the file wasn't found. then I
created the file with rule modeler and the error went away
but it doesn't appear to be applying my rule. (i was asking
for only 2 columns). I saw no errors. I expected that I
would see an error something like (can not find key 'x').
there was no error produced and instead of getting an excel
file with 2 columns, it output all the columns (as if there
were no rule present).
I was hoping to show an error but there were none
showing. What can I show you to help figure this out.
Ted
Ted,
Unfortunately I haven't completed the 'getting started'
podcast and I jumped right into the ERExcelLook one (I blame
David Holt... ;-)
Anyway, what might be happening is that your user.d2wmodel
is not getting updated.
Check the user.d2wmodel file in
build/YourProject.woa/Contents/Resources/user.d2wmodel if it
doesn''t contain your changes then that's your problem.
You were correct that these files were not being updated....
RuleModeler communicates with WOLips using the WOLips
server so if you haven't yet, you'll need to configure
that:
1. Go to Eclipse->Preferences->WOLips->WOLips
Server and make sure it's enabled and make note of the
server port and password
2. Apply any changes
3. Go to RuleModeler -> Preferences and set the port and
password to match the WOLips Server values from above.
To be safe, quite Eclipse and RuleModeler and then launch
Eclipse first followed by RuleModeler.
I did quite a lot of updating and opening files. I had to:
1. open eclipse
2. open the rulemodeler file in the resource folder and save
3. open the rulemodeler file in the build folder and save.
until I did the last stepl the user.d2wmodeler.txt file (in the
build area) was not updated
This should make the rule files you edit update for running
applications.
Another option that I've been doing (since I didn't know the WOLips
server could be used for D2W) is Clean the project while it's running
after updating the rule file. Seems to work okay too.
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
thanks for the help.
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden