[jbosstools-issues] [JBoss JIRA] (JBIDE-15139) Deployment assembly fileset ignores classes on "subpackages"
Rob Stryker (JIRA)
jira-events at lists.jboss.org
Fri Jul 5 12:21:20 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-15139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787941#comment-12787941 ]
Rob Stryker commented on JBIDE-15139:
-------------------------------------
i didnt get a chance to test with the attached example, but I did run through a new test of my own just to see if I could replicate it with a standard use case.
I made pojp with 2 classes, one is foo.Bar, and f.o.o.Bar. So package foo has one class, and package f and f.o have no classes, and f.o.o has one class.
I then enabled project archives and made one archive with destination folder "outputs" and fileset pattern "bin/**"
Preview shows correct / expected results. automatic jar build shows expceted result when unzipped.
I also then renamed the packages to a and a.b.c, to test further. The incremental builder did not remove all empty folders, which is a small bug, but, the new classes were there, and a full build of the archive had the expected results 100%.
238 07-06-2013 00:16 a/Foo.class
246 07-06-2013 00:16 a/b/c/Bar.class
0 07-06-2013 00:16 a/
0 07-06-2013 00:16 a/b/
0 07-06-2013 00:16 a/b/c/
so this seems to be not critical
> Deployment assembly fileset ignores classes on "subpackages"
> ------------------------------------------------------------
>
> Key: JBIDE-15139
> URL: https://issues.jboss.org/browse/JBIDE-15139
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.0.0.Final, 4.1.0.Beta2
> Environment: Linux 3.8.2-pf #15 SMP Sun Apr 7 18:07:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.7.0_21"
> OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1ppa1)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> Eclipse Juno SR2/ Kepler
> Reporter: Renato Garcia
> Fix For: 4.1.0.CR1
>
> Attachments: sample-project.zip
>
>
> The fileset deployment assembly is ignoring classes that are inside packages with empty directories.
> For instance:
> a.Foo -> OK
> a.b.c.Bar -> NOT WORKING!
> If you add a file to a.b directory it will deploy Bar class.
> Attached the sample project that shows the error.
> It works on Helios but not on Juno and Kepler and their respective JBoss tools versions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list