qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

Including files from source path in LibraryMojo #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an SWC project with a source path (i.e. /src/main/resources)
2. Place a file in the sources folder 
(i.e. /src/main/resources/myFolder/myFile.txt)
3. In the plugin configuration specify source path as /src/main/resources 
and use the includeFiles option to specify "myFolder/myFile.txt"

What is the expected output? What do you see instead?
The output SWC should have the myFile.txt included in the 
myFolder/myFile.txt directory structure

What version of the product are you using? On what operating system?
2.0M6-SNAPSHOT

Please provide any additional information below.

Currently the plugin attaches files without taking the directory structure 
into account and the attachments are done as single files. I've made a 
sample fix to the library mojo class to additionally support file 
inclusions (respecting the directory structure) if the files are located 
in the classpath. I have tested this change some but a more detailed test 
is probably needed.

Original issue reported on code.google.com by miec...@gmail.com on 8 Sep 2008 at 11:01

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by velo...@gmail.com on 8 Sep 2008 at 12:58