I have also experienced corrupt image files when creating new seam-gen projects
in a Linux environment. I'm not sure that this problem occurs within windows.
There are only 3 files that are effected by this problem:
/view/img/cal-next.png
/view/img/cal-prev.png
/view/img/dtpick.gif
So it has not been a big deal to copy the files over manually.
I've done a little research into the problem and I think it is related to the
use of a filterset in the ant copy command on line 602-605 of the seam-gen
build file $SEAM_HOME/seam-gen/build.xml <copy
todir="${project.home}/view">
| <fileset refid="view"/>
| <filterset refid="project"/>
| </copy>
|
The ANT documentation (http://ant.apache.org/manual/CoreTasks/copy.html) says:
anonymous wrote : Note: If you employ filters in your copy operation, you
should limit the copy to text files. Binary files will be corrupted by the copy
operation. This applies whether the filters are implicitly defined by the
filter task or explicitly provided to the copy operation as filtersets. See
encoding note.
Would it be appropriate to post a JIRA issue? I think it can be resolved by
copying the image files within their own copy task (without filters or
filtersets).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065946#4065946
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065946
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user