Project

General

Profile

Bug #4179

ant jar does not include configs/

Added by Daniel Crawl almost 10 years ago. Updated over 9 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/.

History

#1 Updated by Jing Tao almost 10 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() );

#2 Updated by Matt Jones over 9 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).

#3 Updated by Chad Berkley over 9 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.

#4 Updated by Chad Berkley over 9 years ago

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

#5 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 4179

Also available in: Atom PDF