• 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: "John David N. Dionisio" <email@hidden>
  • Date: Wed, 18 Aug 2004 13:29:20 -0700

After digging around, I've figured out, in my specific instance, why the embedded editor was getting out-of-sync. Unfortunately I do not see a solution --- perhaps someone out there can help?

To recap, I have a Java project that uses an ant external target. If I use the embedded editor in the build window to click on errors/warnings and make changes, then in another separated editor window displaying the source file, the changes made in the embedded editor do not make it to the separated editor.

It turns out that there is nothing "wrong" per se --- the ant file that I was using takes advantage of ant's token replacement feature, and thus it was COPYING the original source to a different directory, replacing certain tokens along the way. It is the COPY of the source file that is displayed by the embedded build editor, because after all, this was the file that was being compiled. Thus, I was actually editing a different file from the one that was open in the source editor!

So, in the end, XCode's behavior turns out to be internally consistent. XCode is literally "just following orders" based on the output of the external target. Since ant serves as an external target, then XCode cannot make any assumptions about how that target works except that it knows how to invoke it to build or clean the project.

The only solution I can see to this is for XCode to be told where the "compile source" would be as opposed to the "true source." Then, when it detects problems by parsing ant in this way, it can map the compile source tree to the true source tree, and display THOSE files instead in the embedded editor. However, I can see how this may snowball into other issues, and in the end, ant integration might not be sufficiently high on Apple's priority list anyway.

With that in mind, then, any suggestions from anyone there for how to address this, or am I just stuck with not using the embedded editor in the build window?

   --- 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.


References: 
 >XCode 1.5 embedded editor inconsistencies (From: "John David N. Dionisio" <email@hidden>)
 >Re: XCode 1.5 embedded editor inconsistencies (From: Christos Zisopoulos <email@hidden>)

  • Prev by Date: Re: Xcode 1.5 - how to select Find results?
  • Next by Date: NSBorderlessWindowMask and Grey Radio Buttons
  • Previous by thread: Re: XCode 1.5 embedded editor inconsistencies
  • Next by thread: -gfull + dead cod stripping
  • Index(es):
    • Date
    • Thread