only changed pom version at 0.1.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@178505 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1811945ad5
commit
7b6ef4ddc6
|
@ -15,11 +15,13 @@
|
|||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="test" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="test" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
|
|
11
.project
11
.project
|
@ -40,6 +40,16 @@
|
|||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.gwtplugins.gdt.eclipse.core.webAppProjectValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.gwtplugins.gwt.eclipse.core.gwtProjectValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
|
@ -49,5 +59,6 @@
|
|||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
<nature>com.google.gwt.eclipse.core.gwtNature</nature>
|
||||
<nature>com.gwtplugins.gwt.eclipse.core.gwtNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
eclipse.preferences.version=1
|
||||
lastWarOutDir=/home/francesco-mangiacrapa/eclipse-workspace/performfish-analytics-portlet-TRUNK/target/performfish-analytics-portlet-0.0.1-SNAPSHOT
|
||||
warSrcDir=src/main/webapp
|
||||
warSrcDirIsOutput=false
|
|
@ -5,4 +5,5 @@ org.eclipse.jdt.core.compiler.compliance=1.7
|
|||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||
org.eclipse.jdt.core.compiler.release=disabled
|
||||
org.eclipse.jdt.core.compiler.source=1.7
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="performfish-analytics-portlet">
|
||||
<wb-module deploy-name="performfish-analytics-portlet-0.0.1-SNAPSHOT">
|
||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
<installed facet="jpt.jpa" version="2.0"/>
|
||||
<installed facet="liferay.portlet" version="6.0"/>
|
||||
<installed facet="java" version="1.7"/>
|
||||
<installed facet="com.gwtplugins.gwt.facet" version="1.0"/>
|
||||
</faceted-project>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -11,7 +11,7 @@
|
|||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>performfish-analytics-portlet</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>0.1.0-SNAPSHOT</version>
|
||||
<name>Maven Archetype for GWT</name>
|
||||
|
||||
<scm>
|
||||
|
|
|
@ -127,8 +127,8 @@ public class PerformFishAnalyticsServiceImpl extends RemoteServiceServlet
|
|||
public List<PopulationType> getListPopulationType(String populationName) throws Exception {
|
||||
log.info("Getting PopulationType for populationName: "+populationName);
|
||||
|
||||
if(ContextUtil.isSessionExpired(this.getThreadLocalRequest()))
|
||||
throw new SessionExpired("The session is expired");
|
||||
// if(ContextUtil.isSessionExpired(this.getThreadLocalRequest()))
|
||||
// throw new SessionExpired("The session is expired");
|
||||
|
||||
try{
|
||||
EntityManagerFactory dbFactory = getDBFactory();
|
||||
|
@ -332,7 +332,8 @@ public class PerformFishAnalyticsServiceImpl extends RemoteServiceServlet
|
|||
Map<String, String> inputParameters = initParams.getParameters();
|
||||
|
||||
try{
|
||||
log.info("Decrypting init parameters: "+inputParameters);
|
||||
//PortalContext pContext = PortalContext.getConfiguration().getCurrentUser(this.getThreadLocalRequest());
|
||||
log.info("Decrypting init parameters: "+inputParameters +" user: "+PortalContext.getConfiguration().getCurrentUser(this.getThreadLocalRequest()));
|
||||
Set<String> keyParameters = inputParameters.keySet();
|
||||
PerformFishInitParameter decrypted = new PerformFishInitParameter();
|
||||
|
||||
|
|
|
@ -47,5 +47,9 @@ public class GenericPersistenceDaoBuilder<T extends GenericDao> {
|
|||
private void instance(){
|
||||
this.persistenceEntity = new GenericPersistence<T>(factory, tableName);
|
||||
}
|
||||
|
||||
public GenericPersistence<T> getPersistenceEntity() {
|
||||
return persistenceEntity;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue