Pentaho Report Designer

Working directory must be set for Report Designer to work

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Severe Severe
  • Resolution: Fixed
  • Affects Version/s: Pentaho 1.6.1, Pentaho 1.6.2, 1.7.0.GA, 1.7.1.GA, 2.0.GA
  • Fix Version/s: 3.5.0 (CITRUS)
  • Component/s: Infrastructure
  • QA Validation Status:
    Not Yet Validated
  • Environment:
    GNU/Linux (tested on Fedora and Ubuntu)

Activity

Hide
Marc Batchelor added a comment - 05/Feb/09 1:12 PM
In Windows batch files, you can use %~dp0 to get the path of the executing .batch file (including trailing slash) which can then be used to assemble the classpath or used in a "cd" statement.

In bsh scripts, you use $(dirname $0) to get the same thing (without the trailing slash). Rather than use "cd" though, I prefer that the script use references relative to the executing script and build the classpath appropriately.

Show
Marc Batchelor added a comment - 05/Feb/09 1:12 PM In Windows batch files, you can use %~dp0 to get the path of the executing .batch file (including trailing slash) which can then be used to assemble the classpath or used in a "cd" statement. In bsh scripts, you use $(dirname $0) to get the same thing (without the trailing slash). Rather than use "cd" though, I prefer that the script use references relative to the executing script and build the classpath appropriately.
Marc Batchelor made changes - 05/Feb/09 1:13 PM
Field Original Value New Value
Status Open [ 1 ] Open [ 1 ]
Fix Version/s CITRUS [ 10552 ]
Assignee Triage [ project admin ] David Kincade [ dkincade ]
Jake Cornelius made changes - 11/Feb/09 8:21 AM
Status Open [ 1 ] Open [ 1 ]
Priority Unknown [ 7 ] Severe [ 3 ]
Kurtis Cruzada made changes - 16/Feb/09 10:12 AM
Status Open [ 1 ] Open [ 1 ]
Fix Version/s 1.7.X.Backlog [ 10380 ]
Fix Version/s CITRUS [ 10552 ]
Fix Version/s 2.0.X.Backlog [ 10381 ]
Hide
Sridhar Dhanapalan added a comment - 03/May/09 9:09 PM
This script works much better. I've just added three lines to the top.


#!/bin/sh
BASEDIR=`dirname $0`
cd $BASEDIR
java -XX:MaxPermSize=256m -Dswt.swing.laf=javax.swing.plaf.metal.MetalLookAndFeel -jar launcher/launcher-1.0.0.jar org.pentaho.reportdesigner.crm.report.ReportDialog
Show
Sridhar Dhanapalan added a comment - 03/May/09 9:09 PM This script works much better. I've just added three lines to the top. #!/bin/sh BASEDIR=`dirname $0` cd $BASEDIR java -XX:MaxPermSize=256m -Dswt.swing.laf=javax.swing.plaf.metal.MetalLookAndFeel -jar launcher/launcher-1.0.0.jar org.pentaho.reportdesigner.crm.report.ReportDialog
Kurtis Cruzada made changes - 23/Jun/09 10:02 AM
Fix Version/s 1.7.X.Backlog [ 10380 ]
Gretchen Moran made changes - 04/Aug/09 6:26 PM
Workflow Pentaho Engineering 3.0 Workflow [ 298357 ] Pentaho Engineering 4.0 Workflow [ 365314 ]
Marc Batchelor made changes - 04/Aug/09 8:46 PM
Workflow Pentaho Engineering 4.0 Workflow [ 365314 ] Pentaho Engineering 5.0 Workflow [ 415481 ]
Marc Batchelor made changes - 17/Aug/09 10:19 AM
Workflow Pentaho Engineering 5.0 Workflow [ 415481 ] Pentaho Engineering 6.0 Workflow [ 429628 ]
Marc Batchelor made changes - 06/May/10 6:48 PM
Workflow Pentaho Engineering 6.0 Workflow [ 429628 ] Pentaho Engineering 7.0 Workflow [ 499369 ]
David Kincade made changes - 30/Jul/10 1:00 AM
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 3.0.X.Backlog [ 10381 ]
Fix Version/s 3.5.0 (CITRUS) [ 10552 ]
Resolution Fixed [ 1 ]
Marc Batchelor made changes - 04/Aug/10 10:17 PM
Workflow Pentaho Engineering 7.0 Workflow [ 499369 ] Pentaho Engineering 8.0 Workflow [ 523392 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
Open Open Open Open
16h 43m
1
Marc Batchelor
05/Feb/09 1:13 PM
Open Open Open Open
5d 19h 8m
1
Jake Cornelius
11/Feb/09 8:21 AM
Open Open Open Open
5d 1h 50m
1
Kurtis Cruzada
16/Feb/09 10:12 AM
Open Open Closed Closed
528d 13h 48m
1
David Kincade
30/Jul/10 1:00 AM

People

Dates

  • Created:
    04/Feb/09 8:29 PM
    Updated:
    30/Jul/10 1:00 AM
    Resolved:
    30/Jul/10 1:00 AM