Re: File update issues with Eclipse

2017-12-23 Thread Markus Ruggiero

> On 23 Dec 2017, at 01:01, Jeff Schmitz  wrote:
> 
> I created a new workspace (the old one had been updated from Eclipse Indigo), 
> re-imported my projects and all is well now.
> 
> 

Happens once or twice a month. It's quite "normal" that Eclipse corrupts its 
workspace. Creating a new one, copying the project folders over and importing 
the projects usually fixes things. I have no idea, what exactly happens but 
Eclipse is notoriously "good" in breaking. I think things got worse since 
Eclipse Mars. Eclipse also has tons of problems with theming he user interface. 
Don't get me started on this.

Merry Xmas and a happy New Year to all
---markus---

 ___
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: File update issues with Eclipse

2017-12-22 Thread Jeff Schmitz
I created a new workspace (the old one had been updated from Eclipse Indigo), 
re-imported my projects and all is well now.



> On Dec 22, 2017, at 5:18 PM, Jeff Schmitz  wrote:
> 
> A little more info, when I run ‘ant install’ from the command line I get:
> 
> /Users/netBrackets/git/netBracketsFW/netBracketsFW/build.xml:89: taskdef 
> class org.objectstyle.woproject.ant.WOCompile cannot be found
> 
> I’ll keep digging.
> 
>> On Dec 22, 2017, at 4:55 PM, Jeff Schmitz > > wrote:
>> 
>> I’m seeing a problem with one of my Ant build scripts after moving to 
>> Oxygen. Specifically my old Ant script to build and install a framework (see 
>> screenshot) dies almost immediately with no messages.  The same script works 
>> fine if I use it within Indigo Eclipse.  I’ve copied my full script below.  
>> Has anyone else seen this problem?  Is there a plugin besides 
>> WOLips/WOGoodies that I forgot to install maybe?  I’m using High Sierra.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>  > depends="init.build,build.woframework,javaclient,package" />
>> 
>>  > depends="init.install,build.woframework,javaclient" />
>> 
>>  
>>  
>>  
>>  
>> 
>>  
>>  
>>  
>> 
>>  > value="${user.home}${file.separator}Library${file.separator}Application 
>> Support${file.separator}WOLips${file.separator}wolips.properties" />
>>  
>>  
>>  
>>  
>>  > />
>>  
>>  
>>  
>>  
>>  
>> 
>>  > />
>>  
>>  > value="${project.name.lowercase}" />
>>  
>> 
>>  
>>
>> 
>>  
>>  
>>  
>>  
>> 
>>  
>>  
>>  
>>  
>> 
>>   
>> > compression="gzip"
>> longfile="gnu">
>>   
>> 
>>   
>> 
>>  
>> 
>>  
>>  
>>  > classname="org.objectstyle.woproject.ant.WOFramework"/>
>> 
>>  > destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" 
>> principalClass="${principalClass}" 
>> eoAdaptorClassName="${eoAdaptorClassName}" javaVersion="${javaVersion}" 
>> cfbundleversion="${cfBundleVersion}" 
>> cfbundleshortversion="${cfBundleShortVersion}" cfbundleID="${cfBundleID}">
>>  
>>  > name="woproject/classes.include.patternset" />
>>  > name="woproject/classes.exclude.patternset" />
>>  > name="**/client/**/*.*"/>
>>  
>> 
>>  
>>  > name="woproject/wsresources.include.patternset" />
>>  > name="woproject/wsresources.exclude.patternset" />
>>  
>> 
>>  
>>  > name="woproject/resources.include.patternset" />
>>  > name="woproject/resources.exclude.patternset" />
>>  > name="**/client/**/*.*"/>
>>  
>> 
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  > dir="${dest.dir}/${build.framework.name}.framework/WebServerResources/Java" 
>> />
>>  > jarfile="${dest.dir}/${build.framework.name}.framework/WebServerResources/Java/${build.framework.name}.jar"/>
>>  
>> 
>>  
>>  > classname="org.objectstyle.woproject.ant.WOCompile" />
>> 
>>  
>> 
>>  
>>  > eclipse="true" />
>>  > eclipse="true" />
>>  
>>  
>>  > />
>>  > />
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>> 
>> 
>>  
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> 
>>> 
 On Dec 13, 2017, at 2:55 AM, Markus Ruggiero > wrote:
 
 
