Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Not Found errors #6775

Closed
cyberduck opened this issue Jul 23, 2012 · 12 comments
Closed

Resource Not Found errors #6775

cyberduck opened this issue Jul 23, 2012 · 12 comments

Comments

@cyberduck
Copy link
Collaborator

56b0381 created the issue

I Installed the latest JDK from Oracle's web site for Mac OSX Lion 10.7.4. I was able to finally compile the app. I'm now getting the following errors when trying to launch CyberDuck.app

Resource not found for: core.jar
Resource not found for: ui.jar
Resource not found for: cocoa.jar
Resource not found for: log4j-1.2.15.jar
Resource not found for: icu4j-module-4.4.1.1.jar
Resource not found for: jdom-1.1.jar
Resource not found for: jakarta-oro-2.0.8.jar
Resource not found for: commons-net-ftp-3.0.1.jar
Resource not found for: commons-collections-3.2.1.jar
Resource not found for: commons-logging-1.1.1.jar
Resource not found for: commons-codec-1.4.jar
Resource not found for: jets3t-0.8.2.jar
Resource not found for: cloudfiles-1.9.1.jar
Resource not found for: commons-lang-2.4.jar
Resource not found for: commons-io-2.0.1.jar
Resource not found for: java-xmlbuilder-0.4.jar
Resource not found for: jna-3.3.0.jar
Resource not found for: asm-3.3.1.jar
Resource not found for: cglib-2.2.jar
Resource not found for: slf4j-log4j12-1.6.1.jar
Resource not found for: slf4j-api-1.6.1.jar
Resource not found for: jul-to-slf4j-1.6.1.jar
Resource not found for: dns_sd.jar
Resource not found for: backport-util-concurrent-3.1.jar
Resource not found for: gdata-core-1.0.jar
Resource not found for: gdata-client-1.0.jar
Resource not found for: gdata-client-meta-1.0.jar
Resource not found for: gdata-media-1.0.jar
Resource not found for: gdata-docs-3.0.jar
Resource not found for: gdata-docs-meta-3.0.jar
Resource not found for: gdata-spreadsheet-3.0.jar
Resource not found for: gdata-spreadsheet-meta-3.0.jar
Resource not found for: google-collect-1.0.jar
Resource not found for: mail-1.4.3.jar
Resource not found for: activation-1.1.1.jar
Resource not found for: httpcore-4.1.3.jar
Resource not found for: httpclient-4.1.2.jar
Resource not found for: httpmime-4.1.2.jar
Resource not found for: dom4j-1.6.1.jar
Resource not found for: jaxen-1.1.1.jar
Resource not found for: signpost-core-1.2.1.1.jar
Resource not found for: signpost-commonshttp4-1.2.1.1.jar
Resource not found for: json-simple-1.1.jar
Resource not found for: apache-mime4j-0.6.jar
Resource not found for: bcprov-jdk15-145.jar
Resource not found for: bcmail-jdk15-145.jar
Resource not found for: sardine-321.jar
Resource not found for: jaxb-api-2.2.2.jar
Resource not found for: jaxb-impl-2.2.2.jar
Resource not found for: stax-api-1.0-2.jar
Resource not found for: ganymed-ssh-2-260.jar
Resource not found for: azure-8.jar
Resource not found for: jackson-core-asl-1.9.2.jar
Resource not found for: jackson-mapper-asl-1.9.2.jar
Exception in thread "main" java.lang.NoClassDefFoundError: ch/cyberduck/ui/cocoa/MainApplication
Caused by: java.lang.ClassNotFoundException: ch.cyberduck.ui.cocoa.MainApplication
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Any assistance would be appreciated. Thank you in advance for your time and consideration.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Make sure to build the application with ant.

@cyberduck
Copy link
Collaborator Author

56b0381 commented

I have ant installed. I'm using XCODE 4 per the instructions. Please explain your comment. Thank you.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:2 david33409]:

I have ant installed. I'm using XCODE 4 per the instructions. Please explain your comment. Thank you.

Which instructions do you follow? Type ant in a Terminal.app window to build.

@cyberduck
Copy link
Collaborator Author

56b0381 commented

Instructions from the read me file. I was under the impression that ant was only used for Windows. I see now it is for both but Windows has an extra step. What is XCODE for if ant is used? Just curious? Is it just to get the files/libraries installed? I ask because that is the environment I typically use for debugging.

@cyberduck
Copy link
Collaborator Author

56b0381 commented

Now I'm getting the error

[BEROR]error: There is no SDK with the name or path '/Volumes/Data Drive/Dev/Apple/CyberDuck/4.2.1/macosx10.5'

@cyberduck
Copy link
Collaborator Author

56b0381 commented

FYI I'm using XCODE 4.3.3 and I have OSX 10.7.4 installed.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:6 david33409]:

FYI I'm using XCODE 4.3.3 and I have OSX 10.7.4 installed.

Either change the SDK used in the project to what is available on your system or copy the 10.5 and 10.6 SDKs from an older installation and symlink to the current platform environment with

ln -s /Developer/SDKs/MacOSX10.5.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

@cyberduck
Copy link
Collaborator Author

56b0381 commented

I've already changed the Cyberduck.xcodeproj to use the latest (10.7) SDK. Everything builds but the app won't run as I've indicated in previous posts. Is there some other place it needs to be changed. I didn't find it in the build-mac.xml. I also performed a search for "10.5" and wasn't able to locate it in any "project" file.

Thank you for your assistance.

@cyberduck
Copy link
Collaborator Author

56b0381 commented

OK I see it was in the libPrime project settings but it doesn't show up in a search of my file system for some reason.

@cyberduck
Copy link
Collaborator Author

56b0381 commented

If I use ant to build CyberDuck and create the app, how does one 'debug' and enhancements they would like to make via XCODE? I'm interested in providing a few enhancements to CyberDuck and I'd like to create a prototype first to see if it is possible. Since I'm not familiar with ant I was hoping you might be able to explain how I can use XCODE to build and debug the CyberDuck project. Is it possible?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:10 david33409]:

If I use ant to build CyberDuck and create the app, how does one 'debug' and enhancements they would like to make via XCODE? I'm interested in providing a few enhancements to CyberDuck and I'd like to create a prototype first to see if it is possible. Since I'm not familiar with ant I was hoping you might be able to explain how I can use XCODE to build and debug the CyberDuck project. Is it possible?

The ant script uses xcodebuild to execute the targets in the XCode project to compile the native libraries. For the rest of the project you will be much more productive to use a Java IDE (such as IntelliJ) and debug from there. To debug, copy the Info.plist.debug to build/Release/Cyberduck.app/Contents/Info.plist and connect to Java remote debugger to port 5005.

@cyberduck
Copy link
Collaborator Author

56b0381 commented

Thank you I will try that out. So can I assume there is no way to build and debug via Xcode UI?

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant