Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Java でアプリケーションを開発していて、それをアプリ バンドルにまとめましたが、Gui を構築するための xml ファイルに問題があります。アプリバンドル内にxmlファイルを保存したいのですが、それを機能させることができた唯一の方法は、ファイル Application.app/Contents/Resources/Java/Gui.xml に直接アクセスすることです。アプリケーションの名前が変更されると、これは明らかに壊れますが、これは望ましくありません。
アプリの Info.plist で WorkingDirectory プロパティを設定できます。
http://www.blog.jasonederle.com/?p=15