> On 9 Dec 2017, at 06:13, Ricardo Parada  > wrote:
> 
> Hi Markus,
> 
> I’ve seen the problem you have described when editing WO components. I 
> don’t know what causes it. When it tells me that the file has changed and 
> whether I want to reload it I usually just say no because I know I have 
> not changed the file from underneath Eclipse.  
> 
> Ricardo Parada
> 
 
 
 Yeah, that's the problem. There are 

Re: File update issues with Eclipse

2017-12-22 Thread Jeff Schmitz
A little more info, when I run ‘ant install’ from the command line I get:

/Users/netBrackets/git/netBracketsFW/netBracketsFW/build.xml:89: taskdef class 
org.objectstyle.woproject.ant.WOCompile cannot be found

I’ll keep digging.

> On Dec 22, 2017, at 4:55 PM, Jeff Schmitz  wrote:
> 
> I’m seeing a problem with one of my Ant build scripts after moving to Oxygen. 
> Specifically my old Ant script to build and install a framework (see 
> screenshot) dies almost immediately with no messages.  The same script works 
> fine if I use it within Indigo Eclipse.  I’ve copied my full script below.  
> Has anyone else seen this problem?  Is there a plugin besides 
> WOLips/WOGoodies that I forgot to install maybe?  I’m using High Sierra.
> 
> 
> 
> 
> 
> 
> 
>depends="init.build,build.woframework,javaclient,package" />
> 
>depends="init.install,build.woframework,javaclient" />
> 
>   
>   
>   
>   
> 
>   
>   
>   
> 
>value="${user.home}${file.separator}Library${file.separator}Application 
> Support${file.separator}WOLips${file.separator}wolips.properties" />
>   
>   
>   
>   
>/>
>   
>   
>   
>   
>   
> 
>/>
>   
>value="${project.name.lowercase}" />
>   
> 
>   
>
> 
>   
>   
>   
>   
> 
>   
>   
>   
>   
> 
>   
>  compression="gzip"
> longfile="gnu">
>   
> 
>   
> 
>   
> 
>   
>   
>classname="org.objectstyle.woproject.ant.WOFramework"/>
> 
>destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" 
> principalClass="${principalClass}" eoAdaptorClassName="${eoAdaptorClassName}" 
> javaVersion="${javaVersion}" cfbundleversion="${cfBundleVersion}" 
> cfbundleshortversion="${cfBundleShortVersion}" cfbundleID="${cfBundleID}">
>   
>name="woproject/classes.include.patternset" />
>name="woproject/classes.exclude.patternset" />
>name="**/client/**/*.*"/>
>   
> 
>   
>name="woproject/wsresources.include.patternset" />
>name="woproject/wsresources.exclude.patternset" />
>   
> 
>   
>name="woproject/resources.include.patternset" />
>name="woproject/resources.exclude.patternset" />
>name="**/client/**/*.*"/>
>   
> 
>   
>   
>   
>   
>   
>   
>   
>dir="${dest.dir}/${build.framework.name}.framework/WebServerResources/Java" />
>jarfile="${dest.dir}/${build.framework.name}.framework/WebServerResources/Java/${build.framework.name}.jar"/>
>   
> 
>   
>classname="org.objectstyle.woproject.ant.WOCompile" />
> 
>   
> 
>   
>eclipse="true" />
>eclipse="true" />
>   
>   
>/>
>/>
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
>> 
>> 
>>> On Dec 13, 2017, at 2:55 AM, Markus Ruggiero >> > wrote:
>>> 
>>> 
 On 9 Dec 2017, at 06:13, Ricardo Parada > wrote:
 
 Hi Markus,
 
 I’ve seen the problem you have described when editing WO components. I 
 don’t know what causes it. When it tells me that the file has changed and 
 whether I want to reload it I usually just say no because I know I have 
 not changed the file from underneath Eclipse.  
 
 Ricardo Parada
 
