• 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
build phase question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build phase question


  • Subject: build phase question
  • From: Frank Rimlinger <email@hidden>
  • Date: Mon, 21 Jun 2004 23:12:10 -0400

I have created a "java tool" application using xcode. Now it is being hooked up to some other application via RMI. The trouble is that RMI requires, (or at any rate this particular implementation requires), "stub files." The idea is that some source code file, say X.java, will be compiled to X.class, which will then serve as input to some rmi command which in turn produces something of the form X_stub.class. I thought I could do this by adding a "shell script build phase" to execute the rmi command.

But therein lies the trouble. Much of the *real* build process is not exposed through the xcode gui, at least not in "Groups & Files" under the "Targets" bulls-eye. No matter where I position my new build phase within the exposed sequence, it is in the wrong place. Either it is too early to catch the X.class emitted by the usual java compiler, or it is too late to submit its own X_stub.class output to the jar building phase.

I can round out the whole process with another jar building phase, but this is a truly ugly and time-wasting solution. Alas, you cannot insert or append to a jar file (unlike a tar file, which interestingly enough will append to everything but "quarter-inch tape", whatever that could be.)

Where is the *real* description of the build phases and how can I get at it to edit it? Hopefully it is in some kind of scripting language. The other application was developed with JBuilder, which somehow just intuits what to do. Does Xcode have any ability along these lines?

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


  • Prev by Date: Re: Xcode 1.2 and runtime executable concurrency
  • Next by Date: problem using std::remove
  • Previous by thread: excluding exported symbols from dynamic shared library
  • Next by thread: problem using std::remove
  • Index(es):
    • Date
    • Thread