W
wimxa
Assume I have a project with the following file in it:
/folder1/folder2/folder3/folder4/some_file
Now, assume I am jar-ing that file using <jar> ant task. However,
assume I want this file to be not in /folder1/folder2/folder3/folder4/
in the jar, but somewhere else, e.g.:
/folder10/some_file
i.e. just place it in some other folder in the jar.
Can this be done somehow (without actually moving the file)? One
option is to copy it before it's actually jar-ed, but this is
"hacky" (it is a solution, though) - any other (just of curiosity)? I
tried the mappers, but that didn't work (it says "jar doesn't support
the nested "mapper" element.")
/folder1/folder2/folder3/folder4/some_file
Now, assume I am jar-ing that file using <jar> ant task. However,
assume I want this file to be not in /folder1/folder2/folder3/folder4/
in the jar, but somewhere else, e.g.:
/folder10/some_file
i.e. just place it in some other folder in the jar.
Can this be done somehow (without actually moving the file)? One
option is to copy it before it's actually jar-ed, but this is
"hacky" (it is a solution, though) - any other (just of curiosity)? I
tried the mappers, but that didn't work (it says "jar doesn't support
the nested "mapper" element.")