diff --git a/ui/WEB-INF/web.xml b/ui/WEB-INF/web.xml index 4d20c31c3d59..d66a757a9c76 100644 --- a/ui/WEB-INF/web.xml +++ b/ui/WEB-INF/web.xml @@ -22,4 +22,13 @@ rwtServlet + + + welcome + /docs/English/welcome/index.html + + + welcome + /docs/English/welcome/index.html + diff --git a/ui/build.xml b/ui/build.xml index 4a4e3c2fa8d9..fc4a91c10a09 100644 --- a/ui/build.xml +++ b/ui/build.xml @@ -78,6 +78,7 @@ + diff --git a/ui/ivy.xml b/ui/ivy.xml index 39a9c052066e..908abedbf2d4 100644 --- a/ui/ivy.xml +++ b/ui/ivy.xml @@ -213,6 +213,9 @@ + + + diff --git a/ui/src/org/pentaho/di/ui/spoon/Spoon.java b/ui/src/org/pentaho/di/ui/spoon/Spoon.java index a7a226b1861b..f2e7439df227 100644 --- a/ui/src/org/pentaho/di/ui/spoon/Spoon.java +++ b/ui/src/org/pentaho/di/ui/spoon/Spoon.java @@ -1673,7 +1673,6 @@ public void copyJob() { } public void showWelcomePage() { - try { LocationListener listener = new LocationListener() { public void changing( LocationEvent event ) { if ( event.location.endsWith( ".pdf" ) ) { @@ -1703,22 +1702,7 @@ public void changed( LocationEvent event ) { } }; - // see if we are in webstart mode - String webstartRoot = System.getProperty( "spoon.webstartroot" ); - if ( webstartRoot != null ) { - URL url = new URL( webstartRoot + '/' + FILE_WELCOME_PAGE ); - addSpoonBrowser( STRING_WELCOME_TAB_NAME, url.toString(), listener ); // ./docs/English/tips/index.htm - } else { - // see if we can find the welcome file on the file system - File file = new File( FILE_WELCOME_PAGE ); - if ( file.exists() ) { - // ./docs/English/tips/index.htm - addSpoonBrowser( STRING_WELCOME_TAB_NAME, file.toURI().toURL().toString(), listener ); - } - } - } catch ( MalformedURLException e1 ) { - log.logError( Const.getStackTracker( e1 ) ); - } + addSpoonBrowser( STRING_WELCOME_TAB_NAME, FILE_WELCOME_PAGE, listener ); // ./docs/English/tips/index.htm } public void showDocumentMap() {