Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_webobjects thread: Build failed after overriding WOApplication exception handlers


Message #1 by "horst ranz" <horstranz@h...> on Tue, 23 Apr 2002 17:17:51 +0200
Hi,

I've been working on a nice little WOApplication for the last weeks and 
finally wanted to customize my error pages by  overriding the WOApplication 
exception handlers as described in
http://developer.apple.com/techpubs/webobjects/WebObjects_5/Topics/ProgrammingTopics.4.html 
.

I kept close touch to the example given there but somewhat simplified the 
code. My method reads:

public WOResponse handleException (java.lang.Throwable anException,  
WOContext aContext) {

return  pageWithName("Reserve1",aContext);

}

where Reserve1 is one of my pages that worked without problems. After 
inserting it into the Application.java class I tried to build and got the 
very helpful message "Build failed" followed by the build log I copied 
below.

When I removed the code that caused the trouble the application still 
couldn't be built, nor when I completely replaced it by a backup copy I had 
made some minutes ago.

I'm using WO5.1 on a MacOS10.1.4 Server.

How can I customize my error pages? How can I at least get back what I 
already had?

Thanks in advance

Horst

___________________________________________________________________________________

/usr/bin/jam -d1 
JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=- 
build ACTION=build "TARGETNAME=Application Server" NATIVE_ARCH=ppc 
BUILD_STYLE=Development 
"CPP_HEADERMAP_FILE=/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/Headermaps/_WO$(SERVER_UNIQUIFIER)MyApp.hmap" DSTROOT=/ 
OBJROOT=/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates 
SRCROOT=/Users/admin/Desktop/MyApp0204231546/MyApp 
SYMROOT=/Users/admin/Desktop/MyApp0204231546/MyApp/build
don't know how to make /Users/admin/Desktop/MyApp1/MyApp/Abbruch.java
don't know how to make /Users/admin/Desktop/MyApp1/MyApp/MyPageMyJob.java
don't know how to make /Users/admin/Desktop/MyApp1/MyApp/DoTheJob.java
don't know how to make /Users/admin/Desktop/MyApp1/MyApp/Reserve1.java
don't know how to make /Users/admin/Desktop/MyApp1/MyApp/Reserve2.java
warning: <_WOServerMyApp>_WOServerMyApp.tmp depends on itself
...updating 64 target(s)...
...can't find 5 target(s)...
...can't make 11 target(s)...
Mkdir 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/JavaClasses
...skipped 
<ClearFileList>/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/JavaFileList for lack of 
/Users/admin/Desktop/MyApp1/MyApp/Abbruch.java...
grep: 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/JavaFileList: No such file or directory
...skipped 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/JavaClasses/DoTheLurk.class for lack of 
/Users/admin/Desktop/MyApp1/MyApp/Abbruch.java...
...skipped 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/JavaClasses/Main.class for lack of 
/Users/admin/Desktop/MyApp1/MyApp/MyPageJob.java...
...skipped <CompileJava>_WOServerMyApp.tmp for lack of 
<ClearFileList>/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/JavaFileList...
...skipped <DeriveAndCompileSources>_WOServerMyApp.tmp for lack of 
<CompileJava>_WOServerMyApp.tmp...
Mkdir 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents
Mkdir 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/WOAfile.icns
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/IchBinDerJobr.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Main.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/BeideSeiten.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/LoadTheLurk.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/DoTheLurk.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/IstDasRichtigSo.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/DoTheJob.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/LoadTheJob.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/MyPageHome.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/MyPageView.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/MyPageJob.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Abbruch.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Erfolg.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/KommNichtRein.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Pech.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Main.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/IstDasRichtigSo.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/IchBinDerJobr.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/LoadTheLurk.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/DoTheLurk.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/DoTheJob.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/LoadTheJob.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/MyPageHome.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/MyPageView.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/MyPageJob.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Abbruch.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Erfolg.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/KommNichtRein.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Pech.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Reserve1.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Reserve1.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Reserve2.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Reserve2.api
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Reserve3.wo
RobustCp.CleanBeforeAndAfter 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Reserve3.api
Cp 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Info.plist
Cp 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/pbdevelopment.plist
Cp 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/PkgInfo
...skipped <CopyResources>_WOServerMyApp.tmp for lack of 
<DeriveAndCompileSources>_WOServerMyApp.tmp...
...skipped <JavaArchiveFiles>_WOServerMyApp.tmp for lack of 
<CopyResources>_WOServerMyApp.tmp...
Mkdir 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/MacOS
Cp 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/MacOS/_WOServerMyApp
Mkdir 
/Users/admin/Desktop/MyApp0204231546/MyApp/build/_WOServerMyApp.tmp/Contents/Resources/Java
...skipped _WOServerMyApp.tmp/Contents/Resources/Java/_WOServerMyApp.jar for 
lack of <CompileJava>_WOServerMyApp.tmp...
...skipped <LinkWithFrameworksAndLibraries>_WOServerMyApp.tmp for lack of 
<JavaArchiveFiles>_WOServerMyApp.tmp...
PhaseScriptExecution 
<Execution>/Users/admin/Desktop/MyApp0204231546/MyApp/build/intermediates/Application 
Server.build/BPTag004-script.sh
=== 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...
=== Exit code: 0 ===
...skipped <Script>_WOServerMyApp.tmp for lack of 
<LinkWithFrameworksAndLibraries>_WOServerMyApp.tmp...
...skipped <_WOServerMyApp>_WOServerMyApp.tmp for lack of 
<DeriveAndCompileSources>_WOServerMyApp.tmp...
...skipped 11 target(s)...
...updated 64 target(s)...

_________________________________________________________________
Testen Sie MSN Messenger für Ihren Online-Chat mit Freunden: 
http://messenger.msn.com


  Return to Index