Re: WOLips for Eclipse 4.4 binary

2015-01-15 Thread Pascal Robert
The exact error:

/var/lib/jenkins/jobs/WOLips44/workspace/buildscripts/woproperties.xml:10: 
Could not find 
/var/lib/jenkins/jobs/WOLips44/workspace/Library/wobuild.properties. There 
should now be a generated one. Just launch ant again

The file is there, and it’s owned by Jenkins. In fact, it was created… 10 
seconds befor the error came out.

> 
> Permissions issue? I lost my ssh key with my last laptop, so I was never able 
> to check when it started failing.
> 
> On Jan 14, 2015, at 9:59 AM, Pascal Robert  wrote:
> 
>> The build on Jenkins complains that the properties file is missing, but it's 
>> there...
>> 
>> - Mail original -
>> De: "Ramsey Gurley" 
>> À: "Ken Anderson" 
>> Cc: "WebObjects-Dev Mailing List List" 
>> Envoyé: Mercredi 14 Janvier 2015 11:39:34
>> Objet: Re: WOLips for Eclipse 4.4 binary
>> 
>> Or just get the build set up correctly on jenkins :) I’m still using the 
>> last successful build of 4.3 that I set up there.
>> 
>> On Jan 14, 2015, at 8:57 AM, Ken Anderson  wrote:
>> 
>>> +1^2 !
>>> 
>>> On Jan 14, 2015, at 10:54 AM, John Huss  wrote:
>>> 
 If anyone has a build of WOLips for Eclipse 4.4 that mostly works, can you 
 provide a binary?  I don't really want to build my own, and I bet many 
 others would also appreciate it.
 
 Thanks,
 John 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.com
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to rgur...@smarthealth.com
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 


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

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

Re: D2w - toMany relation

2015-01-15 Thread Fabian Peters
"Entity.name.Location" = "Ort";
"Nav.Settings" = "Einstellungen";
"Pages.CreatePerson" = "Person anlegen";
"PropertyKey.amount" = "Betrag";
"TabKey.Owner" = "Eigentümer";

Fabian

Am 15.01.2015 um 16:26 schrieb Pierre Gilquin :

