Link to home
Start Free TrialLog in
Avatar of CtrlCtrlV
CtrlCtrlV

asked on

Ant question


Hi all,

Im trying to package images to a jar file. Do I need to amend my ant build file?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CtrlCtrlV
CtrlCtrlV

ASKER


So the following "should" be correct:

<fileset dir="${project.home}/com/newpackage/icons" casesensitive="yes">
  <include name="**/*.jpg"/>
</fileset>
Yes

Its not working although.
The icons dir get created, it always did before I added the fileset tag.

Am I missing something?
Maybe there are no jpgs under that directory. If not, you should probably copy them from elsewhere

The jpgs are there. Does it matter where the <fileset> is inserted in build.xml, as long of course that its after a clean is performed?

Got it, thanks for the help

;)
:-)