rida_10 Posted March 15, 2012 Share Posted March 15, 2012 Hi,if I am using a report that is using a jar file, we can add that jar file to jasper server ,so that we use it , and can be added so it is found in the repository so that if another report need that jar file we can refer to it. my question is that , is there a way in jasper server 4, so that we can get that jar file, (that we have added previoiusly)so that i can know what classes are in that jar file.thank you Link to comment Share on other sites More sharing options...
jcuser Posted March 16, 2012 Share Posted March 16, 2012 Hi,Honestly I haven't try this. But if you are looking for the file, it will be inside database jasperserver table JIRESOURCE.Thanks. Link to comment Share on other sites More sharing options...
tkavanagh Posted March 19, 2012 Share Posted March 19, 2012 I know this is kind of clunky but you can do an "export" out of the jasperserver repository (database where all resources are stored). Go to the buildomatic folder. cd <js-install>/buildomaticTry running: js-export.sh --help (or js-export.bat --help)To make it easy to export resources (for the first time), probably you can just do: ./js-export.sh --everything --output-dir js-catalog-my-exportThis should create a directory: "js-catalog-my-export"Then you can look inside the export xml and .data files to find your jar. You jar will be stored as a .data file. There should be also be an .xml file the same name as your jar. All resources are stored under the "resources" folder Link to comment Share on other sites More sharing options...
rida_10 Posted March 28, 2012 Author Share Posted March 28, 2012 Thanks tkvanagh,i located the jar file in the exported folder, where the jar file is the same,but this time is .data, I renamed the extension from .data to .jar, then i extracted it, using winrar, and get the .class files in my jar file Link to comment Share on other sites More sharing options...
aasselin Posted July 24, 2012 Share Posted July 24, 2012 For anyone else looking, another way is to browse to the jar in the iReport repository navigator, double click on the jar, and on the properties dialog then displayed, select the Resource tab. There you will find an 'Export File' button. Link to comment Share on other sites More sharing options...
rida_1 Posted July 25, 2012 Share Posted July 25, 2012 Hibut which version of jasper reports server you are using?thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now