Possible to get compiled files of other reports?

0

Ok, title is not nearly telling what I really want to do.

I'd love to know if there is a possibility to create new projects, add a specific other project into the build path (possible so far and known to me), use a specific subreport of that other project (possible as well, I know) and once I hit build having not only one jrxml-file and one jasper-file, but one jrxml-file and two jasper-files in my project folder? The one jrxml being the file I just created for the project and the two jasper-files being the jasper-file matching the jrxml-file and the one matching the included subreport from another project.

Is this in any way possible? When I design reports I need the compiled jasper-files and put them inside an archive. So far no problem as long as it's just me working on those, but soon other employees will work on other projects but there will be subreports used in many of those projects, required in the archives every single time. And because I want it to be as easy as possible for them I need a way to get all used reports and subreports into the project folder no matter if the jrxml-file is in that specific project or inside an included one. Can I do something like this?

MiditecReportDev's picture
Joined: Mar 6 2016 - 11:42pm
Last seen: 2 years 5 months ago

4 Answers:

0

Why not just create subreports beforehand and just select to use existing reports in your subreport component.

hozawa's picture
70007
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 8 months ago
0

Because

a) I'm doing that and other employees will be doing so soon too.

and

b) That does not solve the problem at all. When compiling the files stay in their respective folders and don't get (as far as I can see) compiled in the folder of the project they get used in, which would be what we need.

It seems you didn't read quite through my question, as I already have stated that I want to know if it somehow is possible to get the compiled files all into the project folder even if some of the subreports are not created inside that specific project but imported from another.

MiditecReportDev's picture
Joined: Mar 6 2016 - 11:42pm
Last seen: 2 years 5 months ago
0

Any idea how to solve this potential problem? Maybe a way to copy the .jasper files directly into the project directory after compiling?

MiditecReportDev's picture
Joined: Mar 6 2016 - 11:42pm
Last seen: 2 years 5 months ago
0
“Long Path Tool” is very helpful for this error !
You can use to solve this problem
miahalum25's picture
Joined: Aug 17 2016 - 1:48am
Last seen: 4 years 6 months ago
Feedback
randomness