> Thanks for all this info. I will try it.
> I wonder also how to localize the title of the component (i.e "Select 
> embedded ") and the labels for property key ?
> 
> 
> Pierre
> 
> 
> Query Embedded Hv Motif Hospitalisation
> 
> 
> 
> On 15. 01. 15 13:16, Theodore Petrosky wrote:
>> Localization is handled by a Localizable.strings  file.
>> 
>> for instance create a folder in your Resources folder called English.lproj 
>> in there a file called Localizable.strings. now you can do things like:
>> 
>>  "ERD2W.advancedFindButtonLabel" = "Advanced...";
>>   
>>   "PropertyKey.meetingAttendees" = "Attendees";
>>   "PropertyKey.meetingLocation" = "Location”;
>> 
>> then you can create a folder French.lproj in your Resources folder with a 
>> file Localizable.strings were you would put the French version (then Polish, 
>> Italian, etc)
>> 
>> now if the user’s language is set to English they get the English 
>> localizations and appropriately the other languages that you create will 
>> just work.
>> 
>> 
>> Is this what you are looking for?
>> 
>> BTW, in the language folder you also put a file (in each language) 
>> ValidationTemplate.strings and you can do things like:
>> 
>> {
>>  "UniqueConstraintException.loginname_idx" = "Please choose a different 
>> username (It must be unique).";
>>  
>>  "Quote.quoteAmount"="You must enter a dollar amount in the format 
>> 123.00 (you entered @@escapedValue@@)!";
>>  
>> }
>> 
>> 
>> 
>> On Jan 15, 2015, at 2:26 AM, Pierre Gilquin 
>> 
>>  wrote:
>> 
>> 
>>> One more question :
>>> is there a way to change the button text ? and in general, how to localyze 
>>> an d2w app ?
>>> 
>>> 
>>> Thanks
>>> 
>>> Pierre
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (
>>> Webobjects-dev@lists.apple.com
>>> )
>>> Help/Unsubscribe/Update your Subscription:
>>> 
>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>>> 
>>> 
>>> This email sent to 
>>> tedp...@yahoo.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
> 
> This email sent to lists.fab...@e-lumo.com


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

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

Re: D2w - toMany relation

2015-01-15 Thread Pierre Gilquin

Thanks for all this info. I will try it.
I wonder also how to localize the title of the component (i.e "Select 
embedded ") and the labels for property key ?



Pierre


 Query Embedded Hv Motif Hospitalisation



On 15. 01. 15 13:16, Theodore Petrosky wrote:

Localization is handled by a Localizable.strings  file.

for instance create a folder in your Resources folder called English.lproj in 
there a file called Localizable.strings. now you can do things like:

  "ERD2W.advancedFindButtonLabel" = "Advanced...";
   
   "PropertyKey.meetingAttendees" = "Attendees";

   "PropertyKey.meetingLocation" = "Location”;

then you can create a folder French.lproj in your Resources folder with a file 
Localizable.strings were you would put the French version (then Polish, 
Italian, etc)

now if the user’s language is set to English they get the English localizations 
and appropriately the other languages that you create will just work.


Is this what you are looking for?

BTW, in the language folder you also put a file (in each language) 
ValidationTemplate.strings and you can do things like:

{
"UniqueConstraintException.loginname_idx" = "Please choose a different 
username (It must be unique).";

"Quote.quoteAmount"="You must enter a dollar amount in the format 123.00 
(you entered @@escapedValue@@)!";

}



On Jan 15, 2015, at 2:26 AM, Pierre Gilquin  wrote:


One more question :
is there a way to change the button text ? and in general, how to localyze an 
d2w app ?


Thanks

Pierre

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

This email sent to tedp...@yahoo.com


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

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


Re: Model/DB synchronization (was: Migrations (was: ERXSQLHelper))

2015-01-15 Thread Samuel Pelletier
Hi OC,

I had to deal with similar situation in the past for online product catalog and 
I used these two way of storing the data successfully :

1- Store additional attributes in a serialized map structure (json, serialized 
php array, serialized java objects or property list). 
This allows to store anything that can be serialized and fit inside the blob or 
big text column. The price to pay is in search, you cannot search with the 
database or use index. This structure is the one to use when the data structure 
is completely custom from item to item. At this time, I would use a document 
based database like mongoDB with use this type of storage natively. With WO, 
you can use a document database for the dynamic documents and a relational 
database for the transactional datas. I would not recommend using a document 
database for transactional operations, they are not designed for that.

2- Store the additional attributes in an dedicated entity with a commun 
dictionary of attribute definitions. The attribute definition define the 
attribute display name, data type, unit of measure (if required). You may have 
a single list of definition or a list per item category for example. When the 
user want to add an attribute to an item, he select the attribute from a list 
and add it to the item. The form is dynamicaly constructed with correct display 
and data validation based on the attribute definition. Attribute values are 
stored in a small entity linked to an item and an attribute description. You 
can index the value columns and do fast search in the database. By adding some 
utility method to your Item entity, you can have a dictionary like behaviour 
for your additional attribute values.

Entities required:

AttributeDefinition  <-->> ItemValue <<-->  Item
----
idid id
name  itemID name
typeattributeDefinitionID...
...intValue
   decimalValue
   textValue

For optimal queries, you will need to use the ERXExistsQualifier presented last 
year. I implemented this structure one time in WO to read data managed by a PHP 
app but few times in PHP for product catalog and dynamic forms like 
http://vizu.ca

Regards,

Samuel

Sample of utility methods for a dynamic form implementation (code is a unique 
never modified, even when a new version of the form is created identifier for a 
question):

public ClientQuestionReponse reponseForQuestionCode(String code) {
EOQualifier qualifier = 
ClientQuestionReponse.QUESTION.dot(Question.CODE).eq(code);
NSArray reponses = reponses(qualifier);
if (reponses.count() == 0) {
return null;
}
return reponses.objectAtIndex(0);
}

public String textReponseForQuestionCode(String code) {
ClientQuestionReponse reponse = reponseForQuestionCode(code);
if (reponse == null) {
return null;
}
return reponse.texte();
}

public BigDecimal nombreReponseForQuestionCode(String code) {
ClientQuestionReponse reponse = reponseForQuestionCode(code);
if (reponse == null) {
return null;
}
return reponse.nombre();
}

public NSTimestamp dateReponseForQuestionCode(String code) {
ClientQuestionReponse reponse = reponseForQuestionCode(code);
if (reponse == null) {
return null;
}
return reponse.date();
}



> Le 2015-01-13 à 18:55, Ramsey Gurley  a écrit :
> 
> 
> On Jan 13, 2015, at 8:26 AM, OC  wrote:
>> 
>> Well the gist is that some of my EOs have (along with normal ones) a set of 
>> user-defined attributes: the user can open an appripriate editor and set up 
>> something like "my auction will, along with the attributes which the 
>> application itself defines, also three VARCHAR attributes named 'foo', 
>> 'bar', and 'bax'; they will have four DECIMAL attributes named so-and-so, 
>> etc etc.". These things are stored in the database, and the application then 
>> allows to use the dynamic attributes the very same way one can use static 
>> ones (i.e., display them in forms/tables, edit their contents, filter by 
>> them, etc.)
>> 
>> Originally, I have solved this through a BLOB, which contains a serialized 
>> NSDictionary, which contains all the dynamic attributes by-name.
>> 
>> That works reasonably well, but we bumped into grave efficiency problem 
>> filtering such tables: to fetch only items whose attribute 'foo' matches 
>> 'John*'

RE: WOLips for Eclipse 4.4 binary

2015-01-15 Thread Lize Anthonin (@JCOMMOPS)
Hi,

I have built it myself a few days ago and the only trouble I encountered (on 
windows, no problem on ubuntu) was that it does not work when eclipse is 
installed in a path with spaces... (like "C:\Program Files\...").
It does not reload the whole plugin when you restart it after installing wolips 
4.4.0 (since the space breaks the process).

But after moving eclipse into a more suitable folder, its works flawlessly (for 
the moment). And yes it seems to be faster.

Anthonin Lizé
JCOMMOPS

-Original Message-
From: webobjects-dev-bounces+alize=jcommops@lists.apple.com 
[mailto:webobjects-dev-bounces+alize=jcommops@lists.apple.com] On Behalf Of 
CHRISTOPH WICK | i4innovation GmbH | Bonn
Sent: Thursday, January 15, 2015 10:00 AM
To: Stefan Klein
Cc: WebObjects-Dev Mailing List List
Subject: Re: WOLips for Eclipse 4.4 binary

Stefan, you made my day. Thx a lot.

For all of you who are still on Eclipse 3.7: My first impression is that the 
4.4-Version of Eclipse/WOLips seems to be a lot faster. Especially on OS X.

C.U.CW
-- 
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling 
roar of the birds.
On 14.01.2015, at 21:18, Stefan Klein  wrote:

> Till the jenkins problem isn't solved you can use 
> http://buero-sde.de/downloads/wolips4_4_0 as update site.
> To check the version see http://buero-sde.de/downloads/wolips4_4_0/site.xml 
> (It contains jrebel and jprofile support).
> 
> This is the version I use in Eclipse IDE for Java Developers Version: Luna 
> Service Release 1 (4.4.1) 
> 
> 
> Stefan
> 
> 
> 
> 
>> Am 14.01.2015 um 17:59 schrieb Pascal Robert :
>> 
>> The build on Jenkins complains that the properties file is missing, but it's 
>> there...
>> 
>> - Mail original -
>> De: "Ramsey Gurley" 
>> À: "Ken Anderson" 
>> Cc: "WebObjects-Dev Mailing List List" 
>> Envoyé: Mercredi 14 Janvier 2015 11:39:34
>> Objet: Re: WOLips for Eclipse 4.4 binary
>> 
>> Or just get the build set up correctly on jenkins :) I'm still using the 
>> last successful build of 4.3 that I set up there.
>> 
>> On Jan 14, 2015, at 8:57 AM, Ken Anderson  wrote:
>> 
>>> +1^2 !
>>> 
>>> On Jan 14, 2015, at 10:54 AM, John Huss  wrote:
>>> 
 If anyone has a build of WOLips for Eclipse 4.4 that mostly works, can you 
 provide a binary?  I don't really want to build my own, and I bet many 
 others would also appreciate it.
 
 Thanks,
 John 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.com
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to rgur...@smarthealth.com
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-sde.de
>> 
>> This email sent to stefan.kl...@buero-sde.de
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
> 
> This email sent to c...@i4innovation.de


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

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

Re: D2w - toMany relation

2015-01-15 Thread Theodore Petrosky
Localization is handled by a Localizable.strings  file.

for instance create a folder in your Resources folder called English.lproj in 
there a file called Localizable.strings. now you can do things like:

 "ERD2W.advancedFindButtonLabel" = "Advanced...";
  
  "PropertyKey.meetingAttendees" = "Attendees";
  "PropertyKey.meetingLocation" = "Location”;

then you can create a folder French.lproj in your Resources folder with a file 
Localizable.strings were you would put the French version (then Polish, 
Italian, etc)

now if the user’s language is set to English they get the English localizations 
and appropriately the other languages that you create will just work.


Is this what you are looking for?

BTW, in the language folder you also put a file (in each language) 
ValidationTemplate.strings and you can do things like:

{
"UniqueConstraintException.loginname_idx" = "Please choose a different 
username (It must be unique).";

"Quote.quoteAmount"="You must enter a dollar amount in the format 
123.00 (you entered @@escapedValue@@)!";

}



On Jan 15, 2015, at 2:26 AM, Pierre Gilquin  wrote:

> One more question :
> is there a way to change the button text ? and in general, how to localyze an 
> d2w app ?
> 
> 
> Thanks
> 
> Pierre
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
> 
> This email sent to tedp...@yahoo.com


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

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

Re: WOWODC 2015 Schedule

2015-01-15 Thread Musall Maik
Hi all,

we (Selbstdenker AG) are coming with 7 people :-)

