Project

General

Profile

Actions

Bug #4179

closed

ant jar does not include configs/

Added by Daniel Crawl over 14 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
build system
Target version:
Start date:
06/22/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4179

Description

The jars produced by 'ant jar' do not include any of the files in configs/.

Actions #1

Updated by Jing Tao over 14 years ago

Here is the code from line 106:
dirs.add( module.getTargetClasses() );
dirs.add( module.getSrc() );
dirs.add( module.getResourcesDir() );
//dirs.add( new File(moduleDir, "configs" ));
//dirs.add( new File(moduleDir, "lib") );
//dirs.add( new File(moduleDir, "lib/images") );

we are wondering if we add a new line:
dirs.add( module.getConfigsDir() );

Actions #2

Updated by Matt Jones over 14 years ago

Ptolemy requires configs to be at the root in the common module. In general we want all resources like configs to go in the resources directory. So, it's probably better to make it so that configs can be located in resources (rather than including configs).

Actions #3

Updated by Chad Berkley about 14 years ago

I found another bug (feature maybe?) with the jar task. the resources/configuration directory gets put at the root of the jar. I think it should go under resources still.

Actions #4

Updated by Chad Berkley about 14 years ago

I added the configs/ dir to the jar for the common module only.

Actions #5

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 4179

Actions

Also available in: Atom PDF