>>> 
>>> 
>>> Yeah, that's the problem. There are two distinct cases, one is reloading 
>>> from disk and the other one is overwriting the changes on the filesystem. 
>>> Two different questions, one needs YES, the other one needs NO for an 
>>> answer. And the dialog has different default buttons. This makes it 
>>> necessary to read and comprehend the message everytime. Both messages LOOK 
>>> similar and 

Re: File update issues with Eclipse

2017-12-13 Thread Markus Ruggiero

> On 9 Dec 2017, at 06:13, Ricardo Parada  wrote:
> 
> Hi Markus,
> 
> I’ve seen the problem you have described when editing WO components. I don’t 
> know what causes it. When it tells me that the file has changed and whether I 
> want to reload it I usually just say no because I know I have not changed the 
> file from underneath Eclipse.  
> 
> Ricardo Parada
> 


Yeah, that's the problem. There are two distinct cases, one is reloading from 
disk and the other one is overwriting the changes on the filesystem. Two 
different questions, one needs YES, the other one needs NO for an answer. And 
the dialog has different default buttons. This makes it necessary to read and 
comprehend the message everytime. Both messages LOOK similar and therefore a 
quick glance and the hitting  does not help. It is simply annoying.

> 
>> On Dec 8, 2017, at 6:29 PM, Hugi Thordarson  wrote:
>> 
>> Hi Markus,
>> no real help here, just adding some info: I've noticed this happening in 
>> another app recently (TextWrangler). But I'm running on High Sierra and 
>> thought it was related to changes in file APIs there.
>> 

Something similar seems to happen in SourceTree. When working with the File 
Status View open this refreshes constantly and resets the scroll area! Very 
annoying. Might be the same underlying issues with some file system 
notifications?

>> Haven't noticed this in Eclipse though. Do you have "Refresh using native 
>> hooks or polling" on in your Workspace preferences? I found that to help 
>> with similar problems in the past.
>> 

Tried it with both settings, checked and un-checked. Makes no difference.

Possibly something in macOS Sierra (not on HighSierra and don't plan to go 
there in the near future) that makes some programs having a hick-up.

If that was the only issue with macOS.. 

Still having fun with WO and continuing to use it. Wish you all a lot of fun, 
too.
---markus---



>> - hugi
>> 
>> 
>> 
>>> On 8 Dec 2017, at 12:09, Markus Ruggiero  wrote:
>>> 
>>> I am having a really bad time with Eclipse and WO Editor and Entity 
>>> Modeler. (Eclipse 7.71a Oxygen with WOLips 4.7.20170731.3) on macOS Sierra 
>>> 12.6.
>>> 
>>> When I edit a WOComponent, switch to the java file, switch back and forth, 
>>> very often I get alerted that there are changes on the file system and 
>>> whether I want to reload from disk or (in the case of trying to save) 
>>> overwrite what has changed on disk. Anyone seen this, too? Is there a way 
>>> to switch that off (whatever "that" is)? I am often thorougly confused and 
>>> do never exactly know which button to press. Depending on the context 
>>> (reload from disk or overwrite disk) I need to pick one or the other option.
>>> 
>>> I have experienced maybe related effects in Entity Modeler. Sometimes it 
>>> gets confused by edits, particularly when renaming entities, and corrupts 
>>> the model. The entity is still listed in index.eomodel but the 
>>> corresponding plist is gone. This happens on save. As long as I do not save 
>>> everything is there (in memory). And even when saving as long as I don't 
>>> close Entity Modeler things continue to work. Thus possibly an intermediate 
>>> save action already corrupts the model on disk.
>>> 
>>> Are these bugs in WOLips? Or in Eclipse? 
>>> Thanks for any ideas and maybe tips for workarounds
>>> 
>>> ---markus---
>>> 
>>> 
>>> ___
>>> 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/hugi%40karlmenn.is
>>> 
>>> This email sent to h...@karlmenn.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:
>> https://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com
>> 
>> This email sent to rpar...@mac.com

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

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


Re: File update issues with Eclipse

2017-12-08 Thread Ricardo Parada
Hi Markus,