Greetings, see you in April
Maik


Am 08.01.2015 um 11:48 schrieb Matthias Fricke :

> Hi all,
> 
> we published the schedule for the WOWODC 2015. There might be still some 
> changes and as well additions.
> The second room is currently not used for session but there is still the plan 
> to have some hands-on sessions. Suggestions welcome!
> We decided as well on a WebObjects Lightning Talk we will send more 
> information on that later.
> 
> Best,
> Matthias
> 
> PS. I just realized that the main page still said Registration opens soon. 
> Sorry - it was open since a while now. Please register soon, it helps our 
> planing a lot!
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag
> 
> This email sent to m...@selbstdenker.ag


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

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

Re: WOLips for Eclipse 4.4 binary

2015-01-15 Thread CHRISTOPH WICK | i4innovation GmbH | Bonn
Stefan, you made my day. Thx a lot.

For all of you who are still on Eclipse 3.7: My first impression is that the 
4.4-Version of Eclipse/WOLips seems to be a lot faster. Especially on OS X.

C.U.CW
-- 
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling 
roar of the birds.
On 14.01.2015, at 21:18, Stefan Klein  wrote:

> Till the jenkins problem isn’t solved you can use 
> http://buero-sde.de/downloads/wolips4_4_0 as update site.
> To check the version see http://buero-sde.de/downloads/wolips4_4_0/site.xml 
> (It contains jrebel and jprofile support).
> 
> This is the version I use in Eclipse IDE for Java Developers Version: Luna 
> Service Release 1 (4.4.1) 
> 
> 
> Stefan
> 
> 
> 
> 
>> Am 14.01.2015 um 17:59 schrieb Pascal Robert :
>> 
>> The build on Jenkins complains that the properties file is missing, but it's 
>> there...
>> 
>> - Mail original -
>> De: "Ramsey Gurley" 
>> À: "Ken Anderson" 
>> Cc: "WebObjects-Dev Mailing List List" 
>> Envoyé: Mercredi 14 Janvier 2015 11:39:34
>> Objet: Re: WOLips for Eclipse 4.4 binary
>> 
>> Or just get the build set up correctly on jenkins :) I’m still using the 
>> last successful build of 4.3 that I set up there.
>> 
>> On Jan 14, 2015, at 8:57 AM, Ken Anderson  wrote:
>> 
>>> +1^2 !
>>> 
>>> On Jan 14, 2015, at 10:54 AM, John Huss  wrote:
>>> 
 If anyone has a build of WOLips for Eclipse 4.4 that mostly works, can you 
 provide a binary?  I don't really want to build my own, and I bet many 
 others would also appreciate it.
 
 Thanks,
 John 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.com
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to rgur...@smarthealth.com
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-sde.de
>> 
>> This email sent to stefan.kl...@buero-sde.de
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
> 
> This email sent to c...@i4innovation.de



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

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