partial copy of mobile module resources

I'm a new j2me and Irida user. I've created a project based on Sun's WTK Audiodemo. Along with the src, I've copied both res/icons files and two of the res/audio files. Irida is copying both res/icons files to classes/icons and the JAR, but it's not copying any res/audio files. I can't figure out why.

I've configured res as a source folder as well as a mobile module resources directory (with "create" checked). I've named the absolute path to res/icons/App.png as the icon for the MIDlet-1 property in the Mobile Module Settings. I don't think I've named the other icons file, logo.png, but Irida is copying both files (which is good). I'd like to get Irida to copy the res/audio files too, bark.wav and beethoven.jts. How can I do this? Do I need to use something else, e.g., Ant?

Cheers,
11011011

3 comments
Comment actions Permalink

David,
you have to go to Settings|Compiler and configure Resource Patterns (add
?.wav and ?.jts).

Thanks.

--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"


"David Beutel" <no_mail@jetbrains.com> wrote in message
news:1411494.1121245026844.JavaMail.javamailuser@localhost...

I'm a new j2me and Irida user. I've created a project based on Sun's WTK

Audiodemo. Along with the src, I've copied both res/icons files and two of
the res/audio files. Irida is copying both res/icons files to classes/icons
and the JAR, but it's not copying any res/audio files. I can't figure out
why.
>

I've configured res as a source folder as well as a mobile module

resources directory (with "create" checked). I've named the absolute path
to res/icons/App.png as the icon for the MIDlet-1 property in the Mobile
Module Settings. I don't think I've named the other icons file, logo.png,
but Irida is copying both files (which is good). I'd like to get Irida to
copy the res/audio files too, bark.wav and beethoven.jts. How can I do
this? Do I need to use something else, e.g., Ant?
>

Cheers,
11011011



0
Comment actions Permalink

That worked! Thanks!

0
Comment actions Permalink

Any way to add a broader pattern? Usually I want to copy everything but java sources. It would be nice to have this as the default too -- users wouldn't be frustrated by not seeing their resources copied.

0

Please sign in to leave a comment.