• 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
Can't get Copy Files Build Phase to work.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't get Copy Files Build Phase to work.


  • Subject: Can't get Copy Files Build Phase to work.
  • From: Jean-François Brouillet <email@hidden>
  • Date: Sun, 11 Jan 2004 01:48:11 +0100

I'm building a Java project as a single .jar file
that is the core of the application, and numerous
plugins, themselves, .jar files.

I have a target and a product for each of them.

I have a "Build All" container target that builds
everything. When the build is done, my build directory
is a follows:

[iBook:~/Projects/PlugYourOwn/build] verec% la
-rw-r--r--   1 verec  staff  13224 11 Jan 01:26 Dashboard.jar
-rw-r--r--   1 verec  staff   1811 10 Jan 14:41 Portolio.jar
drwxr-xr-x   8 verec  staff    272 10 Jan 14:25 pyo.build
-rw-r--r--   1 verec  staff  13171 11 Jan 01:26 pyo.jar
[iBook:~/Projects/PlugYourOwn/build] verec%

where pyo.jar is the core, and Portfolio.jar and Dashboard.jar
are plugins.

The directory structure I want to end-up with is:

[iBook:PlugYourOwn/stage/PlugYourOwn] verec% la
-rw-r--r--  1 verec  staff  13171 10 Jan 14:27 pyo.jar
[iBook:PlugYourOwn/stage/Plugins] verec% la
-rw-r--r--  1 verec  staff  13224 10 Jan 19:54 Dashboard.jar
-rw-r--r--  1 verec  staff   1811 10 Jan 11:50 Portolio.jar
[iBook:PlugYourOwn/stage/Plugins] verec%

I tried all sorts of New Build Phase Copy Files in all
my three targets so that each of the products (namely:
pyo.jar, Dashboard.jar and Portfolio.jar) would end
up in the proper place in the tree structure.

To no avail. First, it seems that even though my Copy Files
is the last build phase, it seems to be executed first,
which is a problem since after a clean-up the product
to copy from doesn't exist yet, and second, when it does,
(if I build twice in a row, for example) the files are
NOT copied to their target locations.

What am I missing?

Thanks.
--
JFB
_______________________________________________
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: syntax coloring for methods
  • Next by Date: Project with multiple targets problems
  • Previous by thread: syntax coloring for methods
  • Next by thread: Project with multiple targets problems
  • Index(es):
    • Date
    • Thread