[#952] - jrxml from different subdirs of src dir should compile to equivalent subdirs of target dir

Category:
Feature request
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

Ireport should have support for the concept of a source (src) and a output (target, build) directory.

Consider this project structure (follows the maven2 directory conventions):

~/myproject/src/main/jasperreports/be/ggg/a/a1.jrxml
~/myproject/src/main/jasperreports/be/ggg/b/b1.jrxml

Now it compiles the jrxml to a jasper file in the same directory, which is wrong, instead it should compile to:

~/myproject/target/classes/be/ggg/a/a1.jasper
~/myproject/target/classes/be/ggg/b/b1.jasper

Notice that a and b are in a different directory. So it's not possible to fix the output compile directory in ireports, because it differs from report to report.
We 'll have to many report files to put them all in the same directory.

Instead ireports should be able to configure a source and output directory:
source: ~/myproject/src/main/jasperreports
output: ~/myproject/target/classes

ge0ffrey's picture
Joined: Apr 6 2008 - 10:27pm
Last seen: 13 years 6 months ago

1 Comment:

#1

If a1.jrxml uses b1.jrxml as a subreort, it\'s not possible to design both in ireport without having to constantly change the compile dir in the general ireport settings.

Feedback