diff --git a/.classpath b/.classpath index b834c89..bb67dd4 100644 --- a/.classpath +++ b/.classpath @@ -30,8 +30,8 @@ - + diff --git a/.project b/.project index 3471369..beb22f7 100644 --- a/.project +++ b/.project @@ -25,6 +25,16 @@ + + com.google.gdt.eclipse.core.webAppProjectValidator + + + + + com.google.gwt.eclipse.core.gwtProjectValidator + + + org.eclipse.m2e.core.maven2Builder @@ -38,5 +48,6 @@ org.eclipse.m2e.core.maven2Nature org.eclipse.wst.common.project.facet.core.nature org.eclipse.wst.jsdt.core.jsNature + com.google.gwt.eclipse.core.gwtNature diff --git a/distro/INSTALL b/distro/INSTALL new file mode 100644 index 0000000..139597f --- /dev/null +++ b/distro/INSTALL @@ -0,0 +1,2 @@ + + diff --git a/distro/LICENSE b/distro/LICENSE new file mode 100644 index 0000000..cdb5851 --- /dev/null +++ b/distro/LICENSE @@ -0,0 +1,7 @@ +gCube System - License +------------------------------------------------------------ + +The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl). +The software and documentation is provided by its authors/distributors "as is" and no expressed or +implied warranty is given for its use, quality or fitness for a particular case. + diff --git a/distro/MAINTAINERS b/distro/MAINTAINERS new file mode 100644 index 0000000..680cebb --- /dev/null +++ b/distro/MAINTAINERS @@ -0,0 +1,6 @@ +Mantainers +------- + +* Massimiliano Assante (massimiliano.assante@isti.cnr.it), CNR Pisa, + Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo". + diff --git a/distro/README b/distro/README new file mode 100644 index 0000000..590030a --- /dev/null +++ b/distro/README @@ -0,0 +1,35 @@ +The gCube System - Social Library +------------------------------------------------------------ + +This work is partially funded by the European Commission in the +context of the iMarine project (www.i-marine.eu), under the 1st call of FP7 IST priority. + +Authors +------- +Massimiliano Assante +* +Version and Release Date +------------------------ +July 2015 + + +Description +----------- + + +Download information +-------------------- +Source code is available from SVN: +https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgtes + +Binaries can be downloaded from: +http://software.d4science.research-infrastructures.eu/ + +Documentation +------------- +Documentation is available on-line from the Projects Documentation Wiki: + +Licensing +--------- + +This software is licensed under the terms you may find in the file named "LICENSE" in this directory. diff --git a/distro/changelog.xml b/distro/changelog.xml new file mode 100644 index 0000000..259fb14 --- /dev/null +++ b/distro/changelog.xml @@ -0,0 +1,5 @@ + + + First Release + + diff --git a/distro/descriptor.xml b/distro/descriptor.xml new file mode 100644 index 0000000..c468f13 --- /dev/null +++ b/distro/descriptor.xml @@ -0,0 +1,48 @@ + + servicearchive + + tar.gz + + / + + + ${distroDirectory} + / + true + + README + LICENSE + INSTALL + MAINTAINERS + changelog.xml + + 755 + true + + + target/apidocs + /${artifactId}/doc/api + true + 755 + + + + + ${distroDirectory}/profile.xml + ./ + true + + + target/${build.finalName}.jar + /${artifactId} + + + ${distroDirectory}/svnpath.txt + /${artifactId} + true + + + \ No newline at end of file diff --git a/distro/profile.xml b/distro/profile.xml new file mode 100644 index 0000000..255885a --- /dev/null +++ b/distro/profile.xml @@ -0,0 +1,25 @@ + + + + Service + + ${Description} + PortletWidgets + ${artifactId} + ${version} + + + ${artifactId} + ${version} + + ${groupId} + ${artifactId} + ${version} + + + target/${build.finalName}.jar + + + + + diff --git a/distro/svnpath.txt b/distro/svnpath.txt new file mode 100644 index 0000000..edacb04 --- /dev/null +++ b/distro/svnpath.txt @@ -0,0 +1 @@ +${scm.url} \ No newline at end of file diff --git a/pom.xml b/pom.xml index b054090..5e255fb 100644 --- a/pom.xml +++ b/pom.xml @@ -3,13 +3,21 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 + + maven-parent + org.gcube.tools + 1.0.0 + + + + org.gcube.portlets.widgets invite-friends-widget - war - 0.0.1-SNAPSHOT + jar + 1.0.0-SNAPSHOT gCube Invites widget - gCube Session Checker Widget is a GWT Widget that can be used to automatically check if the session expired. + gCube Invites widget Widget is a GWT Widget that can be used to automatically send invites to VRE users scm:svn:http://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/${project.artifactId} @@ -79,11 +87,6 @@ custom-portal-handler provided - - org.gcube.common.portal - portal-manager - provided - org.gcube.applicationsupportlayer aslcore @@ -92,7 +95,7 @@ org.gcube.portal invites-common-library - [0.1.0-SNAPSHOT,) + [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) org.gcube.portal @@ -150,6 +153,7 @@ + InvitesWidget.html org.gcube.portlets.widgets.inviteswidget.InvitesWidget @@ -158,12 +162,6 @@ - - - InvitesWidget.html - ${webappDirectory} - diff --git a/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/InvitesWidget.java b/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/InvitesWidget.java index 015c3d3..28b404b 100644 --- a/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/InvitesWidget.java +++ b/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/InvitesWidget.java @@ -13,6 +13,6 @@ public class InvitesWidget implements EntryPoint { * This is the entry point method. */ public void onModuleLoad() { - RootPanel.get("invite-friends-DIV").add(new InviteWidget()); +// RootPanel.get("invite-friends-DIV").add(new InviteWidget()); } } diff --git a/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/ui/InviteWidget.java b/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/ui/InviteWidget.java index a6c1108..103766e 100644 --- a/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/ui/InviteWidget.java +++ b/src/main/java/org/gcube/portlets/widgets/inviteswidget/client/ui/InviteWidget.java @@ -16,7 +16,7 @@ import com.google.gwt.user.client.ui.Widget; */ public class InviteWidget extends Composite{ - public static final String DISPLAY_NAME = "Invite whoever's missing"; + private static InviteWidgetUiBinder uiBinder = GWT.create(InviteWidgetUiBinder.class); @@ -28,7 +28,6 @@ public class InviteWidget extends Composite{ public InviteWidget() { super(); initWidget(uiBinder.createAndBindUi(this)); - header.setText(DISPLAY_NAME); new FormErrorsValidation().start(validationErrorsFormPanel, null); } diff --git a/src/test/resources/org/gcube/portlets/widgets/inviteswidget/InvitesWidgetJUnit.gwt.xml b/src/test/resources/org/gcube/portlets/widgets/inviteswidget/InvitesWidgetJUnit.gwt.xml deleted file mode 100644 index 8f786a9..0000000 --- a/src/test/resources/org/gcube/portlets/widgets/inviteswidget/InvitesWidgetJUnit.gwt.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - -