• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode 1.5 embedded editor inconsistencies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 1.5 embedded editor inconsistencies


  • Subject: Re: XCode 1.5 embedded editor inconsistencies
  • From: Christos Zisopoulos <email@hidden>
  • Date: Wed, 18 Aug 2004 10:45:52 +0100

John,

I've encountered a similar behavior when using the J2EE Webmodule project template, but I think it has nothing to do with the template; it appears to be a problem with XCode editor itself.

The problem is that the editor doesn't detect files modified outside the application (or inside the application but from another window).

In my case, the build tool (ant) externally updated the two files "web.xml" and "jboss-web.xml" in the "WEB-INF(XDocletGenerated)" group in the project list.

The changes were *not* picked up by the embedded editor pane, or any detached editor windows that had the file open. I could happily edit it by hand, save it, and loose the changes the XDoclet ant task made to it.

To an XCode newbie like me, this seemed too big of an oversight to be a bug, so I thought it was my wrong somewhere. But, if people can confirm the problem we should file a bug.

-christos

On 16 Aug 2004, at 19:09, John David N. Dionisio wrote:

Greetings XCode land:

I wanted to check if a behavior I've noticed can be seen by others. The behavior involves potential data loss so if corroborated, it should definitely be filed as a bug.

I've been experimenting with a Java project using ant as an external target. Source files are included through folder references (i.e. folders appear with a blue icon). These are the steps I have taken:

- open a Java source file in a standalone editor window; intentionally leave a compile-time error in it
- try to build; XCode will report the build error (parsed from the ant output)
- in the build window, open the embedded editor pane, and click on the build error; XCode takes you directly to the offending line
- edit that line and save it from the embedded editor in the build window
- building again should work


Now here is the rub: the separate editor window does NOT get updated with the changes in the build window. The ultimate side effect being, if I make more edits in the separate editor and save that, the fix from the build window disappears!

This bit me a few times before I realized what was happening. Fortunately it was in a final tuning cycle and the data loss was not too serious.

I wanted to throw this out there to see if others have seen it, and then I can file a bug if it looks like I'm not missing something myself. Thanks for everyone's time!

--- Dondi
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: XCode 1.5 embedded editor inconsistencies
      • From: "John David N. Dionisio" <email@hidden>
    • Re: XCode 1.5 embedded editor inconsistencies
      • From: Andreas Mayer <email@hidden>
References: 
 >XCode 1.5 embedded editor inconsistencies (From: "John David N. Dionisio" <email@hidden>)

  • Prev by Date: refreshing folder groups
  • Next by Date: Re: Xcode 1.5 - how to select Find results?
  • Previous by thread: XCode 1.5 embedded editor inconsistencies
  • Next by thread: Re: XCode 1.5 embedded editor inconsistencies
  • Index(es):
    • Date
    • Thread