This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pen.define(['cdf/Base', | |
| 'cdf/underscore', | |
| 'cdf/backbone', | |
| 'cdf/mustache', | |
| 'cdf/lib/shims', | |
| 'cdf/Dashboards', | |
| 'cdf/jquery.ui', | |
| 'cdf/jquery-impromptu.3.1', | |
| 'cdf/jquery-ui-datepicker-i18n', | |
| 'cdf/jquery.bgiframe', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java.lang.RuntimeException: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading plugin class 'org.pentaho.platform.web.servlet.PentahoDataSourceResolver' | |
| at com.pentaho.analyzer.service.impl.AgileBIOlapConnectionManager.createConnection(AgileBIOlapConnectionManager.java:85) | |
| ... | |
| Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading plugin class 'org.pentaho.platform.web.servlet.PentahoDataSourceResolver' | |
| at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:922) | |
| at mondrian.olap.Util.newInternal(Util.java:2264) | |
| at mondrian.rolap.RolapConnection.getDataSourceResolver(RolapConnection.java:481) | |
| at mondrian.rolap.RolapConnection.createDataSource(RolapConnection.java:427) | |
| at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:135) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * This program is free software; you can redistribute it and/or modify it under the | |
| * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software | |
| * Foundation. | |
| * | |
| * You should have received a copy of the GNU Lesser General Public License along with this | |
| * program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html | |
| * or from the Free Software Foundation, Inc., | |
| * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ROOT_DIR=$(git rev-parse --show-toplevel) | |
| Err=0 | |
| for file in $(git diff-index --name-only --diff-filter=ACM --cached HEAD -- | grep -p '\.java$'); do | |
| if ${ROOT_DIR}/bin/checkFile.sh $file 2>&1 | grep '.*' ; then | |
| Err=1 | |
| fi | |
| done | |
| exit ${Err} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.pentaho.experimental; | |
| import org.pentaho.platform.api.engine.IPentahoSession; | |
| import org.pentaho.platform.api.usersettings.IUserSettingService; | |
| import org.pentaho.platform.api.usersettings.pojo.IUserSetting; | |
| import org.pentaho.platform.repository.usersettings.pojo.UserSetting; | |
| import java.util.ArrayList; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface IURLHandler{ | |
| void openUrl(String url); | |
| } | |
| Create two implementations one for GWT and one for SWT | |
| public class MainController { | |
| public MainController(IURLHandler urlHandler){ | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xml: function(xhr){ | |
| // summary: A contentHandler returning an XML Document parsed from the response data | |
| var result = xhr.responseXML; | |
| //>>excludeStart("webkitMobile", kwArgs.webkitMobile); | |
| if(_d.isIE && (!result || !result.documentElement)){ | |
| //WARNING: this branch used by the xml handling in dojo.io.iframe, | |
| //so be sure to test dojo.io.iframe if making changes below. | |
| var ms = function(n){ return "MSXML" + n + ".DOMDocument"; }; | |
| var dp = ["Microsoft.XMLDOM", ms(6), ms(4), ms(3), ms(2)]; | |
| _d.some(dp, function(p){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.sun.btrace.AnyType; | |
| import com.sun.btrace.aggregation.Aggregation; | |
| import com.sun.btrace.aggregation.AggregationFunction; | |
| import com.sun.btrace.aggregation.AggregationKey; | |
| import com.sun.btrace.annotations.*; | |
| import static com.sun.btrace.BTraceUtils.*; | |
| import java.util.Map; | |
| import java.util.concurrent.atomic.AtomicInteger; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <target name="dev-update" | |
| description="Copy changed artifacts into Tomcat instance." | |
| depends="install-antcontrib"> | |
| <for list="${dev-project.list}" param="module" trim="true"> | |
| <sequential> | |
| <ant antfile="build.xml" dir="@{module}" inheritall="false" > | |
| <!-- Why is this not bringing in -sources.jar --> | |
| <target name="resolve" /> | |
| <target name="compile" /> | |
| <target name="publish-local" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <bean id="testPlaceHolder" class="java.lang.String"> | |
| <constructor-arg value="${system.sampledata-datasource.type}"/> | |
| </bean> | |
| <bean id="testPlaceHolder2" class="java.lang.String"> | |
| <constructor-arg value="${test.someProperty}"/> | |
| </bean> |
OlderNewer