Hi Hengsin
Those are precisely my questions, what are the best practices (if those changed with OSGi) to deploy a simple report (I didn´t find it in the wiki or the previous forum topics)..
1 Our current deployment approach (similar to adempiere) we just copied the .jasper file under /reports with the required images on the same folder .. and the jasper URL is: <imageExpression class="java.lang.String"><![CDATA["SmartERP_p.jpg"]]></imageExpression> (is this still a valid approach/deployment scenario) ?
I didn´t fully understand your suggestion: " For attachment, I think it is missing the code to download other resources that you have attached ( should be a straightforward bug to fix though )." could you elaborate it a bit more ? (my resources: report and images are in the same /report folder ... for example what would be the sintaxo for this case: <imageExpression class="java.lang.String"><![CDATA["SmartERP_p.jpg"]]></imageExpression> . {RESOURCE_DIR}.
2. What would be the best approach with OSGi so the jasper reports can get access to those server images ?
If I understood correctly, for the fragment approach, I would have to use something like this ?
Regards.
Pedro Rozo..