History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3019
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Kudravtsev
Reporter: Robert S. Sfeir
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Use ant war task to create war files in generated ant build

Created: 08 Jan 05 00:03   Updated: 11 Dec 06 21:56
Component/s: Ant Integration, J2EE. Deployment and Run
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: OS X
Issue Links:
Relates
This issue relates to:
IDEABKL-3020 Generated Ant script doesn't run Webl... Normal Open
 

Build: 3,144


 Description  « Hide
<target name="j2ee.build.jar.abminer" description="Build J2EE archive for module 'abminer'">
<dirname property="jar.dir" file="${module.abminer.basedir}/apps/abminer/exploded"/>
<mkdir dir="${jar.dir}"/>
<jar destfile="${abminer.path.jar}" duplicate="preserve">

should be:

<war destfile="${abminer.path.jar}" duplicate="preserve">

Diff is that: "[War is] An extension of the Jar task with special treatment for files that should end up in the WEB-INF/lib, WEB-INF/classes or WEB-INF directories of the Web Application Archive."

also <dirname property="jar.dir" file="${module.abminer.basedir}/apps/abminer/exploded"/> the ${module.abminer.basedir}/apps/abminer/exploded shows up in red, but is the correct location, and in reality the whole <dirname property="jar.dir" file="${module.abminer.basedir}/apps/abminer/exploded"/> <mkdir dir="${jar.dir}"/> is useless and should not be added to the task, instead there should be a dependency from this task (j2ee.build.jar.abminer) to the j2ee.build.exploded.abminer to first generate the structure.

Thanks
R



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 04 Nov 06 18:36
Quote:
----------
also <dirname property="jar.dir" file="${module.abminer.basedir}/apps/abminer/exploded"/> the ${module.abminer.basedir}/apps/abminer/exploded shows up in red
----------
This is issue IDEADEV-3123.