Free Support Forum - aspose.com

Trial Version working in Eclipse but not in batch or script file

I created an application in Eclipse that retrieves rows from database and save each rows in an excel (xlsx) file. This is working perfectly in eclipse but in a batch or shell script file in UNIX, it doesn't populate the excel file. The excel file is created but that's just it.

I checked on the log and the save method of Workbook class is executed then the LightCellsDataProvider is instantiated (shows the log from the constructor) but the "nextRow" method's log is not shown afterwards.

Is this because of the trial copy I have that the LightCellsDataProvider implementation class is not working?

Thanks in advance for the help.

Jonathan

Hi,


Please create a simple JAVA program (runnable) and attach / paste it here with all the files, we will check your issue soon.

Also, you may see the document for reference on how to use LightCells APIs:
http://www.aspose.com/docs/display/cellsjava/Using+LightCells+API

Thank you.

I got it working.

I compared the jar files from the demo with the one I made and found I was missing jar files there.

Thanks,

Jonathan

Hi,


Good to know that you have sorted out your issue now.

Feel free to contact us any time if you have further query or have any other issue, we will be happy to assist you soon.

Thank you