I’ve seen the problem you have described when editing WO components. I don’t 
know what causes it. When it tells me that the file has changed and whether I 
want to reload it I usually just say no because I know I have not changed the 
file from underneath Eclipse.  

Ricardo Parada


> On Dec 8, 2017, at 6:29 PM, Hugi Thordarson  wrote:
> 
> Hi Markus,
> no real help here, just adding some info: I've noticed this happening in 
> another app recently (TextWrangler). But I'm running on High Sierra and 
> thought it was related to changes in file APIs there.
> 
> Haven't noticed this in Eclipse though. Do you have "Refresh using native 
> hooks or polling" on in your Workspace preferences? I found that to help with 
> similar problems in the past.
> 
> - hugi
> 
> 
> 
>> On 8 Dec 2017, at 12:09, Markus Ruggiero  wrote:
>> 
>> I am having a really bad time with Eclipse and WO Editor and Entity Modeler. 
>> (Eclipse 7.71a Oxygen with WOLips 4.7.20170731.3) on macOS Sierra 12.6.
>> 
>> When I edit a WOComponent, switch to the java file, switch back and forth, 
>> very often I get alerted that there are changes on the file system and 
>> whether I want to reload from disk or (in the case of trying to save) 
>> overwrite what has changed on disk. Anyone seen this, too? Is there a way to 
>> switch that off (whatever "that" is)? I am often thorougly confused and do 
>> never exactly know which button to press. Depending on the context (reload 
>> from disk or overwrite disk) I need to pick one or the other option.
>> 
>> I have experienced maybe related effects in Entity Modeler. Sometimes it 
>> gets confused by edits, particularly when renaming entities, and corrupts 
>> the model. The entity is still listed in index.eomodel but the corresponding 
>> plist is gone. This happens on save. As long as I do not save everything is 
>> there (in memory). And even when saving as long as I don't close Entity 
>> Modeler things continue to work. Thus possibly an intermediate save action 
>> already corrupts the model on disk.
>> 
>> Are these bugs in WOLips? Or in Eclipse? 
>> Thanks for any ideas and maybe tips for workarounds
>> 
>> ---markus---
>> 
>> 
>> ___
>> 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/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.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:
> https://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com
> 
> This email sent to rpar...@mac.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: File update issues with Eclipse

2017-12-08 Thread Hugi Thordarson
Hi Markus,
no real help here, just adding some info: I've noticed this happening in 
another app recently (TextWrangler). But I'm running on High Sierra and thought 
it was related to changes in file APIs there.

Haven't noticed this in Eclipse though. Do you have "Refresh using native hooks 
or polling" on in your Workspace preferences? I found that to help with similar 
problems in the past.

- hugi



> On 8 Dec 2017, at 12:09, Markus Ruggiero  wrote:
> 
> I am having a really bad time with Eclipse and WO Editor and Entity Modeler. 
> (Eclipse 7.71a Oxygen with WOLips 4.7.20170731.3) on macOS Sierra 12.6.
> 
> When I edit a WOComponent, switch to the java file, switch back and forth, 
> very often I get alerted that there are changes on the file system and 
> whether I want to reload from disk or (in the case of trying to save) 
> overwrite what has changed on disk. Anyone seen this, too? Is there a way to 
> switch that off (whatever "that" is)? I am often thorougly confused and do 
> never exactly know which button to press. Depending on the context (reload 
> from disk or overwrite disk) I need to pick one or the other option.
> 
> I have experienced maybe related effects in Entity Modeler. Sometimes it gets 
> confused by edits, particularly when renaming entities, and corrupts the 
> model. The entity is still listed in index.eomodel but the corresponding 
> plist is gone. This happens on save. As long as I do not save everything is 
> there (in memory). And even when saving as long as I don't close Entity 
> Modeler things continue to work. Thus possibly an intermediate save action 
> already corrupts the model on disk.
> 
> Are these bugs in WOLips? Or in Eclipse? 
> Thanks for any ideas and maybe tips for workarounds
> 
> ---markus---
> 
> 
> ___
> 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/hugi%40karlmenn.is
> 
> This email sent to h...@karlmenn.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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