Community
Participate
Working Groups
I have a META-INF directory that is part of my source tree. When I execute a build, the contents of the META-INF directory are correctly placed in the build directory. However, when I choose to export to a JAR file, the META-INF directory is placed in a location relative to the path within my project. For example, my source directory is located at /PROJECT/source/server/java. Under this directory is a "com" directory and the META-INF directory. When exported, the contents of the "com" directory are exported properly, but the path to the META-INF directory in the JAR file is prefixed with source/server/java.
Can't reproduce with current code (HEAD). What I see is - "normal" resource folders are treated correclty i.e. a (resource) folder in your java directory would not contain the source folder path (note: there's an option to add that path anyway). - "META-INF" is completely hidden since it is a special folder Please provide more steps to repoduce (what build id, which exporter do you use, what are the settings you use...).
I'm sorry for not providing the build information. I am using the 20011206 build. Per your email, I did not have a "normal" resource directory. I went ahead and created one and was able to see the results you expected. The resource folder is properly stored in the jar file. You mention the META-INF is a special directory. I agree, but I have created one in my project and included files in it to be a part of a jar file (i.e. ejb- jar.xml). It appears that there is some special handling of the META-INF directory going on, as you said. How can I include files that should be a part of the META-INF directory? The 1.0 stream did not exhibit this behavior. I'm not saying that in order for you to change it back, but I just wanted to let you know that is how we had been using the JAR facility in the previous stream. Thanks!
I have changed the title of the PR. For now there's no way to achieve what you want with the JAR file exporter. I have filed a PR against Java core about hiding META-INF. A possible workaround for you (since you already have the META-INF and hopefully the manifest file(s)) could be to use the Zip exporter: make a full build and then export the bin directory.
I have already tried the ZIP file workaround and it does work. It's just a little more difficult to set it up. However, it will work for now. Thanks!
Moving to REMIND until JCore PR is fixed.
Verified against build 20020122 -> OK
Fixed and verified.
Want to get rid of "REMIND" flag
Need to get rid of REMIND
Fixed
Verified ->20020205. JRT.