Skip to main content

Posts

Showing posts with the label build

Where is set the active build configuration in Xcode 4

I have 3 configurations in my project (Debug, Distribution_AdHoc and Distribution_AppStore). In Xcode 3 we had a list to choose device, version, configuration and target before build and run. Now with Xcode 4 we only have the device kind and version in this list. This bring my two questions: So where is defined the configuration used ? Is that the configuration defined in "Project > Info > Command-line builds use: Debug" ? And now the "Project" menu is replaced by "Product" So where can we create (or duplicate and edit) a Configuration ? Thank you.

Shared library for two projects

I'm running two webapps (based on Spring, JPA and JSF) on the same tomcat server. Now my WARs beginning to get big in size which I would like to change. For development I'm using the embedded jetty/tomcat plugin - maybe this is interesting. What I want to achieve is: Creating a jar which holds the classes which are needed for both projects, e.g. Spring, Hibernate and MySQL - I want to build those as a seperate JAR and deploy this on the server. My next thought was to provide this bundle to my projects as dependency with provided scope. That would shrink my WAR files. Can I achieve this on a really simple way? It would be great if I could use the embedded jetty/tomcat server for development.