WO develop build works, deploy goes BOOM!
WO develop build works, deploy goes BOOM!
- Subject: WO develop build works, deploy goes BOOM!
- From: Dave Stewart <email@hidden>
- Date: Thu, 4 Nov 2004 15:28:12 -0800
Hi folks!
I've stumbled over this for the last day or so, but can't find the
incantation to make this magic work (and I'm starting to run low on
virgin goats to sacrifice:).
I have a WebObjects project that builds and runs fine in the
development buildstyle, but it just won't build in deployment, either
through the XCode GUI or the command line.
In deployment, the project compiles fine but it trips over the very
first "custom shell script" (namely it's "BPTag004-script.sh" that's
suffering an emotional breakdown). The build log LOOKS like it's
building pieces into the folder "_WOServerTMS.tmp", but then trying to
collect them from the folder "TMS.tmp". When it can't find that it
starts it's bawling ...
The command line invocation I'm using is:
xcodebuild -activetarget -activebuildstyle clean install
DSTROOT=/Users/DWS/projects/tms/deploy
The (hopefully) relevant part of the build log:
/*************************************************
Mkdir
/Users/DWS/Projects/TMS/build/UninstalledProducts/_WOServerTMS.tmp/
Contents/Resources/Java
/bin/mkdir -p
/Users/DWS/Projects/TMS/build/UninstalledProducts/_WOServerTMS.tmp/
Contents/Resources/Java
BuildPhase <LinkWithFrameworksAndLibraries>_WOServerTMS.tmp
echo Completed phase "<LinkWithFrameworksAndLibraries>" for
"<LinkWithFrameworksAndLibraries>_WOServerTMS.tmp"
Completed phase <LinkWithFrameworksAndLibraries> for
<LinkWithFrameworksAndLibraries>_WOServerTMS.tmp
PhaseScriptExecution
<Execution>/Users/DWS/Projects/TMS/build/TMS.build/Application
Server.build/BPTag004-script.sh
echo "=== Script ==="
cat "/Users/DWS/Projects/TMS/build/TMS.build/Application
Server.build/BPTag004-script.sh"
echo "--- Output ---"
"/Users/DWS/Projects/TMS/build/TMS.build/Application
Server.build/BPTag004-script.sh"
_result=$?
echo "=== Exit code: ${_result} ==="
exit ${_result}
=== Script ===
#!/bin/sh
# Copy the requisite files from the Server and Client directories into
the final wrapper directory
. "${BUILD_FILES_DIR}/ComputeTargetClasspath.sh" "NO"
"${SERVER_UNIQUIFIER}"
--- Output ---
Saving build-time classpath...
/Users/DWS/Projects/TMS/build/TMS.build/Application
Server.build/BPTag004-script.sh: line 137:
/Users/DWS/Projects/TMS/build/TMS.tmp/Classpath: No such file or
directory
/Users/DWS/Projects/TMS/build/TMS.build/Application
Server.build/BPTag004-script.sh: line 9:
/Users/DWS/Projects/TMS/build/TMS.tmp/frameworkJars: No such file or
directory
=== Exit code: 1 ===
...failed PhaseScriptExecution
<Execution>/Users/DWS/Projects/TMS/build/TMS.build/Application
Server.build/BPTag004-script.sh ...
** BUILD FAILED **
2004-11-04 12:16:24.711 xcodebuild[19222] Container
<PBXProject:0x0038cac0:rtn=1:013357CCFF5DD5F011CD2B9D:path='(null)'>
still contains 1 items after being deallocated. This might be a
memory leak, or an item not being properly marked as removed from its
container before being deallocated.
*************************************************/
Notice how it's trying to find "Classpath" and "frameworkJars" in the
TMS.tmp folder? But it just built that stuff in the _WOServerTMS.tmp
folder! This just *HAS* to be a setting gone bad somewhere, right? But
where???
(I couldn't help but notice the "memory leak" message at the end, but
David Ewing posted on the list back in March that this was a XCode
cosmetic bug reporting a leak that doesn't exist and it's fixed in a
"future release", presumably 1.5. Bottom line ... not part of the
problem.)
XCode 1.2 - [1]
WebObjects 5.2.3
Java 1.4.2_05-141.3
OS X 10.3.5
[1] - Yeah, I know XCode is now up to 1.5. I haven't been brave enough
to mess up what seemed like a working environment until AFTER I
deployed this project though. Besides, this should "just work" like it
does in Development mode; it's not like I'm trying to do anything that
weird here. I've checked all the settings I could find, but nothing
jumped out and bit off my nose.
TIA for any advice at all to make this thing deploy (even a tip to read
a FAQ that I've missed).
<Martin Prince nearing the end of his first soap box derby run>
Deploy, damn you! DEPLOY!!!
</Martin Prince nearing the end of his first soap box derby run>
Dave Stewart
Aqua~Flo Supply (Goleta CA)
dstewart at aquaflo dot com
There are 10 kinds of people in the world:
Those who understand binary and those who don't.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden