Configurable instance profile directory
Closed this issue · 9 comments
GoogleCodeExporter commented
Currently jodconverter uses java.io.tmpdir as directory for user installation
directories. I don't know who's to blame but either Windows or OpenOffice does
a sub optimal job when the directory structure is to large (i.e. a directory
including the file:/// protocol definition that is larger than 104 characters
will result in a failing instance creation)
The only configurable position right now is to properly configure the
java.io.tmpdir - in our case via CATALINA_TMPDIR. Our application however
already provides information about temporary directories and it would be nice
to pass this information on to jodconverter
What steps will reproduce the problem?
1. run soffice.exe
-env:UserInstallation=file:///C:/23456789/123456789/123456789/123456789/12345678
9/123456789/123456789/123456789/123456789/__105
2. OpenOffice 3.2 fails to open (OpenOffice 3.3 fails with longer directory
name)
What is the expected output? What do you see instead?
It would be nice to have a parameter to overwrite the default usage of
java.io.tmpdir.
Original issue reported on code.google.com by herwig.k...@gmail.com
on 9 Dec 2010 at 2:41
GoogleCodeExporter commented
Original comment by mirko.na...@gmail.com
on 12 Mar 2011 at 5:21
- Changed state: Accepted
- Added labels: Type-Enhancement
GoogleCodeExporter commented
Any ideas how you want this implemented? Option to set instanceProfileDir as
File?
Original comment by shervin.asgari@gmail.com
on 22 Mar 2011 at 1:56
GoogleCodeExporter commented
Yes, something like that.
Original comment by mirko.na...@gmail.com
on 22 Mar 2011 at 3:34
GoogleCodeExporter commented
Fixed in branch sigar commit nr 180
Original comment by shervin.asgari@gmail.com
on 23 Mar 2011 at 10:37
- Changed state: Fixed
- Added labels: Priority-Low, Target-3.0-rc-1
GoogleCodeExporter commented
Setting newly-added status "FixedInBranch" to be able to tell what still needs
to be merged into trunk.
Original comment by mirko.na...@gmail.com
on 27 Mar 2011 at 11:13
- Changed state: FixedInBranch
GoogleCodeExporter commented
Original comment by mirko.na...@gmail.com
on 27 Mar 2011 at 1:12
- Added labels: Target-3.0-beta-4
GoogleCodeExporter commented
Change in branch is incorrect - we don't want to make instanceProfileDir
configurable but its parent (tmp) dir.
Original comment by mirko.na...@gmail.com
on 7 May 2011 at 11:06
- Changed state: Started
GoogleCodeExporter commented
Original comment by mirko.na...@gmail.com
on 7 May 2011 at 3:34
- Added labels: Version-3.0-beta-3
GoogleCodeExporter commented
Fixed in r202 - added DefaultOfficeManagerConfiguration.setWorkDir()
Original comment by mirko.na...@gmail.com
on 18 Jun 2011 at 6:31
- Changed state: Fixed