Category: | Bug report |
Priority: | Normal |
Status: | Closed |
Project: | Severity: | Minor |
Resolution: | Works as Designed |
|
Component: | Reproducibility: | N/A |
Assigned to: |
Sometimes when I try to compile some jrxml file that I already opened before, JasperSoft Studio generate the jrmxl file in a old or JasperSoftWorkspace, instead of beside .jrmxl file. But majority of files is generated correctly.
v6.4.0
4 Comments:
Hi can you register a screencast of the issue and attach a possible error log. Give a look also inside the "Error Log" view in JSS/Eclipse.
Even if the file is a link (i.e you opened and external JRXML) you should see the .jasper (link) file besides your JRXML one. I just tried in my development environment and it works fine.
Please detail any possible special configuration you might have applied to the project (i.e classpath related).
Regards,
Massimo.
here is the screencast https://drive.google.com/file/d/0B84cL-woEqfAQktwVmRJWjQ2YTg/view?usp=sh...
Ok, so I found the possible problem. It is connected to the way Eclipse file system works too.
You probably have the jasper file link in the workspace that is pointing to the old location.
I suppose initially you had your JRXML files in a different location (i.e the one where the jasper gets wrongly generated). After moving your files, you probably deleted the jrxml link in the workspace and later re-opened. But the old .jasper remained pointing to the old location. So when it gets generated since the IFile resource for the .jasper exists it replaces its content, but (real) location in the file system is the old one.
I would suggest you clean your project or get rid of all the .jasper files manually (i.e the one generated wrongly). This should solve the issue. And next time you will compile the new .jasper link resource will point to the correct file system location.
Best regards,
Massimo.
Will not be fixed?