<attribute name="javadoc_location" value="http://commons.apache.org/codec/api-release/"/>
</attributes>
</classpathentry>
- <classpathentry kind="lib" path="dependencies/gwt-2.1.1/gwt-user.jar" />
+ <classpathentry kind="lib" path="dependencies/gwt-2.1.1/gwt-user.jar"/>
<classpathentry kind="lib" path="dependencies/junit4.8.1/junit-4.8.1.jar"/>
<classpathentry kind="lib" path="dependencies/jboss-5.1.0.GA/lib/concurrent.jar"/>
<classpathentry kind="lib" path="dependencies/jboss-5.1.0.GA/lib/dom4j.jar"/>
<classpathentry kind="lib" path="dependencies/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar"/>
<classpathentry kind="lib" path="dependencies/jboss-5.1.0.GA/common/lib/xnio-api.jar"/>
<classpathentry kind="lib" path="dependencies/gwt-dnd-3.0.1.jar"/>
- <classpathentry kind="lib" path="dependencies/gwt-incubator-20101117-r1766.jar"/>
+ <classpathentry kind="lib" path="/home/chstath/Development/workspace/gss/dependencies/gwt-incubator-20101117-r1766.jar"/>
<classpathentry kind="lib" path="dependencies/gwt-gears-1.3.0/gwt-gears.jar"/>
<classpathentry kind="lib" path="dependencies/gwt-visualization-1.1.0/gwt-visualization.jar"/>
<classpathentry kind="lib" path="dependencies/apache-solr-1.4.1/dist/apache-solr-solrj-1.4.1.jar"/>
<property file="build.properties"/>
<property name="deps.dir" value="dependencies"/>
- <!-- User-editable settings. These are the only settings in this file that
- a user may consider changing. Note that these can also be configured
- through command line parameters (e.g. "ant -Dgwt.workers=2") or a
- build.properties file. -->
- <property name="gwt.workers" value="1" />
- <property name="jboss.home" value="${deps.dir}/jboss-5.1.0.GA" />
- <property name="jboss.args" value="" />
- <property name="solr.root" value="${deps.dir}/apache-solr-1.4.1"/>
- <property name="solr.lib" value="${solr.root}/lib"/>
- <property name="solr.dist" value="${solr.root}/dist"/>
- <property name="solr.home" value="${deps.dir}/apache-solr-1.4.1/example/solr"/>
+ <property name="gwt.workers" value="1"/>
+ <property name="jboss.args" value="-b 0.0.0.0" />
- <!-- Library and runtime dependencies -->
- <property name="jboss.version" value="5.1.0" />
- <property name="jboss.filename" value="jboss-5.1.0.GA-jdk6.zip"/>
+ <property name="jboss.version" value="5.1.0"/>
+ <property name="jboss.home" value="${deps.dir}/jboss-${jboss.version}.GA" />
+ <property name="jboss.bin.dir" value="${jboss.home}/bin" />
+ <property name="jboss.conf.dir" value="${jboss.home}/server/default/conf" />
+ <property name="jboss.deploy.dir" value="${jboss.home}/server/default/deploy" />
+ <property name="jboss.lib.dir" value="${jboss.home}/server/default/lib" />
+ <property name="jboss.root.lib.dir" value="${jboss.home}/lib" />
+ <property name="jboss.common.lib.dir" value="${jboss.home}/common/lib" />
+ <property name="jboss.filename" value="jboss-${jboss.version}.GA-jdk6.zip"/>
<property name="jboss.download.url" value="http://switch.dl.sourceforge.net/project/jboss/JBoss/JBoss-${jboss.version}.GA/${jboss.filename}"/>
+
<property name="solr.version" value="1.4.1" />
- <property name="solr.filename" value="apache-solr-1.4.1.zip"/>
+ <property name="solr.root" value="${deps.dir}/apache-solr-${solr.version}"/>
+ <property name="solr.lib" value="${solr.root}/lib"/>
+ <property name="solr.dist" value="${solr.root}/dist"/>
+ <property name="solr.home" value="${solr.root}/example/solr"/>
+ <property name="solr.conf.dir" value="${solr.home}/conf"/>
+ <property name="solr.filename" value="apache-solr-${solr.version}.zip"/>
<property name="solr.download.url" value="http://apache.ntua.gr/lucene/solr/${solr.version}/${solr.filename}"/>
- <property name="solrj.version" value="1.4.1"/>
- <property name="solrj.jar" value="apache-solr-solrj-${solrj.version}.jar"/>
- <!--
- <property name="gwt.path" value="${deps.dir}/gwt-2.2-M1"/>
- <property name="gwt.filename" value="gwt-2.2-M1.zip"/>
- <property name="gwt.download.url" value="http://google-web-toolkit.googlecode.com/files/gwt-2.2-M1.zip"/>
- -->
-
- <property name="gwt.path" value="${deps.dir}/gwt-2.1.1"/>
- <property name="gwt.filename" value="gwt-2.1.1.zip"/>
- <property name="gwt.download.url" value="http://google-web-toolkit.googlecode.com/files/gwt-2.1.1.zip"/>
-
-
-
- <property name="hornetq.path" value="${deps.dir}/hornetq-2.0.0.GA" />
- <property name="hornetq.filename" value="hornetq-2.0.0.GA.zip/"/>
- <property name="hornetq.download.url" value="http://sourceforge.net/projects/hornetq/files/2.0.0.GA/hornetq-2.0.0.GA.zip/download"/>
- <property name="junit.path" value="${deps.dir}/junit4.8.1"/>
- <property name="junit.filename" value="junit4.8.1.zip"/>
- <property name="junit.download.url" value="http://sourceforge.net/projects/junit/files/junit/4.8.1/junit4.8.1.zip/download"/>
- <property name="gwt-dnd.filename" value="gwt-dnd-3.0.1.jar"/>
- <property name="gwt-dnd.download.url" value="http://gwt-dnd.googlecode.com/files/gwt-dnd-3.0.1.jar"/>
- <property name="gwt-gears.path" value="${deps.dir}/gwt-gears-1.3.0" />
- <property name="gwt-gears.filename" value="gwt-gears-1.3.0.zip"/>
- <property name="gwt-gears.download.url" value="http://gwt-google-apis.googlecode.com/files/gwt-gears-1.3.0.zip"/>
- <property name="gwt-visualization.path" value="${deps.dir}/gwt-visualization-1.1.0" />
- <property name="gwt-visualization.filename" value="gwt-visualization-1.1.0.zip"/>
- <property name="gwt-visualization.download.url" value="http://gwt-google-apis.googlecode.com/files/gwt-visualization-1.1.0.zip"/>
+ <property name="solrj.jar" value="apache-solr-solrj-${solr.version}.jar"/>
+
+ <property name="gwt.version" value="2.1.1"/>
+ <property name="gwt.home" value="${deps.dir}/gwt-${gwt.version}"/>
+ <property name="gwt.filename" value="gwt-${gwt.version}.zip"/>
+ <property name="gwt.download.url" value="http://google-web-toolkit.googlecode.com/files/${gwt.filename}"/>
+
+ <property name="hornetq.version" value="2.0.0"/>
+ <property name="hornetq.home" value="${deps.dir}/hornetq-${hornetq.version}.GA"/>
+ <property name="hornetq.filename" value="hornetq-${hornetq.version}.GA.zip/"/>
+ <property name="hornetq.download.url" value="http://sourceforge.net/projects/hornetq/files/${hornetq.version}.GA/${hornetq.filename}/download"/>
+
+ <property name="junit.version" value="4.8.1"/>
+ <property name="junit.home" value="${deps.dir}/junit${junit.version}"/>
+ <property name="junit.filename" value="junit${junit.version}.zip"/>
+ <property name="junit.download.url" value="http://sourceforge.net/projects/junit/files/junit/${junit.version}/${junit.filename}/download"/>
+
+ <property name="gwt-gears.version" value="1.3.0"/>
+ <property name="gwt-gears.home" value="${deps.dir}/gwt-gears-${gwt-gears.version}" />
+ <property name="gwt-gears.filename" value="gwt-gears-${gwt-gears.version}.zip"/>
+ <property name="gwt-gears.download.url" value="http://gwt-google-apis.googlecode.com/files/${gwt-gears.filename}"/>
+
<property name="gwt-incubator.filename" value="gwt-incubator-20101117-r1766.jar"/>
<property name="gwt-incubator.download.url" value="http://google-web-toolkit-incubator.googlecode.com/files/gwt-incubator-20101117-r1766.jar"/>
+ <property name="gwt-visualization.home" value="${deps.dir}/gwt-visualization-1.1.0" />
+ <property name="gwt-visualization.filename" value="gwt-visualization-1.1.0.zip"/>
+ <property name="gwt-visualization.download.url" value="http://gwt-google-apis.googlecode.com/files/${gwt-visualization.filename}"/>
+
+ <property name="gwtquery.filename" value="gwtquery-1.0.0-20110116.074055-7.jar"/>
+ <property name="gwtquery.download.url" value="http://gss.googlecode.com/hg/lib/${gwtquery.filename}?r=0473a2c1bc32c9426423f8ca3b688a29ce30216b"/>
+ <property name="gwtquery-draggable-plugin.filename" value="draggable-plugin-1.0.2.jar"/>
+ <property name="gwtquery-draggable-plugin.download.url" value="http://gss.googlecode.com/hg/lib/${gwtquery-draggable-plugin.filename}?r=0634eeeeaaad1b9bfb7a8e809bfc9e9545d208e2"/>
+ <property name="gwtquery-droppable-plugin.filename" value="droppable-plugin-1.0.2.jar"/>
+ <property name="gwtquery-droppable-plugin.download.url" value="http://gss.googlecode.com/hg/lib/${gwtquery-droppable-plugin.filename}?r=c8bca56a1c4ab780ac0d0cc72a2b40b60d7ca4f7"/>
+ <property name="gwtquery-commonui-plugin.filename" value="commonui-plugin-1.0.3.jar"/>
+ <property name="gwtquery-commonui-plugin.download.url" value="http://gss.googlecode.com/hg/lib/${gwtquery-commonui-plugin.filename}?r=0473a2c1bc32c9426423f8ca3b688a29ce30216b"/>
+
<property name="selenium-server.filename" value="selenium-server-standalone-2.0b1.jar"/>
- <property name="selenium-server.download.url" value="http://selenium.googlecode.com/files/selenium-server-standalone-2.0b1.jar"/>
-
- <!-- DND SUPPORT -->
- <property name="gquery.filename" value="gwtquery-1.0.0-SNAPSHOT.jar"/>
- <property name="gquery-dnd-bundle.filename" value="gquery-dnd-bundle-1.0.2.jar"/>
- <property name="gquery-dnd-bundle.download.url" value="http://gwtquery-plugins.googlecode.com/files/gquery-dnd-bundle-1.0.2.jar"/>
-
-
- <!-- Source and runtime layout configuration -->
- <property name="jboss_run_configuration" value="default" />
+ <property name="selenium-server.download.url" value="http://selenium.googlecode.com/files/${selenium-server.filename}"/>
+
<property name="root.context" value="gss" />
- <property name="gwt.module" value="gr.ebs.gss.GSS" />
<property name="gwt.module.class" value="GSS" />
- <property name="gwt.admin.module" value="gr.ebs.gss.admin.TwoAdmin" />
+ <property name="gwt.root.package" value="gr.ebs.gss.web" />
+ <property name="gwt.root.path" value="gr/ebs/gss/web" />
+ <property name="gwt.module" value="${gwt.root.package}.${gwt.module.class}" />
<property name="gwt.admin.module.class" value="TwoAdmin" />
+ <property name="gwt.admin.root.package" value="gr.ebs.gss.admin" />
+ <property name="gwt.admin.root.path" value="gr/ebs/gss/admin" />
+ <property name="gwt.admin.module" value="${gwt.admin.root.package}.${gwt.admin.module.class}" />
+
<property name="src.dir" value="${basedir}/src"/>
- <property name="jboss-spec.dir" value="${basedir}/jboss" />
- <property name="jboss-spec.conf.dir" value="${jboss-spec.dir}/conf" />
- <property name="jboss-spec.bin.dir" value="${jboss-spec.dir}/bin" />
- <property name="jboss-spec.deploy.dir" value="${jboss-spec.dir}/deploy" />
- <property name="jboss-spec.lib.dir" value="${jboss-spec.dir}/lib" />
- <property name="jboss.project" value="${basedir}/jboss-config/${jboss.version}" />
- <property name="jboss.bin.dir" value="${jboss.home}/bin" />
- <property name="jboss.conf.dir" value="${jboss.home}/server/${jboss_run_configuration}/conf" />
- <property name="jboss.deploy.dir" value="${jboss.home}/server/${jboss_run_configuration}/deploy" />
- <property name="jboss.run_conf.lib.dir" value="${jboss.home}/server/${jboss_run_configuration}/lib" />
- <property name="jboss.lib.dir" value="${jboss.home}/lib" />
- <property name="jboss.common.lib.dir" value="${jboss.home}/common/lib" />
-
- <property name="solr-spec.dir" value="${basedir}/solr"/>
- <property name="solr-spec.conf.dir" value="${solr-spec.dir}/conf"/>
- <property name="solr.conf.dir" value="${solr.home}/conf"/>
-
+ <property name="jboss-config.dir" value="${basedir}/jboss" />
+ <property name="jboss-config.conf.dir" value="${jboss-config.dir}/conf" />
+ <property name="jboss-config.bin.dir" value="${jboss-config.dir}/bin" />
+ <property name="jboss-config.deploy.dir" value="${jboss-config.dir}/deploy" />
+ <property name="jboss-config.lib.dir" value="${jboss-config.dir}/lib" />
+
+
+ <property name="solr-config.dir" value="${basedir}/solr"/>
+ <property name="solr-config.conf.dir" value="${solr-config.dir}/conf"/>
+
<!-- MBeans -->
<property name="mbeans.dir" value="${basedir}/mbeans"/>
<property name="mbeans.meta-inf.dir" value="${mbeans.dir}/META-INF"/>
<!-- JUnit dirs -->
<property name="test.dir" value="${basedir}/test" />
-
+
<!-- Build dirs -->
- <property name="src.dir" value="${basedir}/src}"/>
- <property name="solr.src.dir" value="${solr-spec.dir}/src"/>
+ <property name="solr.src.dir" value="${solr-config.dir}/src"/>
<property name="build.dir" value="${basedir}/bin" />
<property name="build.classes.dir" value="${build.dir}/classes" />
- <property name="test.build.dir" value="${build.dir}" />
- <property name="test.build.classes.dir" value="${test.build.dir}/" />
- <property name="gwt.www.dir" value="${basedir}/www" />
- <property name="gwt.www.admin.dir" value="${basedir}/wwwadmin" />
+ <property name="test.build.dir" value="${build.dir}/test" />
+ <property name="test.build.classes.dir" value="${test.build.dir}/classes" />
+ <property name="solr.build.dir" value="${build.dir}/solr" />
+ <property name="solr.build.classes.dir" value="${solr.build.dir}/classes" />
+ <property name="gwt.www.dir" value="${build.dir}/www" />
+ <property name="gwt.www.admin.dir" value="${build.dir}/wwwadmin" />
<property name="dist.war" value="${ant.project.name}.war"/>
<property name="dist.admin.war" value="${ant.project.name}-admin.war"/>
<property name="webdav.war" value="webdav.war"/>
<property name="war.lib.dir" value="${war.web-inf.dir}/lib"/>
<property name="war.admin.dir" value="${basedir}/waradmin" />
<property name="war.admin.web-inf.dir" value="${war.dir}/WEB-INF"/>
- <property name="war.admin.lib.dir" value="${war.web-inf.dir}/lib"/>
+ <property name="war.admin.lib.dir" value="${war.admin.web-inf.dir}/lib"/>
<property name="webdav.war.dir" value="${basedir}/webdav" />
<property name="webdav.war.web-inf.dir" value="${webdav.war.dir}/WEB-INF"/>
<property name="webdav.war.lib.dir" value="${webdav.war.web-inf.dir}/lib"/>
+ <property name="webdav.jar" value="webdav.jar"/>
+ <property name="ejbs.jar" value="ejbs.jar"/>
<property name="ear.dir" value="${basedir}/ear" />
<property name="ear.lib.dir" value="${ear.dir}/lib" />
<property name="mbeans.dist.file" value="${ant.project.name}-mbeans.sar"/>
- <property name="lib.dir" value="${basedir}/lib" />
-
+
<!-- set classpath -->
<path id="project.class.path">
- <pathelement path="${java.class.path}/" />
- <!-- DO NOT MOVE THESE JARS BELOW MUST BE FIRST ON CLASSPATH -->
- <pathelement location="${lib.dir}/gwtquery-1.0.0-20110116.074055-7.jar"/>
- <pathelement location="${lib.dir}/droppable-plugin-1.0.2.jar"/>
- <pathelement location="${lib.dir}/draggable-plugin-1.0.2.jar"/>
- <pathelement location="${lib.dir}/commonui-plugin-1.0.3.jar"/>
- <!-- END OF DO NOT MOVE THESE JARS BELOW MUST BE FIRST ON CLASSPATH -->
- <pathelement path="${gwt.path}/gwt-user.jar" />
+ <pathelement location="${gwt.home}/gwt-user.jar"/>
<pathelement location="${jboss.common.lib.dir}/commons-logging.jar"/>
<pathelement location="${jboss.common.lib.dir}/ejb3-persistence.jar"/>
<pathelement location="${jboss.common.lib.dir}/jboss-ejb3-ext-api.jar"/>
<pathelement location="${jboss.common.lib.dir}/jbosssx.jar"/>
<pathelement location="${jboss.common.lib.dir}/hibernate-core.jar"/>
<pathelement location="${jboss.common.lib.dir}/hibernate-annotations.jar"/>
- <pathelement location="${jboss.common.lib.dir}/jboss-remoting.jar"/>
+ <pathelement location="${jboss.common.lib.dir}/jboss-remoting.jar"/>
<pathelement location="${jboss.common.lib.dir}/slf4j-api.jar"/>
- <pathelement location="${jboss.lib.dir}/jboss-j2se.jar"/>
- <pathelement location="${jboss.lib.dir}/jboss-kernel.jar"/>
- <pathelement location="${jboss.lib.dir}/jboss-system-jmx.jar"/>
- <pathelement location="${jboss.lib.dir}/jboss-system.jar"/>
+ <pathelement location="${jboss.root.lib.dir}/jboss-j2se.jar"/>
+ <pathelement location="${jboss.root.lib.dir}/jboss-kernel.jar"/>
+ <pathelement location="${jboss.root.lib.dir}/jboss-system-jmx.jar"/>
+ <pathelement location="${jboss.root.lib.dir}/jboss-system.jar"/>
<pathelement location="${jboss.lib.dir}/jbosssx.jar"/>
<pathelement location="${ear.lib.dir}/commons-codec-1.4.jar"/>
<pathelement location="${ear.lib.dir}/commons-configuration-1.6.jar"/>
- <pathelement location="${war.lib.dir}/commons-fileupload-1.2.jar"/>
<pathelement location="${ear.lib.dir}/commons-httpclient-3.1.jar"/>
<pathelement location="${ear.lib.dir}/commons-lang.jar"/>
<pathelement location="${ear.lib.dir}/ldap.jar"/>
- <pathelement location="${ear.lib.dir}/milton-api-1.5.7-SNAPSHOT.jar"/>
+ <pathelement location="${ear.lib.dir}/milton-api-1.5.7-SNAPSHOT.jar"/>
<pathelement location="${ear.lib.dir}/commons-io-1.1.jar"/>
- <pathelement location="${junit.path}/junit.jar"/>
- <pathelement location="${deps.dir}/${gwt-dnd.filename}"/>
- <pathelement location="${gwt-gears.path}/gwt-gears.jar"/>
- <pathelement location="${deps.dir}/${gwt-incubator.filename}"/>
- <pathelement location="${gwt-visualization.path}/gwt-visualization.jar"/>
+ <pathelement location="${war.lib.dir}/commons-fileupload-1.2.jar"/>
+ <pathelement location="${webdav.war.lib.dir}/milton-servlet-1.5.7-SNAPSHOT.jar"/>
+ <pathelement location="${webdav.war.lib.dir}/milton-console-1.5.7-SNAPSHOT.jar"/>
<pathelement location="${solr.dist}/${solrj.jar}"/>
<pathelement location="${solr.dist}/apache-solr-core-1.4.1.jar"/>
<pathelement location="${solr.lib}/lucene-core-2.9.3.jar"/>
- <pathelement location="${solr.lib}/lucene-analyzers-2.9.3.jar"/>
- <pathelement location="${deps.dir}/${selenium-server.filename}"/>
- <pathelement location="${webdav.war.lib.dir}/milton-servlet-1.5.7-SNAPSHOT.jar"/>
- <pathelement location="${webdav.war.lib.dir}/milton-console-1.5.7-SNAPSHOT.jar"/>
+ <pathelement location="${solr.lib}/lucene-analyzers-2.9.3.jar"/>
+ <pathelement location="${deps.dir}/${selenium-server.filename}"/>
+ <pathelement location="${junit.home}/junit.jar"/>
</path>
- <target name="check-jboss">
- <available file="${jboss.home}" type="dir" property="jboss.home.present"/>
- </target>
+ <target name="check-dependencies" description="Checks if all dependencies are present">
+ <condition property="dependencies.present">
+ <and>
+ <available file="${jboss.home}" type="dir"/>
+ <available file="${hornetq.home}" type="dir"/>
+ <available file="${gwt.home}" type="dir"/>
+ <available file="${gwt-gears.home}" type="dir"/>
+ <available file="${deps.dir}/${gwtquery.filename}"/>
+ <available file="${deps.dir}/${gwtquery-draggable-plugin.filename}"/>
+ <available file="${deps.dir}/${gwtquery-droppable-plugin.filename}"/>
+ <available file="${deps.dir}/${gwtquery-commonui-plugin.filename}"/>
+ <available file="${deps.dir}/${gwt-incubator.filename}"/>
+ <available file="${deps.dir}/${gwt-visualization.filename}"/>
+ <available file="${junit.home}" type="dir"/>
+ <available file="${deps.dir}/${selenium-server.filename}"/>
+ <available file="${solr.root}" type="dir"/>
+ </and>
+ </condition>
+ <echo message="dependencies.present=${dependencies.present}"/>
+ </target>
- <target name="fetch-dependencies" description="Fetch the dpendencies" depends="check-jboss">
+ <target name="fetch-dependencies" unless="dependencies.present" description="Fetch the dpendencies if not present" depends="check-dependencies">
<mkdir dir="${deps.dir}"/>
- <!--
- <get src="${gwt-dnd.download.url}" dest="${deps.dir}/${gwt-dnd.filename}" usetimestamp="true"/>
- <get src="${gwt-gears.download.url}" dest="${deps.dir}/${gwt-gears.filename}" usetimestamp="true"/>
- <get src="${gwt-visualization.download.url}" dest="${deps.dir}/${gwt-visualization.filename}" usetimestamp="true"/>
- <get src="${hornetq.download.url}" dest="${deps.dir}/${hornetq.filename}" usetimestamp="true"/>
<get src="${jboss.download.url}" dest="${deps.dir}/${jboss.filename}" usetimestamp="true"/>
- -->
-
- <get src="${gwt.download.url}" dest="${deps.dir}/${gwt.filename}" usetimestamp="true"/>
-
-
- <get src="${gwt-incubator.download.url}" dest="${deps.dir}/${gwt-incubator.filename}" usetimestamp="true"/>
+ <get src="${hornetq.download.url}" dest="${deps.dir}/${hornetq.filename}" usetimestamp="true"/>
+ <get src="${gwt.download.url}" dest="${deps.dir}/${gwt.filename}" usetimestamp="true"/>
+ <get src="${gwt-gears.download.url}" dest="${deps.dir}/${gwt-gears.filename}" usetimestamp="true"/>
+ <get src="${gwt-incubator.download.url}" dest="${deps.dir}/${gwt-incubator.filename}"/>
+ <get src="${gwt-visualization.download.url}" dest="${deps.dir}/${gwt-visualization.filename}"/>
+ <get src="${gwtquery.download.url}" dest="${deps.dir}/${gwtquery.filename}" usetimestamp="true"/>
+ <get src="${gwtquery-draggable-plugin.download.url}" dest="${deps.dir}/${gwtquery-draggable-plugin.filename}" usetimestamp="true"/>
+ <get src="${gwtquery-droppable-plugin.download.url}" dest="${deps.dir}/${gwtquery-droppable-plugin.filename}" usetimestamp="true"/>
+ <get src="${gwtquery-commonui-plugin.download.url}" dest="${deps.dir}/${gwtquery-commonui-plugin.filename}" usetimestamp="true"/>
<get src="${junit.download.url}" dest="${deps.dir}/${junit.filename}" usetimestamp="true"/>
<get src="${selenium-server.download.url}" dest="${deps.dir}/${selenium-server.filename}" usetimestamp="true"/>
- <unzip src="${deps.dir}/${gwt.filename}" dest="${deps.dir}"/>
- <unzip src="${deps.dir}/${junit.filename}" dest="${deps.dir}"/>
- <!--
- <unzip src="${deps.dir}/${gwt-gears.filename}" dest="${deps.dir}"/>
- <unzip src="${deps.dir}/${gwt-visualization.filename}" dest="${deps.dir}"/>
- <unzip src="${deps.dir}/${hornetq.filename}" dest="${deps.dir}"/>
+ <get src="${solr.download.url}" dest="${deps.dir}/${solr.filename}" usetimestamp="true"/>
<unzip src="${deps.dir}/${jboss.filename}" dest="${jboss.home}/.."/>
- -->
+ <unzip src="${deps.dir}/${hornetq.filename}" dest="${hornetq.home}/.."/>
+ <unzip src="${deps.dir}/${gwt.filename}" dest="${gwt.home}/.."/>
+ <unzip src="${deps.dir}/${gwt-gears.filename}" dest="${gwt-gears.home}/.."/>
+ <unzip src="${deps.dir}/${gwt-visualization.filename}" dest="${gwt-visualization.home}/.."/>
+ <unzip src="${deps.dir}/${junit.filename}" dest="${junit.home}/.."/>
+ <unzip src="${deps.dir}/${solr.filename}" dest="${solr.root}/.."/>
+ </target>
+
+ <target name="compile-solr" depends="fetch-dependencies" description="Compile solr Greek filter">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${solr.build.dir}"/>
+ <mkdir dir="${solr.build.classes.dir}"/>
+ <javac srcdir="${solr.src.dir}" destdir="${solr.build.classes.dir}" debug="on" debuglevel="lines,vars,source" source="1.6" includeantruntime="false">
+ <classpath refid="project.class.path" />
+ </javac>
+ </target>
+
+ <target name="install-solr" depends="fetch-dependencies, compile-solr" description="Installs Greek filter and modifies solr config files">
+ <copy todir="${solr.conf.dir}" overwrite="true" failonerror="false">
+ <fileset dir="${solr-config.conf.dir}" />
+ </copy>
+ <jar destfile="${solr.root}/greektokenfilter.jar">
+ <fileset dir="${solr.build.classes.dir}">
+ <include name="gr/ebs/gss/solr/analysis/GreekLowerCaseFilterFactory.class"/>
+ </fileset>
+ </jar>
</target>
<target name="install" depends="fetch-dependencies, install-solr" description="Installs the configuration files of the application server">
<!-- Install HornetQ configuration -->
- <copy todir="${jboss.run_conf.lib.dir}">
- <fileset dir="${hornetq.path}/lib">
+ <copy todir="${jboss.lib.dir}">
+ <fileset dir="${hornetq.home}/lib">
<include name="hornetq-*.jar"/>
<include name="netty*.jar"/>
</fileset>
<property name="hornetq.sar.dir" value="${jboss.deploy.dir}/hornetq.sar"/>
<mkdir dir="${hornetq.sar.dir}"/>
<copy todir="${hornetq.sar.dir}">
- <fileset dir="${hornetq.path}/config/jboss-as/non-clustered" includes="*" excludes="**/jboss-as-4/**"/>
+ <fileset dir="${hornetq.home}/config/jboss-as/non-clustered" includes="*" excludes="**/jboss-as-4/**"/>
</copy>
- <unzip src="${hornetq.path}/lib/hornetq-ra.rar" dest="${jboss.deploy.dir}/hornetq-ra.rar"/>
+ <unzip src="${hornetq.home}/lib/hornetq-ra.rar" dest="${jboss.deploy.dir}/hornetq-ra.rar"/>
<delete dir="${jboss.deploy.dir}/messaging" failonerror="false"/>
<mkdir dir="${jboss.bin.dir}/META-INF/lib/linux2/x86"/>
- <mkdir dir="${jboss.bin.dir}/META-INF/lib/linux2/x64"/>
- <copy todir="${jboss.bin.dir}/META-INF/lib/linux2/x86" file="${hornetq.path}/bin/libHornetQAIO32.so"/>
- <copy todir="${jboss.bin.dir}/META-INF/lib/linux2/x64" file="${hornetq.path}/bin/libHornetQAIO64.so"/>
+ <copy todir="${jboss.bin.dir}/META-INF/lib/linux2/x86" file="${hornetq.home}/bin/libHornetQAIO32.so"/>
+ <mkdir dir="${jboss.bin.dir}/META-INF/lib/linux2/x64"/>
+ <copy todir="${jboss.bin.dir}/META-INF/lib/linux2/x64" file="${hornetq.home}/bin/libHornetQAIO64.so"/>
+
<!-- Install gss configuration -->
<copy todir="${jboss.bin.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss.project}/bin"/>
- </copy>
- <copy todir="${jboss.bin.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss-spec.bin.dir}" />
- </copy>
- <copy todir="${jboss.conf.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss.project}/conf"/>
+ <fileset dir="${jboss-config.bin.dir}" />
</copy>
<copy todir="${jboss.conf.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss-spec.conf.dir}"/>
- </copy>
- <copy todir="${jboss.run_conf.lib.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss.project}/lib"/>
+ <fileset dir="${jboss-config.conf.dir}"/>
</copy>
- <copy todir="${jboss.run_conf.lib.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss-spec.lib.dir}" />
- </copy>
- <copy todir="${jboss.deploy.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss.project}/deploy"/>
+ <copy todir="${jboss.lib.dir}" overwrite="true" failonerror="false">
+ <fileset dir="${jboss-config.lib.dir}" />
</copy>
<copy todir="${jboss.deploy.dir}" overwrite="true" failonerror="false">
- <fileset dir="${jboss-spec.deploy.dir}" />
+ <fileset dir="${jboss-config.deploy.dir}" />
</copy>
<!-- Make run.sh executable again -->
<chmod file="${jboss.bin.dir}/run.sh" perm="ugo+x"/>
</target>
- <target name="compile" description="Compile src to bin">
- <mkdir dir="${build.dir}" />
- <javac srcdir="${src.dir}:${test.dir}" destdir="${build.dir}" debug="on" debuglevel="lines,vars,source" source="1.6">
+ <target name="compile" description="Compile all sources except gwt client sources" depends="fetch-dependencies">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${build.classes.dir}"/>
+ <javac srcdir="${src.dir}:${test.dir}" destdir="${build.classes.dir}" debug="on" debuglevel="lines,vars,source" source="1.6" includeantruntime="false">
<classpath refid="project.class.path" />
+ <include name="org/json/**"/>
+ <include name="**/server/**"/>
+ <include name="**/common/**"/>
+ <include name="**/mbeans/**"/>
</javac>
</target>
- <target name="package-code" depends="compile" description="Package up the project code as a jar">
+ <target name="package-ejb" depends="compile" description="Package up the EJB classes">
+ <jar destfile="${build.dir}/${ejbs.jar}">
+ <zipfileset dir="${basedir}/persistence" />
+ <zipfileset dir="${build.classes.dir}">
+ <include name="**/configuration/**" />
+ <include name="**/common/**" />
+ <include name="**/domain/**" />
+ <include name="**/ejb/**" />
+ <exclude name="**/*Test.class"/>
+ </zipfileset>
+ </jar>
+ </target>
+
+ <target name="package-code" depends="compile" description="Package up the servlet code of the web client as a jar">
<jar destfile="${build.dir}/${ant.project.name}.jar">
- <fileset dir="bin">
+ <fileset dir="${build.classes.dir}">
<include name="org/json/**" />
- <include name="**/client/AdminService.class" />
- <include name="**/server/**" />
- <exclude name="**/domain/**"/>
- <exclude name="**/ejb/**"/>
+ <include name="**/server/*.class" />
+ <include name="**/server/rest/**" />
</fileset>
- <fileset dir="src">
- <include name="**/*.xml" />
- <include name="**/client/exceptions/**" />
- </fileset>
</jar>
</target>
- <target name="package-webdav" depends="compile" description="Package up the webdav code as a jar">
+ <target name="package-admin-code" depends="compile" description="Package up the admin webapp code as a jar">
+ <jar destfile="${build.dir}/${ant.project.name}-admin.jar">
+ <fileset dir="${build.classes.dir}">
+ <include name="**/client/AdminService.class" />
+ <include name="**/server/*.class" />
+ <include name="**/server/admin/**" />
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="package-webdav-code" depends="compile" description="Package up the webdav code as a jar">
<jar destfile="${build.dir}/webdav.jar">
- <fileset dir="bin">
+ <fileset dir="${build.classes.dir}">
<include name="**/webdav/**" />
</fileset>
</jar>
</target>
- <target name="package-ejb" depends="compile" description="Package up the EJB classes">
- <jar destfile="${build.dir}/ejbs.jar">
- <zipfileset dir="${basedir}/persistence" />
- <zipfileset dir="${build.dir}">
- <include name="**/configuration/**" />
- <include name="**/exceptions/**" />
- <include name="**/domain/**" />
- <include name="**/ejb/**" />
- <exclude name="**/*Test.class"/>
- </zipfileset>
- </jar>
- </target>
-
- <target name="check-gwt-compile" depends="compile">
+ <target name="check-gwt-compile" description="Checks is the web gwt client sources are up-to-date with the compiled artifacts">
<uptodate property="compilation-not-needed">
- <srcfiles dir="${src.dir}" excludes="**/server/**"/>
- <mergemapper to="${build.dir}/www/gr.ebs.gss.GSS.nocache.js"/>
+ <srcfiles dir="${src.dir}">
+ <include name="${gwt.root.path}/**"/>
+ <include name="**/common/exceptions/**"/>
+ </srcfiles>
+ <mergemapper to="${gwt.www.dir}/${gwt.module}/${gwt.module}.nocache.js"/>
</uptodate>
</target>
- <target name="gwt-compile" depends="check-gwt-compile" unless="compilation-not-needed" description="Compile client code to JavaScript">
- <condition property="gwt-dev-lib" value="${gwt.path}/gwt-dev.jar">
- <available file="${gwt.path}/gwt-dev.jar" />
- </condition>
-
+ <target name="gwt-compile" depends="check-gwt-compile, fetch-dependencies" unless="compilation-not-needed" description="Compile the gwt web client code to JavaScript">
<java classname="com.google.gwt.dev.Compiler" failonerror="true" fork="true">
- <!--arg value="-style"/>
- <arg value="DETAILED"/-->
<arg value="-localWorkers" />
<arg value="${gwt.workers}" />
<arg value="-war"/>
<arg value="${gwt.module}"/>
<classpath>
- <pathelement path="${gwt-dev-lib}"/>
- <path refid="project.class.path" />
+ <pathelement path="${gwt.home}/gwt-dev.jar"/>
+ <pathelement location="${deps.dir}/${gwtquery.filename}"/>
+ <pathelement location="${deps.dir}/${gwtquery-droppable-plugin.filename}"/>
+ <pathelement location="${deps.dir}/${gwtquery-draggable-plugin.filename}"/>
+ <pathelement location="${deps.dir}/${gwtquery-commonui-plugin.filename}"/>
+ <pathelement location="${gwt-gears.home}/gwt-gears.jar"/>
+ <pathelement path="${gwt.home}/gwt-user.jar" />
+ <path refid="project.class.path"/>
<pathelement path="${src.dir}" />
</classpath>
</java>
- <mkdir dir="${build.dir}/www"/>
- <copy todir="${build.dir}/www">
- <fileset dir="${gwt.www.dir}/${gwt.module}" excludes="**/${gwt.module.class}.html">
- </fileset>
- </copy>
- <copy file="${gwt.www.dir}/${gwt.module}/${gwt.module.class}.html" tofile="${build.dir}/www/index.html" />
+ <move file="${gwt.www.dir}/${gwt.module}/${gwt.module.class}.html" tofile="${gwt.www.dir}/${gwt.module}/index.html"/>
</target>
- <target name="package-war" depends="gwt-compile, package-code" description="Package up the web part as a war">
- <jar destfile="${build.dir}/${dist.war}">
- <zipfileset dir="${war.dir}" >
- <exclude name="**/classes/**"/>
- </zipfileset>
- <zipfileset dir="${build.dir}/www" />
- <zipfileset dir="${build.dir}" prefix="WEB-INF/lib">
- <include name="${ant.project.name}.jar" />
- </zipfileset>
- </jar>
- </target>
-
- <target name="check-gwt-admin-compile" depends="compile">
- <uptodate property="compilation-not-needed">
- <srcfiles dir="${src.dir}" excludes="**/server/**"/>
- <mergemapper to="${build.dir}/wwwadmin/gr.ebs.gss.admin.TwoAdmin.nocache.js"/>
+ <target name="check-gwt-admin-compile" description="Checks is the admin gwt client sources are up-to-date with the compiled artifacts">
+ <uptodate property="admin-compilation-not-needed">
+ <srcfiles dir="${src.dir}">
+ <include name="${gwt.admin.root.path}/**"/>
+ </srcfiles>
+ <mergemapper to="${gwt.www.admin.dir}/${gwt.admin.module}/${gwt.admin.module}.nocache.js"/>
</uptodate>
</target>
- <target name="gwt-admin-compile" depends="check-gwt-admin-compile" unless="compilation-not-needed" description="Compile client code to JavaScript">
- <condition property="gwt-dev-lib" value="${gwt.path}/gwt-dev.jar">
- <available file="${gwt.path}/gwt-dev.jar" />
- </condition>
-
+ <target name="gwt-admin-compile" depends="check-gwt-admin-compile, fetch-dependencies" unless="admin-compilation-not-needed" description="Compile admin gwt client code to JavaScript">
<java classname="com.google.gwt.dev.Compiler" failonerror="true" fork="true">
<!--arg value="-style"/>
<arg value="DETAILED"/-->
<arg value="-war"/>
<arg value="${gwt.www.admin.dir}"/>
<arg value="${gwt.admin.module}"/>
- <jvmarg value="-Xmx256m"/>
<classpath>
- <pathelement path="${gwt-dev-lib}"/>
+ <pathelement path="${gwt.home}/gwt-dev.jar"/>
+ <pathelement path="${gwt.home}/gwt-user.jar" />
+ <pathelement path="${deps.dir}/${gwt-incubator.filename}"/>
+ <pathelement path="${gwt-visualization.home}/gwt-visualization.jar"/>
<path refid="project.class.path" />
<pathelement path="${src.dir}" />
</classpath>
</java>
- <mkdir dir="${build.dir}/wwwadmin"/>
- <copy todir="${build.dir}/wwwadmin">
- <fileset dir="${gwt.www.admin.dir}/${gwt.admin.module}" excludes="**/${gwt.admin.module.class}.html">
- </fileset>
- </copy>
- <copy file="${gwt.www.admin.dir}/${gwt.admin.module}/${gwt.admin.module.class}.html" tofile="${build.dir}/wwwadmin/index.html" />
+ <move file="${gwt.www.admin.dir}/${gwt.admin.module}/${gwt.admin.module.class}.html" tofile="${gwt.www.admin.dir}/${gwt.admin.module}/index.html"/>
</target>
- <target name="package-admin-war" depends="gwt-admin-compile, package-code" description="Package up the web part as a war">
- <jar destfile="${build.dir}/${dist.admin.war}">
- <zipfileset dir="${war.admin.dir}" >
- <exclude name="**/classes/**"/>
+ <target name="package-war" depends="gwt-compile, package-code" description="Package up the web client as a war">
+ <jar destfile="${build.dir}/${dist.war}">
+ <zipfileset dir="${war.dir}"/>
+ <zipfileset dir="${gwt.www.dir}/${gwt.module}"/>
+ <zipfileset dir="${build.dir}" prefix="WEB-INF/lib">
+ <include name="${ant.project.name}.jar" />
+ </zipfileset>
+ <zipfileset dir="${gwt.home}" prefix="WEB-INF/lib">
+ <include name="gwt-servlet.jar" />
</zipfileset>
- <zipfileset dir="${build.dir}/wwwadmin" />
+ </jar>
+ </target>
+
+ <target name="package-admin-war" depends="gwt-admin-compile, package-admin-code" description="Package up the admin webapp as a war">
+ <jar destfile="${build.dir}/${dist.admin.war}">
+ <zipfileset dir="${war.admin.dir}"/>
+ <zipfileset dir="${gwt.www.admin.dir}/${gwt.admin.module}"/>
<zipfileset dir="${build.dir}" prefix="WEB-INF/lib">
- <include name="${ant.project.name}.jar" />
+ <include name="${ant.project.name}-admin.jar" />
</zipfileset>
- <zipfileset dir="${gwt.path}" prefix="WEB-INF/lib">
+ <zipfileset dir="${gwt.home}" prefix="WEB-INF/lib">
<include name="gwt-servlet.jar" />
</zipfileset>
</jar>
</target>
- <target name="package-webdav-war" depends="package-webdav" description="Package up the WebDAV part as a war">
+ <target name="package-webdav-war" depends="package-webdav-code" description="Package up the WebDAV part as a war">
<jar destfile="${build.dir}/${webdav.war}">
<zipfileset dir="${webdav.war.dir}" />
<zipfileset dir="${build.dir}" prefix="WEB-INF/lib">
- <include name="webdav.jar" />
+ <include name="${webdav.jar}" />
</zipfileset>
</jar>
</target>
- <target name="package-mbeans" depends="compile">
- <jar jarfile="${build.dir}/${mbeans.dist.file}" basedir="${build.dir}">
+ <target name="package-mbeans" depends="compile" description="Package the mbeans as .sar">
+ <jar jarfile="${build.dir}/${mbeans.dist.file}" basedir="${build.classes.dir}">
<include name="**/mbeans/**"/>
<metainf dir="${mbeans.meta-inf.dir}"/>
</jar>
</target>
- <target name="package-ear" depends=" package-war,package-admin-war,package-webdav-war, package-ejb, package-mbeans" description="Package up the project as an ear">
+ <target name="package-ear" depends="package-admin-war, package-war, package-webdav-war, package-ejb, package-mbeans" description="Package up the project as an ear">
<jar destfile="${build.dir}/${dist.ear}">
<zipfileset dir="${ear.dir}" />
<zipfileset dir="${build.dir}" >
- <include name="ejbs.jar" />
+ <include name="${ejbs.jar}" />
<include name="${dist.war}" />
<include name="${webdav.war}" />
- <include name="${dist.admin.war}" />
+ <include name="${dist.admin.war}" />
<include name="${mbeans.dist.file}"/>
</zipfileset>
<zipfileset dir="${solr.dist}" prefix="lib">
</jar>
</target>
- <target name="deploy" depends="package-ear" description="Deploy the project to the server">
+ <target name="deploy" depends="package-ear" description="Deploy the project on the server">
<copy todir="${jboss.deploy.dir}" file="${build.dir}/${dist.ear}"/>
</target>
- <target name="redeploy" depends="package-ear" description="Redeploy the project to the server">
+ <target name="redeploy" depends="package-ear" description="Redeploy the project on the server">
<copy todir="${jboss.deploy.dir}" file="${build.dir}/${dist.ear}" overwrite="yes"/>
</target>
<delete file="${jboss.deploy.dir}/${dist.ear}"/>
</target>
- <target name="clean" description="Delete the contents of the bin and www directories">
+ <target name="clean" description="Delete all build artifacts">
<delete dir="${build.dir}"/>
- <delete dir="${gwt.www.dir}"/>
- <delete dir="${gwt.www.admin.dir}"/>
</target>
- <target name="deinstall"
- description="Delete the contents of the JBoss home directory">
- <delete dir="${jboss.home}"/>
- </target>
-
- <target name="distclean" depends="deinstall, clean"
- description="Delete the contents of the JBoss home directory and all downloaded artifacts">
+ <target name="distclean" depends="clean" description="Delete all downloaded dependencies">
<delete dir="${deps.dir}"/>
</target>
</exec>
</target>
- <target name="check-solr">
- <available file="${solr.root}" type="dir" property="solr.home.present"/>
- </target>
-
- <target name="fetch-solr" unless="solr.home.present" depends="check-solr">
- <get src="${solr.download.url}" dest="${deps.dir}/${solr.filename}" usetimestamp="true"/>
- <unzip src="${deps.dir}/${solr.filename}" dest="${deps.dir}"/>
- </target>
-
- <target name="compile-solr" depends="fetch-solr">
- <mkdir dir="${build.dir}"/>
- <javac srcdir="${solr.src.dir}" destdir="${build.dir}" debug="on" debuglevel="lines,vars,source" source="1.6">
- <classpath refid="project.class.path" />
- </javac>
+ <target name="run-solr" depends="install-solr" description="Starts the solr server">
+ <java jar="${solr.root}/example/start.jar" fork="true" dir="${solr.root}/example"/>
</target>
- <target name="install-solr" depends="fetch-solr, compile-solr">
- <copy todir="${solr.conf.dir}" overwrite="true" failonerror="false">
- <fileset dir="${solr-spec.conf.dir}" />
- </copy>
- <jar destfile="${solr.root}/greektokenfilter.jar">
- <fileset dir="${build.dir}">
- <include name="gr/ebs/gss/solr/analysis/GreekLowerCaseFilterFactory.class"/>
- </fileset>
- </jar>
- </target>
-
- <target name="run-solr" depends="install-solr">
- <java jar="${solr.root}/example/start.jar" fork="true" dir="${solr.root}/example"/>
+ <target name="run-web-dev-mode" depends="deploy" description="Run web client in development mode">
+ <java failonerror="true" fork="true" classname="com.google.gwt.dev.DevMode">
+ <classpath>
+ <pathelement location="${src.dir}"/>
+ <pathelement location="${build.classes.dir}"/>
+ <pathelement path="${gwt.home}/gwt-dev.jar"/>
+ <pathelement location="${deps.dir}/${gwtquery.filename}"/>
+ <pathelement location="${deps.dir}/${gwtquery-droppable-plugin.filename}"/>
+ <pathelement location="${deps.dir}/${gwtquery-draggable-plugin.filename}"/>
+ <pathelement location="${deps.dir}/${gwtquery-commonui-plugin.filename}"/>
+ <pathelement location="${gwt-gears.home}/gwt-gears.jar"/>
+ <pathelement path="${gwt.home}/gwt-user.jar" />
+ <path refid="project.class.path"/>
+ </classpath>
+ <jvmarg value="-Xmx256M"/>
+ <arg value="-noserver"/>
+ <arg value="-war"/>
+ <arg value="${gwt.www.dir}"/>
+ <arg value="-startupUrl"/>
+ <arg value="http://127.0.0.1:8080/pithos"/>
+ <arg value="${gwt.module}"/>
+ </java>
</target>
</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id: log4j.xml 64096 2007-07-17 14:36:23Z stan.silvert@jboss.com $ -->
-
-<!--
- | For more configuration information and examples see the Jakarta Log4j
- | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
- <!-- A time/date based rolling appender -->
- <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/server.log"/>
- <param name="Append" value="true"/>
- <!--
- Set the threshold via a system property. Note this is parsed by log4j,
- so the full JBoss system property format is not supported; e.g.
- setting a default via ${jboss.server.log.threshold:WARN} will not work.
- -->
- <param name="Threshold" value="${jboss.server.log.threshold}"/>
-
- <!-- Rollover at midnight each day -->
- <param name="DatePattern" value="'.'yyyy-MM-dd"/>
-
- <!-- Rollover at the top of each hour
- <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
- -->
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d{DATE} %t %-5p (%x) [%c] %m%n"/>
-
- <!-- The default pattern: Date Priority [Category] (Thread) Message\n
- <param name="ConversionPattern" value="%d{DATE} %-5p [%c] (%t) %m%n"/>
- -->
-
- <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
- <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
- -->
- </layout>
- </appender>
-
- <!-- A size based file rolling appender
- <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/server.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Target" value="System.out"/>
- <param name="Threshold" value="DEBUG"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d{ABSOLUTE} %t %-5p (%x) [%c{1}] %m%n"/>
- <!-- The default pattern: Date Priority [Category] Message\n
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
- -->
- </layout>
- </appender>
-
- <!-- ====================== -->
- <!-- More Appender examples -->
- <!-- ====================== -->
-
- <!-- Buffer events and log them asynchronously
- <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <appender-ref ref="FILE"/>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="SMTP"/>
- </appender>
- -->
-
- <!-- EMail events to an administrator
- <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Threshold" value="ERROR"/>
- <param name="To" value="admin@myhost.domain.com"/>
- <param name="From" value="nobody@myhost.domain.com"/>
- <param name="Subject" value="JBoss Sever Errors"/>
- <param name="SMTPHost" value="localhost"/>
- <param name="BufferSize" value="10"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- Syslog events
- <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Facility" value="LOCAL7"/>
- <param name="FacilityPrinting" value="true"/>
- <param name="SyslogHost" value="localhost"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- Log events to JMS (requires a topic to be created)
- <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Threshold" value="ERROR"/>
- <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
- <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
- </appender>
- -->
-
- <!-- Log events through SNMP
- <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
- <param name="ManagementHost" value="127.0.0.1"/>
- <param name="ManagementHostTrapListenPort" value="162"/>
- <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
- <param name="LocalIPAddress" value="127.0.0.1"/>
- <param name="LocalTrapSendPort" value="161"/>
- <param name="GenericTrapType" value="6"/>
- <param name="SpecificTrapType" value="12345678"/>
- <param name="CommunityString" value="public"/>
- <param name="ForwardStackTraceWithTrap" value="true"/>
- <param name="Threshold" value="DEBUG"/>
- <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- Emit events as JMX notifications
- <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
-
- <param name="Threshold" value="WARN"/>
- <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
- </layout>
- </appender>
- -->
-
- <!-- Security AUDIT Appender
- <appender name="AUDIT" class="org.jboss.logging.appender.DailyRollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/audit.log"/>
- <param name="Append" value="true"/>
- <param name="DatePattern" value="'.'yyyy-MM-dd"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] (%t:%x) %m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <!-- Limit HttpClient classes to info -->
- <category name="httpclient.wire">
- <priority value="INFO"/>
- </category>
-
- <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
- <category name="org.apache">
- <priority value="INFO"/>
- </category>
-
- <!-- Limit JSF logging to DEBUG. FINER and FINEST will not be logged -->
- <category name="javax.enterprise.resource.webcontainer.jsf">
- <priority value="INFO" />
- </category>
-
- <!-- Limit the jacorb category to WARN as its INFO is verbose -->
- <category name="jacorb">
- <priority value="WARN"/>
- </category>
-
- <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
- <category name="org.jgroups">
- <priority value="WARN"/>
- </category>
-
- <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
- <category name="org.quartz">
- <priority value="INFO"/>
- </category>
-
- <!-- Limit JBoss categories -->
- <category name="org.jboss">
- <priority value="INFO"/>
- </category>
-
- <!-- Limit the JSR77 categories -->
- <category name="org.jboss.management">
- <priority value="INFO"/>
- </category>
-
- <category name="com.arjuna">
- <priority value="INFO"/>
- </category>
-
- <category name="org.hibernate">
- <priority value="INFO"/>
- </category>
-
- <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
- <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
- <priority value="TRACE"/>
- </category>
- -->
-
- <!-- Category specifically for Security Audit Provider
- <category name="org.jboss.security.audit.providers.LogAuditProvider" additivity="false">
- <priority value="TRACE"/>
- <appender-ref ref="AUDIT"/>
- </category>
- -->
-
- <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
- <category name="org.jboss.serial">
- <priority value="INFO"/>
- </category>
-
- <!-- Decrease the priority threshold for the org.jboss.varia category
- <category name="org.jboss.varia">
- <priority value="DEBUG"/>
- </category>
- -->
-
- <!-- Enable JBossWS message tracing
- <category name="org.jboss.ws.core.MessageTrace">
- <priority value="TRACE"/>
- </category>
- -->
-
- <!--
- | An example of enabling the custom TRACE level priority that is used
- | by the JBoss internals to diagnose low level details. This example
- | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
- | subpackages. This will produce A LOT of logging output.
- |
- | Note: since jboss AS 4.2.x, the trace level is supported natively by
- | log4j, so although the custom org.jboss.logging.XLevel priority will
- | still work, there is no need to use it. The two examples that follow
- | will both enable trace logging.
- <category name="org.jboss.system">
- <priority value="TRACE" class="org.jboss.logging.XLevel"/>
- </category>
- <category name="org.jboss.ejb.plugins">
- <priority value="TRACE"/>
- </category>
- -->
-
- <!--
- | Logs these events to SNMP:
- - server starts/stops
- - cluster evolution (node death/startup)
- - When an EJB archive is deployed (and associated verified messages)
- - When an EAR archive is deployed
-
- <category name="org.jboss.system.server.Server">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.deployment.MainDeployer">
- <priority value="ERROR" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.ejb.EJBDeployer">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.deployment.EARDeployer">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
- -->
-
- <!-- Clustering logging -->
- <!-- Uncomment the following to redirect the org.jgroups and
- org.jboss.ha categories to a cluster.log file.
-
- <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/cluster.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
- </layout>
- </appender>
- <category name="org.jgroups">
- <priority value="DEBUG" />
- <appender-ref ref="CLUSTER"/>
- </category>
- <category name="org.jboss.ha">
- <priority value="DEBUG" />
- <appender-ref ref="CLUSTER"/>
- </category>
- -->
-
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="FILE"/>
- </root>
-
-</log4j:configuration>
+++ /dev/null
-<?xml version='1.0'?>
-
-<!-- The XML based JAAS login configuration read by the
-org.jboss.security.auth.login.XMLLoginConfig mbean. Add
-an application-policy element for each security domain.
-
-The outline of the application-policy is:
-<application-policy name="security-domain-name">
- <authentication>
- <login-module code="login.module1.class.name" flag="control_flag">
- <module-option name = "option1-name">option1-value</module-option>
- <module-option name = "option2-name">option2-value</module-option>
- ...
- </login-module>
-
- <login-module code="login.module2.class.name" flag="control_flag">
- ...
- </login-module>
- ...
- </authentication>
-</application-policy>
-
-$Id: login-config.xml 76444 2008-07-29 23:50:53Z sguilhen@redhat.com $
-$Revision: 76444 $
--->
-
-<policy>
- <!-- Used by clients within the application server VM such as
- mbeans and servlets that access EJBs.
- -->
- <application-policy name = "client-login">
- <authentication>
- <login-module code = "org.jboss.security.ClientLoginModule"
- flag = "required">
- <!-- Any existing security context will be restored on logout -->
- <module-option name="restore-login-identity">true</module-option>
- </login-module>
- </authentication>
- </application-policy>
-
- <!-- Security domain for JBossMQ -->
- <application-policy name = "jbossmq">
- <authentication>
- <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
- flag = "required">
- <module-option name = "unauthenticatedIdentity">guest</module-option>
- <module-option name = "dsJndiName">java:/DefaultDS</module-option>
- <module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
- <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
- </login-module>
- </authentication>
- </application-policy>
-
- <!-- Security domains for testing new jca framework -->
- <application-policy name = "HsqlDbRealm">
- <authentication>
- <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
- flag = "required">
- <module-option name = "principal">sa</module-option>
- <module-option name = "userName">sa</module-option>
- <module-option name = "password"></module-option>
- <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
- </login-module>
- </authentication>
- </application-policy>
-
- <application-policy name = "JmsXARealm">
- <authentication>
- <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
- flag = "required">
- <module-option name = "principal">guest</module-option>
- <module-option name = "userName">guest</module-option>
- <module-option name = "password">guest</module-option>
- <module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
- </login-module>
- </authentication>
- </application-policy>
-
- <!-- A template configuration for the jmx-console web application. This
- defaults to the UsersRolesLoginModule the same as other and should be
- changed to a stronger authentication mechanism as required.
- -->
- <application-policy name = "jmx-console">
- <authentication>
- <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
- flag = "required">
- <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
- <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
- </login-module>
- </authentication>
- </application-policy>
-
- <!-- A template configuration for the web-console web application. This
- defaults to the UsersRolesLoginModule the same as other and should be
- changed to a stronger authentication mechanism as required.
- -->
- <application-policy name = "web-console">
- <authentication>
- <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
- flag = "required">
- <module-option name="usersProperties">web-console-users.properties</module-option>
- <module-option name="rolesProperties">web-console-roles.properties</module-option>
- </login-module>
- </authentication>
- </application-policy>
-
- <!--
- A template configuration for the JBossWS security domain.
- This defaults to the UsersRolesLoginModule the same as other and should be
- changed to a stronger authentication mechanism as required.
- -->
- <application-policy name="JBossWS">
- <authentication>
- <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
- flag="required">
- <module-option name="usersProperties">props/jbossws-users.properties</module-option>
- <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
- <module-option name="unauthenticatedIdentity">anonymous</module-option>
- </login-module>
- </authentication>
- </application-policy>
-
- <!-- The default login configuration used by any security domain that
- does not have a application-policy entry with a matching name
- -->
- <application-policy name = "other">
- <!-- A simple server login module, which can be used when the number
- of users is relatively small. It uses two properties files:
- users.properties, which holds users (key) and their password (value).
- roles.properties, which holds users (key) and a comma-separated list of
- their roles (value).
- The unauthenticatedIdentity property defines the name of the principal
- that will be used when a null username and password are presented as is
- the case for an unuathenticated web client or MDB. If you want to
- allow such users to be authenticated add the property, e.g.,
- unauthenticatedIdentity="nobody"
- -->
- <authentication>
- <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
- flag = "required" />
- </authentication>
- </application-policy>
-
- <application-policy name = "gssWebDAVSecurity">
- <authentication>
- <login-module code = "gr.ebs.gss.server.webdav.login.GssWebDAVLoginModule"
- flag = "required">
- <module-option name = "unauthenticatedIdentity">guest</module-option>
- <module-option name="hashAlgorithm">MD5</module-option>
- <module-option name="hashEncoding">rfc2617</module-option>
- <module-option name="hashUserPassword">false</module-option>
- <module-option name="hashStorePassword">true</module-option>
- <module-option name="passwordIsA1Hash">false</module-option>
- <module-option name="storeDigestCallback">org.jboss.security.auth.spi.RFC2617Digest</module-option>
- </login-module>
- </authentication>
- </application-policy>\r
-</policy>
-
+++ /dev/null
-<?xml version="1.0"?>
-<!DOCTYPE web-app PUBLIC
- "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- "http://java.sun.com/dtd/web-app_2_3.dtd">
-
-<web-app>
- <description>The standard web descriptor for the html adaptor</description>
- <!--
- <filter>
- <filter-name>JmxOpsAccessControlFilter</filter-name>
- <filter-class>org.jboss.jmx.adaptor.html.JMXOpsAccessControlFilter</filter-class>
- <init-param>
- <param-name>updateAttributes</param-name>
- <param-value>UpdateAttributeRole</param-value>
- <description>Comma-delimited Roles that define the JMX Operation denoting updation of Attributes</description>
- </init-param>
- <init-param>
- <param-name>invokeOp</param-name>
- <param-value>InvokeOpRole</param-value>
- <description>Comma-delimited Roles that define the JMX Operation denoting Invocation of Operations</description>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>JmxOpsAccessControlFilter</filter-name>
- <servlet-name>HtmlAdaptor</servlet-name>
- </filter-mapping>
- -->
- <servlet>
- <servlet-name>HtmlAdaptor</servlet-name>
- <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>
- </servlet>
- <servlet>
- <servlet-name>ClusteredConsoleServlet</servlet-name>
- <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
- <init-param>
- <param-name>jgProps</param-name>
- <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=${jboss.partition.udpGroup:228.1.2.3};mcast_port=${jboss.jmxconsolepartition.mcast_port:46666}):
-org.jboss.jmx.adaptor.control.FindView
- </param-value>
- <description>The JGroups protocol stack config</description>
- </init-param>
- </servlet>
- <servlet>
- <servlet-name>DisplayMBeans</servlet-name>
- <jsp-file>/displayMBeans.jsp</jsp-file>
- </servlet>
- <servlet>
- <servlet-name>InspectMBean</servlet-name>
- <jsp-file>/inspectMBean.jsp</jsp-file>
- </servlet>
- <servlet>
- <servlet-name>DisplayOpResult</servlet-name>
- <jsp-file>/displayOpResult.jsp</jsp-file>
- </servlet>
- <servlet>
- <servlet-name>ClusterView</servlet-name>
- <jsp-file>/cluster/clusterView.jsp</jsp-file>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>HtmlAdaptor</servlet-name>
- <url-pattern>/HtmlAdaptor</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>ClusteredConsoleServlet</servlet-name>
- <url-pattern>/cluster/ClusteredConsole</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>DisplayMBeans</servlet-name>
- <url-pattern>/DisplayMBeans</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>InspectMBean</servlet-name>
- <url-pattern>/InspectMBean</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>DisplayOpResult</servlet-name>
- <url-pattern>/DisplayOpResult</url-pattern>
- </servlet-mapping>
-
- <!-- Display a generic error page when HTTP Status 500 exceptions
- occur. -->
- <error-page>
- <error-code>500</error-code>
- <location>/genericError.jsp</location>
- </error-page>
-
- <!-- A security constraint that restricts access to the HTML JMX console
- to users with the role JBossAdmin. Edit the roles to what you want and
- uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
- secured access to the HTML JMX console. -->
- <security-constraint>
- <web-resource-collection>
- <web-resource-name>HtmlAdaptor</web-resource-name>
- <description>An example security config that only allows users with the
- role JBossAdmin to access the HTML JMX console web application
- </description>
- <url-pattern>/*</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <auth-constraint>
- <role-name>JBossAdmin</role-name>
- </auth-constraint>
- </security-constraint>
-
-
- <login-config>
- <auth-method>BASIC</auth-method>
- <realm-name>JBoss JMX Console</realm-name>
- </login-config>
-
- <security-role>
- <role-name>JBossAdmin</role-name>
- </security-role>
-</web-app>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- EAR Deployers
- $Id: ear-deployer-jboss-beans.xml 81068 2008-11-14 15:14:35Z dimitris@jboss.org $
--->
-<deployment xmlns="urn:jboss:bean-deployer:2.0">
-
- <bean name="EARStructureDeployer" class="org.jboss.deployment.EARStructure">
- <property name="comparatorClassName">org.jboss.system.deployers.LegacyDeploymentContextComparator</property>
- <!-- uncomment to disable xml validation property name="useValidation">false</property -->
- </bean>
-
- <!-- application.xml parsing deployer -->
- <bean name="AppParsingDeployer" class="org.jboss.deployment.AppParsingDeployer">
- <property name="useValidation"><inject bean="EARStructureDeployer" property="useValidation"/></property>
- <!-- in case xml validation is disabled, it's also better to turn off schema validation property name="useSchemaValidation">false</property -->
- </bean>
- <!-- Implicit ear contents identifying deployer for ears without
- an application.xml
- -->
- <bean name="EARContentsDeployer" class="org.jboss.deployment.EARContentsDeployer">
- <constructor>
- <parameter><inject bean="AppParsingDeployer" property="relativeOrder"/></parameter>
- </constructor>
-
- <!-- Does the deployment have to end in .ear to process it -->
- <property name="requiresEarSuffix">true</property>
- </bean>
- <!-- jboss-app.xml parsing deployer -->
- <bean name="JBossAppParsingDeployer" class="org.jboss.deployment.JBossAppParsingDeployer">
- <install bean="ManagedDeploymentCreator" method="addAttachmentType">
- <parameter>
- <value>org.jboss.metadata.ear.jboss.JBossAppMetaData</value>
- </parameter>
- <parameter>
- <value>ear</value>
- </parameter>
- </install>
- <uninstall bean="ManagedDeploymentCreator" method="removeAttachmentType">
- <parameter>
- <value>org.jboss.metadata.ear.jboss.JBossAppMetaData</value>
- </parameter>
- </uninstall>
- <!-- A flag indicating if the ear components should have in VM call
- optimization disabled.
- -->
- <property name="callByValue">false</property>
-
- <!-- Specify an unauthenticated identity -->
- <property name="unauthenticatedIdentity">anonymous</property>
- </bean>
- <bean name="EARClassLoaderDeployer" class="org.jboss.deployment.EarClassLoaderDeployer">
- <!-- A flag indicating if ear deployments should have their own scoped
- class loader to isolate their classes from other deployments.
- -->
- <property name="isolated">true</property>
- </bean>
-</deployment>
+++ /dev/null
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: jboss
-# Required-Start: $local_fs $remote_fs $network $syslog
-# Required-Stop: $local_fs $remote_fs $network $syslog
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Start/stop JBoss application server
-### END INIT INFO
-
-#define where jboss is - this is the directory containing directories log, bin, conf etc
-JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss"}
-
-#define the user under which jboss will run, or use 'RUNASIS' to run as the current user
-JBOSS_USER=${JBOSS_USER:-"www-data"}
-
-#make sure java is in your path
-JAVAPTH=${JAVAPTH:-"/usr/local/jdk/bin"}
-
-#configuration to use, usually one of 'minimal', 'default', 'all'
-JBOSS_CONF=${JBOSS_CONF:-"default"}
-
-JBOSS_HOST="0.0.0.0"
-
-#if JBOSS_HOST specified, use -b to bind jboss services to that address
-JBOSS_BIND_ADDR=${JBOSS_HOST:+"-b $JBOSS_HOST"}
-
-#define the classpath for the shutdown class
-JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
-
-#define the script to use to start jboss
-JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF $JBOSS_BIND_ADDR"}
-
-JBOSS_CONSOLE="$JBOSS_HOME/server/$JBOSS_CONF/log/jboss.log"
-
-if [ "$JBOSS_USER" = "RUNASIS" ]; then
- SUBIT=""
-else
- SUBIT="su - $JBOSS_USER -c "
-fi
-
-if [ -n "$JBOSS_CONSOLE" -a ! -d "$JBOSS_CONSOLE" ]; then
- # ensure the file exists
- touch $JBOSS_CONSOLE
- if [ ! -z "$SUBIT" ]; then
- chown $JBOSS_USER $JBOSS_CONSOLE
- fi
-fi
-
-if [ -n "$JBOSS_CONSOLE" -a ! -f "$JBOSS_CONSOLE" ]; then
- echo "WARNING: location for saving console log invalid: $JBOSS_CONSOLE"
- echo "WARNING: ignoring it and using /dev/null"
- JBOSS_CONSOLE="/dev/null"
-fi
-
-#define what will be done with the console log
-JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/dev/null"}
-
-JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH"
-JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-"java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"}
-
-if [ -z "`echo $PATH | grep $JAVAPTH`" ]; then
- export PATH=$PATH:$JAVAPTH
-fi
-
-if [ ! -d "$JBOSS_HOME" ]; then
- echo JBOSS_HOME does not exist as a valid directory : $JBOSS_HOME
- exit 1
-fi
-
-#echo JBOSS_CMD_START = $JBOSS_CMD_START
-
-case "$1" in
-start)
- cd $JBOSS_HOME/bin
- if [ -z "$SUBIT" ]; then
- eval $JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &
- else
- $SUBIT "$JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &"
- fi
- ;;
-stop)
- if [ -z "$SUBIT" ]; then
- $JBOSS_CMD_STOP
- else
- $SUBIT "$JBOSS_CMD_STOP"
- fi
- ;;
-restart)
- $0 stop
- sleep 30
- $0 start
- ;;
-*)
- echo "usage: $0 (start|stop|restart|help)"
-esac
-
+++ /dev/null
-# A sample users.properties file for use with the UsersRolesLoginModule
-admin=manager
+++ /dev/null
-<!DOCTYPE jboss-web PUBLIC
- "-//JBoss//DTD Web Application 5.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
-
-<jboss-web>
- <!-- Uncomment the security-domain to enable security. You will
- need to edit the htmladaptor login configuration to setup the
- login modules used to authentication users. -->
- <security-domain>java:/jaas/jmx-console</security-domain>
-
-</jboss-web>
+++ /dev/null
-# A sample users.properties file for use with the UsersRolesLoginModule
-admin=manager
+++ /dev/null
-<?xml version='1.0' encoding='UTF-8' ?>
-
-<!DOCTYPE jboss-web
- PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
-
-<jboss-web>
-
- <!-- Uncomment the security-domain to enable security. You will
- need to edit the htmladaptor login configuration to setup the
- login modules used to authentication users. -->
- <security-domain>java:/jaas/web-console</security-domain>
-
- <!-- The war depends on the -->
- <depends>jboss.admin:service=PluginManager</depends>
-</jboss-web>
+++ /dev/null
-<?xml version="1.0"?>
-<!DOCTYPE web-app PUBLIC
- "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- "http://java.sun.com/dtd/web-app_2_3.dtd">
-
-<web-app>
- <description>Web Admin Console</description>
- <servlet>
- <servlet-name>J2EEFolder</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>ScriptName</param-name>
- <param-value>J2EEFolder.bsh</param-value>
- </init-param>
- <init-param>
- <param-name>IsRootNode</param-name>
- <param-value>true</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>SystemFolder</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>ScriptName</param-name>
- <param-value>SystemFolder.bsh</param-value>
- </init-param>
- <init-param>
- <param-name>IsRootNode</param-name>
- <param-value>true</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>MonitorsFolder</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.MonitorLister</param-value>
- </init-param>
- <init-param>
- <param-name>IsRootNode</param-name>
- <param-value>true</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>AOPFolder</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.AOPLister</param-value>
- </init-param>
- <init-param>
- <param-name>IsRootNode</param-name>
- <param-value>true</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>JMS Message</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.JMSLister</param-value>
- </init-param>
- <init-param>
- <param-name>MBeanClass</param-name>
- <param-value>org.jboss.management.j2ee.JMSResource</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <!--servlet>
- <servlet-name>UCLs</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>ScriptName</param-name>
- <param-value>Classloaders.bsh</param-value>
- </init-param>
- <init-param>
- <param-name>FolderName</param-name>
- <param-value>ROOT/System</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet-->
-
- <servlet>
- <servlet-name>UCLs</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.UCLLister</param-value>
- </init-param>
- <init-param>
- <param-name>FolderName</param-name>
- <param-value>ROOT/System</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>MBeans</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.MBeansLister</param-value>
- </init-param>
- <init-param>
- <param-name>FolderName</param-name>
- <param-value>ROOT/System</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>JSR77 Domains and Servers</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.JSR77Lister</param-value>
- </init-param>
- <init-param>
- <param-name>FolderName</param-name>
- <param-value>ROOT/J2EE</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>JSR77 EJBModules and EJBs</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.EJBModuleLister</param-value>
- </init-param>
- <init-param>
- <param-name>MBeanClass</param-name>
- <param-value>org.jboss.management.j2ee.EJBModule</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>JSR77 J2EE Apps</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.J2EEAppLister</param-value>
- </init-param>
- <init-param>
- <param-name>MBeanClass</param-name>
- <param-value>org.jboss.management.j2ee.J2EEApplication</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>JSR77 WebModule</servlet-name>
- <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
- <init-param>
- <param-name>WrapperClass</param-name>
- <param-value>org.jboss.console.plugins.WebModuleLister</param-value>
- </init-param>
- <init-param>
- <param-name>MBeanClass</param-name>
- <param-value>org.jboss.management.j2ee.WebModule</param-value>
- </init-param>
- <init-param>
- <param-name>ContextName</param-name>
- <param-value>/web-console</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>HTTP Invocation</servlet-name>
- <servlet-class>org.jboss.console.remote.InvokerServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Create Snapshot</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.CreateSnapshotServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Manage Snapshot</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.ManageSnapshotServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Create Threshold Monitor</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Manage Threshold Monitor</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Create String Threshold Monitor</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Manage String Threshold Monitor</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Clear Monitor Alerts</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.ClearMonitorAlertsServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Acknowledge Active Alarms</servlet-name>
- <servlet-class>org.jboss.console.plugins.monitor.AcknowledgeActiveAlarmsServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet>
- <servlet-name>Status Servlet</servlet-name>
- <servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>Status Servlet</servlet-name>
- <url-pattern>/status</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>HTTP Invocation</servlet-name>
- <url-pattern>/Invoker/*</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Create Snapshot</servlet-name>
- <url-pattern>/CreateSnapshot</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Manage Snapshot</servlet-name>
- <url-pattern>/ManageSnapshot</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Create Threshold Monitor</servlet-name>
- <url-pattern>/CreateThresholdMonitor</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Manage Threshold Monitor</servlet-name>
- <url-pattern>/ManageThresholdMonitor</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Create String Threshold Monitor</servlet-name>
- <url-pattern>/CreateStringThresholdMonitor</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Manage String Threshold Monitor</servlet-name>
- <url-pattern>/ManageStringThresholdMonitor</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Clear Monitor Alerts</servlet-name>
- <url-pattern>/ClearMonitorAlerts</url-pattern>
- </servlet-mapping>
-
- <servlet-mapping>
- <servlet-name>Acknowledge Active Alarms</servlet-name>
- <url-pattern>/AcknowledgeActiveAlarms</url-pattern>
- </servlet-mapping>
-
- <taglib>
- <taglib-uri>/webconsole</taglib-uri>
- <taglib-location>/WEB-INF/tlds/webconsole.tld</taglib-location>
- </taglib>
-
- <!-- A security constraint that restricts access to the HTML JMX console
- to users with the role JBossAdmin. Edit the roles to what you want and
- uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
- secured access to the HTML JMX console. -->
-
- <security-constraint>
- <web-resource-collection>
- <web-resource-name>HtmlAdaptor</web-resource-name>
- <description>An example security config that only allows users with the
- role JBossAdmin to access the HTML JMX console web application
- </description>
- <url-pattern>/*</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <auth-constraint>
- <role-name>JBossAdmin</role-name>
- </auth-constraint>
- </security-constraint>
-
- <login-config>
- <auth-method>BASIC</auth-method>
- <realm-name>JBoss WEB Console</realm-name>
- </login-config>
-
- <security-role>
- <role-name>JBossAdmin</role-name>
- </security-role>
-</web-app>
<module>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
- <inherits name='com.google.gwt.user.datepicker.DatePicker'/>
+<!-- <inherits name='com.google.gwt.user.datepicker.DatePicker'/>-->
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<inherits name="com.google.gwt.user.theme.standard.Standard"/>
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
- <inherits name='com.google.gwt.gen2.Gen2' />
+ <inherits name='com.google.gwt.gen2.Gen2' />
<inherits name="com.google.gwt.visualization.Visualization"/>
- <inherits name='gr.ebs.gss.client.exceptions' />
- <inherits name='gr.ebs.gss.server.domain.dto' />
- <!-- <set-property name="user.agent" value="gecko,gecko1_8" />-->
+ <inherits name='gr.ebs.gss.common.Common'/>
<!-- Specify the app entry point class. -->
<entry-point class='gr.ebs.gss.admin.client.TwoAdmin'/>
package gr.ebs.gss.admin.client;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.SystemStatsDTO;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
+import gr.ebs.gss.common.dto.FileBodyDTO;
+import gr.ebs.gss.common.dto.FileHeaderDTO;
+import gr.ebs.gss.common.dto.PermissionDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.SystemStatsDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.util.Date;
import java.util.List;
package gr.ebs.gss.admin.client;
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.SystemStatsDTO;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.FileBodyDTO;
+import gr.ebs.gss.common.dto.FileHeaderDTO;
+import gr.ebs.gss.common.dto.PermissionDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.SystemStatsDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.util.Date;
import java.util.List;
import gr.ebs.gss.admin.client.ui.HeaderPanel;
import gr.ebs.gss.admin.client.ui.UserPanel;
import gr.ebs.gss.admin.client.ui.VisualizationPanel;
-import gr.ebs.gss.server.domain.dto.SystemStatsDTO;
+import gr.ebs.gss.common.dto.SystemStatsDTO;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
package gr.ebs.gss.admin.client.ui;
import gr.ebs.gss.admin.client.TwoAdmin;
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
+import gr.ebs.gss.common.dto.FileBodyDTO;
+import gr.ebs.gss.common.dto.FileHeaderDTO;
+import gr.ebs.gss.common.dto.PermissionDTO;
import java.util.ArrayList;
import java.util.HashSet;
package gr.ebs.gss.admin.client.ui;
import gr.ebs.gss.admin.client.ui.FilesTable.FileSorter.FileComparator;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
+import gr.ebs.gss.common.dto.FileHeaderDTO;
import java.util.ArrayList;
import java.util.Collections;
package gr.ebs.gss.admin.client.ui;
import gr.ebs.gss.admin.client.TwoAdmin;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
+import gr.ebs.gss.common.dto.PermissionDTO;
import java.util.HashSet;
import java.util.Set;
package gr.ebs.gss.admin.client.ui;
import gr.ebs.gss.admin.client.TwoAdmin;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
import java.util.List;
}
-}
\ No newline at end of file
+}
package gr.ebs.gss.admin.client.ui;
import gr.ebs.gss.admin.client.TwoAdmin;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.util.ArrayList;
import java.util.Date;
package gr.ebs.gss.admin.client.ui;
import gr.ebs.gss.admin.client.ui.UsersTable.UserSorter.UserComparator;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.util.ArrayList;
import java.util.Collections;
package gr.ebs.gss.admin.client.ui;
import gr.ebs.gss.admin.client.TwoAdmin;
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;
+import gr.ebs.gss.common.dto.FileBodyDTO;
import java.util.Collections;
import java.util.Comparator;
*/
package gr.ebs.gss.admin.client.ui;
-import gr.ebs.gss.server.domain.dto.SystemStatsDTO;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.SystemStatsDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HorizontalPanel;
--- /dev/null
+<module>
+ <source path="exceptions"/>
+ <source path="dto"/>
+</module>
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.server.domain.dto;\r
+package gr.ebs.gss.common.dto;\r
\r
import java.util.Date;\r
\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
import java.util.ArrayList;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
import java.util.HashSet;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.server.domain.dto;\r
+package gr.ebs.gss.common.dto;\r
\r
import java.io.Serializable;\r
\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
import java.util.ArrayList;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
import java.util.ArrayList;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.domain.dto;
+package gr.ebs.gss.common.dto;
import java.io.Serializable;
import java.util.Date;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.exceptions;
+package gr.ebs.gss.common.exceptions;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.exceptions;
+package gr.ebs.gss.common.exceptions;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.exceptions;
+package gr.ebs.gss.common.exceptions;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.exceptions;
+package gr.ebs.gss.common.exceptions;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.exceptions;
+package gr.ebs.gss.common.exceptions;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.exceptions;
+package gr.ebs.gss.common.exceptions;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.exceptions;
+package gr.ebs.gss.common.exceptions;
import java.io.Serializable;
package gr.ebs.gss.server;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.ejb.ExternalAPI;
import java.io.UnsupportedEncodingException;
package gr.ebs.gss.server;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.Invitation;
import gr.ebs.gss.server.domain.User;
*/
package gr.ebs.gss.server;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.Invitation;
import java.io.IOException;
package gr.ebs.gss.server;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.Nonce;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.domain.UserLogin;
*/
package gr.ebs.gss.server;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.Nonce;
import gr.ebs.gss.server.domain.User;
*/
package gr.ebs.gss.server;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import java.io.IOException;
package gr.ebs.gss.server;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.ejb.TransactionHelper;
*/
package gr.ebs.gss.server;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import java.io.IOException;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
import gr.ebs.gss.admin.client.AdminService;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.configuration.GSSConfigurationFactory;
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.SystemStatsDTO;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.FileBodyDTO;
+import gr.ebs.gss.common.dto.FileHeaderDTO;
+import gr.ebs.gss.common.dto.PermissionDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.SystemStatsDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import gr.ebs.gss.server.ejb.AdminAPI;
import java.util.Date;
*/\r
package gr.ebs.gss.server.domain;\r
\r
-import gr.ebs.gss.server.domain.dto.AuditInfoDTO;\r
+import gr.ebs.gss.common.dto.AuditInfoDTO;\r
\r
import java.io.Serializable;\r
import java.util.Date;\r
*/\r
package gr.ebs.gss.server.domain;\r
\r
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;\r
+import gr.ebs.gss.common.dto.FileBodyDTO;\r
\r
import java.io.Serializable;\r
import java.io.UnsupportedEncodingException;\r
*/\r
package gr.ebs.gss.server.domain;\r
\r
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;\r
+import gr.ebs.gss.common.dto.FileHeaderDTO;\r
\r
import java.io.Serializable;\r
import java.io.UnsupportedEncodingException;\r
return false;\r
return shared;\r
}\r
-
-
+\r
+\r
/**\r
* Modify the shared.\r
*\r
*/\r
package gr.ebs.gss.server.domain;\r
\r
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;\r
-import gr.ebs.gss.server.domain.dto.FolderDTO;\r
+import gr.ebs.gss.common.dto.FileHeaderDTO;\r
+import gr.ebs.gss.common.dto.FolderDTO;\r
\r
import java.io.Serializable;\r
import java.io.UnsupportedEncodingException;\r
*/
package gr.ebs.gss.server.domain;
-import gr.ebs.gss.server.domain.dto.GroupDTO;
+import gr.ebs.gss.common.dto.GroupDTO;
import java.io.Serializable;
import java.util.Set;
*/\r
package gr.ebs.gss.server.domain;\r
\r
-import gr.ebs.gss.server.domain.dto.PermissionDTO;\r
+import gr.ebs.gss.common.dto.PermissionDTO;\r
\r
import java.io.Serializable;\r
import java.util.Collection;\r
package gr.ebs.gss.server.domain;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.io.Serializable;
import java.security.SecureRandom;
*/
package gr.ebs.gss.server.domain;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
import java.io.Serializable;
import java.text.DecimalFormat;
*/
package gr.ebs.gss.server.ejb;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.SystemStatsDTO;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.dto.FileBodyDTO;
+import gr.ebs.gss.common.dto.FileHeaderDTO;
+import gr.ebs.gss.common.dto.PermissionDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.SystemStatsDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.util.Date;
import java.util.List;
*/
package gr.ebs.gss.server.ejb;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
import gr.ebs.gss.server.domain.AccountingInfo;
import gr.ebs.gss.server.domain.AuditInfo;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.domain.UserClass;
import gr.ebs.gss.server.domain.UserLogin;
-import gr.ebs.gss.server.domain.dto.FileBodyDTO;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
-import gr.ebs.gss.server.domain.dto.FolderDTO;
-import gr.ebs.gss.server.domain.dto.GroupDTO;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.SystemStatsDTO;
-import gr.ebs.gss.server.domain.dto.UserClassDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.FileBodyDTO;
+import gr.ebs.gss.common.dto.FileHeaderDTO;
+import gr.ebs.gss.common.dto.FolderDTO;
+import gr.ebs.gss.common.dto.GroupDTO;
+import gr.ebs.gss.common.dto.PermissionDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.SystemStatsDTO;
+import gr.ebs.gss.common.dto.UserClassDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.util.ArrayList;
import java.util.Calendar;
*/
package gr.ebs.gss.server.ejb;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.GSSIOException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.InvitationUsedException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.QuotaExceededException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.GSSIOException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.InvitationUsedException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.QuotaExceededException;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.FileLock;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
-import java.net.MalformedURLException;
import java.util.Date;
import java.util.List;
import java.util.Set;
import javax.ejb.TransactionAttributeType;
import gr.ebs.gss.server.domain.WebDavNonce;
-import gr.ebs.gss.server.domain.dto.FileHeaderDTO;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import org.apache.solr.client.solrj.SolrServerException;
-import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer;
/**
* The External API for GSS clients.
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.admin.client.ui.UsersTable;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.GSSIOException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.InvitationUsedException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.QuotaExceededException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.GSSIOException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.InvitationUsedException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.QuotaExceededException;
import gr.ebs.gss.server.domain.AuditInfo;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.UserClass;
import gr.ebs.gss.server.domain.UserLogin;
import gr.ebs.gss.server.domain.WebDavNonce;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
-import gr.ebs.gss.server.domain.dto.UserDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
+import gr.ebs.gss.common.dto.UserDTO;
import java.io.File;
import java.io.FileInputStream;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.solr.client.solrj.SolrQuery;
-import org.apache.solr.client.solrj.SolrResponse;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer;
import org.apache.solr.client.solrj.request.ContentStreamUpdateRequest;
*/
package gr.ebs.gss.server.ejb;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.GSSIOException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.QuotaExceededException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.GSSIOException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.QuotaExceededException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.Group;
*/
package gr.ebs.gss.server.ejb;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
import gr.ebs.gss.server.domain.AccountingInfo;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.FileHeader;
* @return Folder
* @throws ObjectNotFoundException if no Folder was found
*/
- public Folder getRootFolder(Long userId) throws gr.ebs.gss.client.exceptions.ObjectNotFoundException;
+ public Folder getRootFolder(Long userId) throws gr.ebs.gss.common.exceptions.ObjectNotFoundException;
/**
* Retrieves the user for the requested username.
package gr.ebs.gss.server.ejb;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
import gr.ebs.gss.server.domain.AccountingInfo;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.FileHeader;
package gr.ebs.gss.server.ejb.indexer;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.server.configuration.GSSConfigurationFactory;
-import gr.ebs.gss.server.domain.FileBody;
-import gr.ebs.gss.server.domain.FileHeader;
-import gr.ebs.gss.server.domain.FileTag;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
import gr.ebs.gss.server.ejb.ExternalAPI;
-import gr.ebs.gss.server.ejb.GSSDAO;
-import java.io.File;
import java.io.IOException;
-import java.io.UnsupportedEncodingException;
-import java.net.MalformedURLException;
-import java.util.StringTokenizer;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.EJB;
import javax.ejb.EJBException;
import javax.ejb.MessageDriven;
-import javax.ejb.TransactionAttribute;
-import javax.ejb.TransactionAttributeType;
import javax.jms.JMSException;
import javax.jms.MapMessage;
import javax.jms.Message;
import javax.jms.MessageListener;
-import org.apache.commons.configuration.Configuration;
-import org.apache.commons.configuration.ConfigurationException;
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpException;
-import org.apache.commons.httpclient.methods.PostMethod;
-import org.apache.commons.httpclient.methods.StringRequestEntity;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer;
-import org.apache.solr.client.solrj.request.AbstractUpdateRequest;
-import org.apache.solr.client.solrj.request.ContentStreamUpdateRequest;
-import org.apache.solr.common.SolrException;
-import org.apache.solr.common.SolrInputDocument;
import org.jboss.ejb3.annotation.ResourceAdapter;
/**
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
else if( encoding.equalsIgnoreCase( "UTF-16" ) )
PRINTWRITER_ENCODING = "Unicode";
else
- PRINTWRITER_ENCODING = MIME2Java.convert( encoding );
+ PRINTWRITER_ENCODING = MIME2Java.convert(encoding);
}// setWriterEncoding
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.text.DateFormat;
import java.text.ParseException;
package gr.ebs.gss.server.rest;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.GSSIOException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.QuotaExceededException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.GSSIOException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.QuotaExceededException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.Login;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.ejb.ExternalAPI;
import gr.ebs.gss.server.ejb.TransactionHelper;
-import gr.ebs.gss.server.webdav.Range;
-import gr.ebs.gss.server.webdav.RequestUtil;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.Group;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.ejb.TransactionHelper;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.util.Date;
import java.util.Enumeration;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
/**
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.util.Hashtable;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.User;
* This helper class was extracted verbatim from Tomcat's DefaultServlet.java
* file, in order to extend its scope to public.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
public class Range {
package gr.ebs.gss.server.rest;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.User;
-import gr.ebs.gss.server.webdav.Webdav;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.io.UnsupportedEncodingException;
import java.text.SimpleDateFormat;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.User;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.User;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import java.io.IOException;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import java.io.IOException;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.User;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
package gr.ebs.gss.server.rest;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.Login;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.domain.UserLogin;
-import gr.ebs.gss.server.domain.dto.StatsDTO;
+import gr.ebs.gss.common.dto.StatsDTO;
import gr.ebs.gss.server.ejb.TransactionHelper;
import java.io.IOException;
*/
package gr.ebs.gss.server.rest;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import java.io.IOException;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.GSSIOException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.QuotaExceededException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.GSSIOException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.QuotaExceededException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.AuditInfo;
import gr.ebs.gss.server.domain.FileBody;
import gr.ebs.gss.server.domain.FileHeader;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
+import gr.ebs.gss.server.rest.LockInfo;
+import gr.ebs.gss.server.rest.WebdavStatus;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.util.Hashtable;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package gr.ebs.gss.server.webdav;
+package gr.ebs.gss.server.rest;
import java.io.IOException;
import java.io.Writer;
package gr.ebs.gss.server.webdav.milton;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.User;
package gr.ebs.gss.server.webdav.milton;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.ejb.ExternalAPI;
import java.util.ArrayList;
*/
package gr.ebs.gss.server.webdav.milton;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.GSSIOException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.GSSIOException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.ejb.TransactionHelper;
*/
package gr.ebs.gss.server.webdav.milton;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.GSSIOException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.QuotaExceededException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.GSSIOException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.QuotaExceededException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.User;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.RpcException;
+
import gr.ebs.gss.server.domain.FileLock;
import gr.ebs.gss.server.ejb.ExternalAPI;
import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
import java.util.UUID;
import javax.naming.Context;
package gr.ebs.gss.server.webdav.milton;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.WebDavNonce;
import gr.ebs.gss.server.ejb.ExternalAPI;
import java.util.Date;
-import java.util.Map;
import java.util.UUID;
-import java.util.concurrent.ConcurrentHashMap;
import javax.naming.Context;
import javax.naming.InitialContext;
import com.bradmcevoy.http.Request;
import com.bradmcevoy.http.Resource;
-import com.bradmcevoy.http.http11.auth.ExpiredNonceRemover;
import com.bradmcevoy.http.http11.auth.Nonce;
import com.bradmcevoy.http.http11.auth.NonceProvider;
-import com.bradmcevoy.http.http11.auth.SimpleMemoryNonceProvider;
-import com.bradmcevoy.http.http11.auth.NonceProvider.NonceValidity;
-
/**
* @author kman
*/
package gr.ebs.gss.server.webdav.milton;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import java.io.IOException;
*/
package gr.ebs.gss.server.webdav.milton;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import org.slf4j.Logger;
*/
package gr.ebs.gss.server.webdav.milton;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.User;
package gr.ebs.gss.server.webdav.milton;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.RpcException;
+import gr.ebs.gss.common.exceptions.RpcException;
import gr.ebs.gss.server.domain.User;
import gr.ebs.gss.server.ejb.ExternalAPI;
import gr.ebs.gss.server.ejb.TransactionHelper;
import java.io.UnsupportedEncodingException;
-import java.util.Map;
import java.util.concurrent.Callable;
import javax.naming.Context;
import javax.naming.NamingException;
import javax.rmi.PortableRemoteObject;
import javax.security.auth.login.FailedLoginException;
-import javax.security.auth.login.LoginException;
import org.apache.commons.codec.binary.Base64;
import org.slf4j.Logger;
<module>
- <inherits name='com.google.gwt.user.User' />
- <inherits name="com.google.gwt.user.theme.standard.Standard"/>
+ <inherits name="com.google.gwt.user.User"/>
+ <inherits name="com.google.gwt.user.theme.standard.Standard"/>
<inherits name="com.google.gwt.gears.Gears"/>
- <inherits name='com.allen_sauer.gwt.dnd.gwt-dnd' />
<inherits name="com.google.gwt.http.HTTP"/>
<inherits name="com.google.gwt.json.JSON"/>
- <inherits name='gwtquery.plugins.droppable.Droppable'/>
- <entry-point class='gr.ebs.gss.client.GSS' />
+ <inherits name="gwtquery.plugins.droppable.Droppable"/>
+ <inherits name="gr.ebs.gss.common.Common"/>
+
+
+ <entry-point class='gr.ebs.gss.web.client.GSS' />
<stylesheet src='gss.css' />
- <!--<set-property name="user.agent" value="gecko" /> -->
+
<!-- Rebind the file upload dialog if Gears is installed -->
- <replace-with class="gr.ebs.gss.client.FileUploadGearsDialog">
+ <replace-with class="gr.ebs.gss.web.client.FileUploadGearsDialog">
<all>
- <when-type-is class="gr.ebs.gss.client.FileUploadDialog"/>
+ <when-type-is class="gr.ebs.gss.web.client.FileUploadDialog"/>
<when-property-is name="gears.installed" value="true"/>
<none>
<when-property-is name="user.agent" value="ie6"/>
</all>
</replace-with>
<!-- Use a special file upload dialog if Gears is installed on IE -->
- <replace-with class="gr.ebs.gss.client.FileUploadGearsIEDialog">
+ <replace-with class="gr.ebs.gss.web.client.FileUploadGearsIEDialog">
<all>
- <when-type-is class="gr.ebs.gss.client.FileUploadDialog"/>
+ <when-type-is class="gr.ebs.gss.web.client.FileUploadDialog"/>
<when-property-is name="gears.installed" value="true"/>
<any>
<when-property-is name="user.agent" value="ie6"/>
<when-property-is name="user.agent" value="ie8"/>
</any>
</all>
- </replace-with>
+ </replace-with>
+
+ <source path="client"/>
</module>
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
import com.google.gwt.core.client.GWT;\r
import com.google.gwt.dom.client.NativeEvent;\r
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.rest.GetCommand;\r
-import gr.ebs.gss.client.rest.resource.TagsResource;\r
+import gr.ebs.gss.web.client.rest.GetCommand;\r
+import gr.ebs.gss.web.client.rest.resource.TagsResource;\r
\r
import java.util.List;\r
\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
-
-import gr.ebs.gss.client.CellTreeViewModel.ClearSelection;
-import gr.ebs.gss.client.CellTreeViewModel.MyFolderDataProvider;
-import gr.ebs.gss.client.CellTreeViewModel.ResourceValueUpdater;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.MyFolderResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.OthersFolderResource;
-import gr.ebs.gss.client.rest.resource.OthersResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gwtquery.plugins.draggable.client.DragAndDropManager;
-import gwtquery.plugins.droppable.client.events.DragAndDropContext;
-import gwtquery.plugins.droppable.client.events.OverDroppableEvent;
-import gwtquery.plugins.droppable.client.events.OverDroppableEvent.OverDroppableEventHandler;
+package gr.ebs.gss.web.client;
+
+import gr.ebs.gss.web.client.CellTreeViewModel.ClearSelection;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.MyFolderResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.OthersFolderResource;
+import gr.ebs.gss.web.client.rest.resource.OthersResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
import gwtquery.plugins.droppable.client.gwt.DragAndDropCellTree;
import java.util.Arrays;
import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.logical.shared.AttachEvent;
-import com.google.gwt.event.logical.shared.OpenEvent;
-import com.google.gwt.event.logical.shared.OpenHandler;
-import com.google.gwt.query.client.plugins.GQueryUi;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.resources.client.ImageResource.ImageOptions;
import com.google.gwt.user.client.DeferredCommand;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.IncrementalCommand;
-import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Tree;
import com.google.gwt.view.client.ProvidesKey;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import static com.google.gwt.query.client.GQuery.$;
-import gr.ebs.gss.client.CellTreeView.Images;
-import gr.ebs.gss.client.CellTreeView.RefreshHandler;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.MultipleGetCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.MyFolderResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.OthersFolderResource;
-import gr.ebs.gss.client.rest.resource.OthersResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.SharedFolderResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.CellTreeView.Images;
+import gr.ebs.gss.web.client.CellTreeView.RefreshHandler;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.MyFolderResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.OthersFolderResource;
+import gr.ebs.gss.web.client.rest.resource.OthersResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.SharedFolderResource;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
import gwtquery.plugins.draggable.client.DragAndDropManager;
import gwtquery.plugins.draggable.client.DraggableOptions;
import gwtquery.plugins.draggable.client.StopDragException;
import com.google.gwt.cell.client.ValueUpdater;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Style.Cursor;
-import com.google.gwt.query.client.plugins.GQueryUi;
import com.google.gwt.safehtml.client.SafeHtmlTemplates;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.user.client.DeferredCommand;
-import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.view.client.AsyncDataProvider;
import com.google.gwt.view.client.HasData;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.CellTreeView.RefreshHandler;
-import gr.ebs.gss.client.CellTreeViewModel.MyFolderDataProvider;
-import gr.ebs.gss.client.rest.resource.MyFolderResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.CellTreeView.RefreshHandler;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
-import com.google.gwt.core.client.GWT;
import com.google.gwt.user.cellview.client.CellTree;
import com.google.gwt.user.cellview.client.TreeNode;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.i18n.client.Constants;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.ClickEvent;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.user.client.Window;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestException;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.NativeEvent;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.MessagePanel.Images;\r
-import gr.ebs.gss.client.rest.DeleteCommand;\r
-import gr.ebs.gss.client.rest.MultipleDeleteCommand;\r
-import gr.ebs.gss.client.rest.RestException;\r
-import gr.ebs.gss.client.rest.resource.FileResource;\r
+import gr.ebs.gss.web.client.MessagePanel.Images;\r
+import gr.ebs.gss.web.client.rest.DeleteCommand;\r
+import gr.ebs.gss.web.client.rest.MultipleDeleteCommand;\r
+import gr.ebs.gss.web.client.rest.RestException;\r
+import gr.ebs.gss.web.client.rest.resource.FileResource;\r
\r
import java.util.ArrayList;\r
import java.util.List;\r
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.MessagePanel.Images;\r
-import gr.ebs.gss.client.rest.DeleteCommand;\r
-import gr.ebs.gss.client.rest.RestException;\r
-import gr.ebs.gss.client.rest.resource.FolderResource;\r
-import gr.ebs.gss.client.rest.resource.RestResource;\r
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;\r
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;\r
+import gr.ebs.gss.web.client.MessagePanel.Images;\r
+import gr.ebs.gss.web.client.rest.DeleteCommand;\r
+import gr.ebs.gss.web.client.rest.RestException;\r
+import gr.ebs.gss.web.client.rest.resource.FolderResource;\r
+import gr.ebs.gss.web.client.rest.resource.RestResource;\r
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;\r
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;\r
\r
import com.google.gwt.core.client.GWT;\r
import com.google.gwt.dom.client.NativeEvent;\r
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.MessagePanel.Images;\r
-import gr.ebs.gss.client.rest.DeleteCommand;\r
-import gr.ebs.gss.client.rest.RestException;\r
-import gr.ebs.gss.client.rest.resource.GroupResource;\r
+import gr.ebs.gss.web.client.MessagePanel.Images;\r
+import gr.ebs.gss.web.client.rest.DeleteCommand;\r
+import gr.ebs.gss.web.client.rest.RestException;\r
+import gr.ebs.gss.web.client.rest.resource.GroupResource;\r
\r
import com.google.gwt.core.client.GWT;\r
import com.google.gwt.dom.client.NativeEvent;\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.MessagePanel.Images;
-import gr.ebs.gss.client.rest.DeleteCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.MessagePanel.Images;
+import gr.ebs.gss.web.client.rest.DeleteCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.NativeEvent;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
/*
* Copyright 2008, 2009 Electronic Business Systems Ltd.
*
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-import gr.ebs.gss.client.CellTreeView;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.MultiplePostCommand;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.MultiplePostCommand;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.PopupPanel;
-import com.google.gwt.user.client.ui.TreeItem;
/**
* @author kman
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.commands.CopyCommand;
-import gr.ebs.gss.client.commands.CutCommand;
-import gr.ebs.gss.client.commands.DeleteCommand;
-import gr.ebs.gss.client.commands.PasteCommand;
-import gr.ebs.gss.client.commands.ToTrashCommand;
-import gr.ebs.gss.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.commands.CopyCommand;
+import gr.ebs.gss.web.client.commands.CutCommand;
+import gr.ebs.gss.web.client.commands.DeleteCommand;
+import gr.ebs.gss.web.client.commands.PasteCommand;
+import gr.ebs.gss.web.client.commands.ToTrashCommand;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.List;
/**
* Will bundle the file 'editcut.png' residing in the package
- * 'gr.ebs.gss.resources'.
+ * 'gr.ebs.gss.web.resources'.
*
* @return the image prototype
*/
/**
* Will bundle the file 'editcopy.png' residing in the package
- * 'gr.ebs.gss.resources'.
+ * 'gr.ebs.gss.web.resources'.
*
* @return the image prototype
*/
/**
* Will bundle the file 'editpaste.png' residing in the package
- * 'gr.ebs.gss.resources'.
+ * 'gr.ebs.gss.web.resources'.
*
* @return the image prototype
*/
/**
* Will bundle the file 'editdelete.png' residing in the package
- * 'gr.ebs.gss.resources'.
+ * 'gr.ebs.gss.web.resources'.
*
* @return the image prototype
*/
/**
* Will bundle the file 'translate.png' residing in the package
- * 'gr.ebs.gss.resources'.
+ * 'gr.ebs.gss.web.resources'.
*
* @return the image prototype
*/
/**
* Will bundle the file 'border_remove.png' residing in the package
- * 'gr.ebs.gss.resources'.
+ * 'gr.ebs.gss.web.resources'.
*
* @return the image prototype
*/
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
-
-import gr.ebs.gss.client.commands.CopyCommand;
-import gr.ebs.gss.client.commands.CutCommand;
-import gr.ebs.gss.client.commands.DeleteCommand;
-import gr.ebs.gss.client.commands.PasteCommand;
-import gr.ebs.gss.client.commands.PropertiesCommand;
-import gr.ebs.gss.client.commands.RefreshCommand;
-import gr.ebs.gss.client.commands.RestoreTrashCommand;
-import gr.ebs.gss.client.commands.ToTrashCommand;
-import gr.ebs.gss.client.commands.UploadFileCommand;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;
+package gr.ebs.gss.web.client;
+
+import gr.ebs.gss.web.client.commands.CopyCommand;
+import gr.ebs.gss.web.client.commands.CutCommand;
+import gr.ebs.gss.web.client.commands.DeleteCommand;
+import gr.ebs.gss.web.client.commands.PasteCommand;
+import gr.ebs.gss.web.client.commands.PropertiesCommand;
+import gr.ebs.gss.web.client.commands.RefreshCommand;
+import gr.ebs.gss.web.client.commands.RestoreTrashCommand;
+import gr.ebs.gss.web.client.commands.ToTrashCommand;
+import gr.ebs.gss.web.client.commands.UploadFileCommand;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import static com.google.gwt.query.client.GQuery.$;
-import gr.ebs.gss.client.commands.UploadFileCommand;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.RestCommand;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.OthersFolderResource;
-import gr.ebs.gss.client.rest.resource.OthersResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+import gr.ebs.gss.web.client.commands.UploadFileCommand;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.RestCommand;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.OthersFolderResource;
+import gr.ebs.gss.web.client.rest.resource.OthersResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import gwtquery.plugins.draggable.client.DraggableOptions;
import gwtquery.plugins.draggable.client.StopDragException;
import gwtquery.plugins.draggable.client.DraggableOptions.DragFunction;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
-import com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant;
import com.google.gwt.view.client.ListDataProvider;
import com.google.gwt.view.client.MultiSelectionModel;
import com.google.gwt.view.client.ProvidesKey;
}
};
- private static class ContactCell extends AbstractCell<gr.ebs.gss.client.rest.resource.FileResource> {
+ private static class ContactCell extends AbstractCell<gr.ebs.gss.web.client.rest.resource.FileResource> {
/**
* The html of the image used for contacts.
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
-
-import gr.ebs.gss.client.commands.EmptyTrashCommand;
-import gr.ebs.gss.client.commands.NewFolderCommand;
-import gr.ebs.gss.client.commands.PropertiesCommand;
-import gr.ebs.gss.client.commands.RefreshCommand;
-import gr.ebs.gss.client.commands.UploadFileCommand;
-import gr.ebs.gss.client.rest.RestCommand;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.OthersResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
+package gr.ebs.gss.web.client;
+
+import gr.ebs.gss.web.client.commands.EmptyTrashCommand;
+import gr.ebs.gss.web.client.commands.NewFolderCommand;
+import gr.ebs.gss.web.client.commands.PropertiesCommand;
+import gr.ebs.gss.web.client.commands.RefreshCommand;
+import gr.ebs.gss.web.client.commands.UploadFileCommand;
+import gr.ebs.gss.web.client.rest.RestCommand;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.OthersResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
import java.util.List;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.ui.PopupPanel;
-import com.google.gwt.user.client.ui.TreeItem;
/**
* The 'File' menu implementation.
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.rest.PostCommand;\r
-import gr.ebs.gss.client.rest.RestException;\r
-import gr.ebs.gss.client.rest.resource.FileResource;\r
-import gr.ebs.gss.client.rest.resource.GroupResource;\r
-import gr.ebs.gss.client.rest.resource.PermissionHolder;\r
+import gr.ebs.gss.web.client.rest.PostCommand;\r
+import gr.ebs.gss.web.client.rest.RestException;\r
+import gr.ebs.gss.web.client.rest.resource.FileResource;\r
+import gr.ebs.gss.web.client.rest.resource.GroupResource;\r
+import gr.ebs.gss.web.client.rest.resource.PermissionHolder;\r
\r
import java.util.Iterator;\r
import java.util.List;\r
import com.google.gwt.event.dom.client.ChangeHandler;\r
import com.google.gwt.event.dom.client.ClickEvent;\r
import com.google.gwt.event.dom.client.ClickHandler;\r
-import com.google.gwt.event.dom.client.KeyDownEvent;\r
-import com.google.gwt.event.dom.client.KeyDownHandler;\r
import com.google.gwt.i18n.client.DateTimeFormat;\r
import com.google.gwt.json.client.JSONArray;\r
import com.google.gwt.json.client.JSONBoolean;\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
-
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.UploadStatusResource;
+package gr.ebs.gss.web.client;
+
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.UploadStatusResource;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
-
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+package gr.ebs.gss.web.client;
+
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.ArrayList;
import java.util.Arrays;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import java.util.List;
-import gr.ebs.gss.client.rest.RestCommand;
+import gr.ebs.gss.web.client.rest.RestCommand;
import com.google.gwt.gears.client.desktop.File;
import com.google.gwt.gears.client.httprequest.HttpRequest;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.components.TristateCheckBox;\r
-import gr.ebs.gss.client.rest.MultiplePostCommand;\r
-import gr.ebs.gss.client.rest.RestException;\r
-import gr.ebs.gss.client.rest.resource.FileResource;\r
+import gr.ebs.gss.web.client.components.TristateCheckBox;\r
+import gr.ebs.gss.web.client.rest.MultiplePostCommand;\r
+import gr.ebs.gss.web.client.rest.RestException;\r
+import gr.ebs.gss.web.client.rest.resource.FileResource;\r
\r
import java.util.ArrayList;\r
import java.util.Iterator;\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.commands.CopyCommand;
-import gr.ebs.gss.client.commands.CutCommand;
-import gr.ebs.gss.client.commands.DeleteCommand;
-import gr.ebs.gss.client.commands.EmptyTrashCommand;
-import gr.ebs.gss.client.commands.NewFolderCommand;
-import gr.ebs.gss.client.commands.PasteCommand;
-import gr.ebs.gss.client.commands.PropertiesCommand;
-import gr.ebs.gss.client.commands.RefreshCommand;
-import gr.ebs.gss.client.commands.RestoreTrashCommand;
-import gr.ebs.gss.client.commands.ToTrashCommand;
-import gr.ebs.gss.client.commands.UploadFileCommand;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.MyFolderResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.OthersFolderResource;
-import gr.ebs.gss.client.rest.resource.OthersResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.SharedFolderResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.commands.CopyCommand;
+import gr.ebs.gss.web.client.commands.CutCommand;
+import gr.ebs.gss.web.client.commands.DeleteCommand;
+import gr.ebs.gss.web.client.commands.EmptyTrashCommand;
+import gr.ebs.gss.web.client.commands.NewFolderCommand;
+import gr.ebs.gss.web.client.commands.PasteCommand;
+import gr.ebs.gss.web.client.commands.PropertiesCommand;
+import gr.ebs.gss.web.client.commands.RefreshCommand;
+import gr.ebs.gss.web.client.commands.RestoreTrashCommand;
+import gr.ebs.gss.web.client.commands.ToTrashCommand;
+import gr.ebs.gss.web.client.commands.UploadFileCommand;
+import gr.ebs.gss.web.client.rest.resource.MyFolderResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.OthersFolderResource;
+import gr.ebs.gss.web.client.rest.resource.OthersResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.SharedFolderResource;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.user.client.ui.AbstractImagePrototype;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
-\r
-import gr.ebs.gss.client.FilePropertiesDialog.Images;\r
-import gr.ebs.gss.client.rest.PostCommand;\r
-import gr.ebs.gss.client.rest.RestException;\r
-import gr.ebs.gss.client.rest.resource.FolderResource;\r
-import gr.ebs.gss.client.rest.resource.GroupResource;\r
-import gr.ebs.gss.client.rest.resource.PermissionHolder;\r
-import gr.ebs.gss.client.rest.resource.RestResource;\r
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;\r
+package gr.ebs.gss.web.client;\r
+\r
+import gr.ebs.gss.web.client.FilePropertiesDialog.Images;\r
+import gr.ebs.gss.web.client.rest.PostCommand;\r
+import gr.ebs.gss.web.client.rest.RestException;\r
+import gr.ebs.gss.web.client.rest.resource.FolderResource;\r
+import gr.ebs.gss.web.client.rest.resource.GroupResource;\r
+import gr.ebs.gss.web.client.rest.resource.PermissionHolder;\r
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;\r
\r
import java.util.List;\r
import java.util.Set;\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
-
-import gr.ebs.gss.client.clipboard.Clipboard;
-import gr.ebs.gss.client.commands.GetUserCommand;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
+package gr.ebs.gss.web.client;
+
+import gr.ebs.gss.web.client.clipboard.Clipboard;
+import gr.ebs.gss.web.client.commands.GetUserCommand;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
import java.util.ArrayList;
import java.util.Arrays;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
/**
import java.util.ArrayList;
import java.util.List;
-import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.InputElement;
import com.google.gwt.dom.client.NativeEvent;
-import com.google.gwt.user.client.DOM;
-import com.google.gwt.user.client.Event;
import com.google.gwt.view.client.CellPreviewEvent;
import com.google.gwt.view.client.HasData;
import com.google.gwt.view.client.MultiSelectionModel;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.Groups.Images;
-import gr.ebs.gss.client.commands.CopyCommand;
-import gr.ebs.gss.client.commands.DeleteUserOrGroupCommand;
-import gr.ebs.gss.client.commands.NewGroupCommand;
-import gr.ebs.gss.client.commands.NewUserCommand;
-import gr.ebs.gss.client.commands.PasteCommand;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.Groups.Images;
+import gr.ebs.gss.web.client.commands.CopyCommand;
+import gr.ebs.gss.web.client.commands.DeleteUserOrGroupCommand;
+import gr.ebs.gss.web.client.commands.NewGroupCommand;
+import gr.ebs.gss.web.client.commands.NewUserCommand;
+import gr.ebs.gss.web.client.commands.PasteCommand;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.user.client.ui.MenuBar;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.commands.NewGroupCommand;
+import gr.ebs.gss.web.client.commands.NewGroupCommand;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestException;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.NativeEvent;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.rest.GetCommand;\r
-import gr.ebs.gss.client.rest.MultipleGetCommand;\r
-import gr.ebs.gss.client.rest.resource.GroupResource;\r
-import gr.ebs.gss.client.rest.resource.GroupUserResource;\r
-import gr.ebs.gss.client.rest.resource.GroupsResource;\r
+import gr.ebs.gss.web.client.rest.GetCommand;\r
+import gr.ebs.gss.web.client.rest.MultipleGetCommand;\r
+import gr.ebs.gss.web.client.rest.resource.GroupResource;\r
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;\r
+import gr.ebs.gss.web.client.rest.resource.GroupsResource;\r
\r
import java.util.List;\r
\r
\r
/**\r
* Will bundle the file 'groupevent.png' residing in the package\r
- * 'gr.ebs.gss.resources'.\r
+ * 'gr.ebs.gss.web.resources'.\r
*\r
* @return the image prototype\r
*/\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
import com.google.gwt.resources.client.ClientBundle;\r
import com.google.gwt.resources.client.ImageResource;\r
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
-import gr.ebs.gss.client.animation.FadeIn;\r
-import gr.ebs.gss.client.animation.FadeOut;\r
+import gr.ebs.gss.web.client.animation.FadeIn;\r
+import gr.ebs.gss.web.client.animation.FadeOut;\r
\r
import com.google.gwt.core.client.GWT;\r
import com.google.gwt.event.dom.client.ClickEvent;\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.PermissionHolder;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.PermissionHolder;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.FilePropertiesDialog.Images;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.resource.PermissionHolder;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+import gr.ebs.gss.web.client.FilePropertiesDialog.Images;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.resource.PermissionHolder;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import java.util.HashSet;
-import java.util.Iterator;
import java.util.Set;
-import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.DeferredCommand;
* limitations under the License.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Grid;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
import com.google.gwt.core.client.GWT;\r
import com.google.gwt.dom.client.NativeEvent;\r
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
import com.google.gwt.event.dom.client.BlurEvent;\r
import com.google.gwt.event.dom.client.BlurHandler;\r
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import static com.google.gwt.query.client.GQuery.$;
-import gr.ebs.gss.client.FileList.FileValueUpdater;
-import gr.ebs.gss.client.FileList.Images;
-import gr.ebs.gss.client.FileList.TableResources;
-import gr.ebs.gss.client.FileList.TableStyle;
-import gr.ebs.gss.client.FileList.Templates;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.RestCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.SearchResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.RestCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.SearchResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import gwtquery.plugins.draggable.client.DraggableOptions;
import gwtquery.plugins.draggable.client.StopDragException;
import gwtquery.plugins.draggable.client.DraggableOptions.DragFunction;
import java.util.Iterator;
import java.util.List;
-import org.hibernate.mapping.Array;
-
import com.google.gwt.cell.client.AbstractCell;
import com.google.gwt.cell.client.ImageResourceCell;
import com.google.gwt.cell.client.SafeHtmlCell;
import com.google.gwt.cell.client.TextCell;
import com.google.gwt.cell.client.ValueUpdater;
-import com.google.gwt.cell.client.Cell.Context;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.RepeatingCommand;
-import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.dom.client.Style.Cursor;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.http.client.URL;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.ImageResource;
-import com.google.gwt.resources.client.ClientBundle.Source;
import com.google.gwt.safehtml.client.SafeHtmlTemplates;
-import com.google.gwt.safehtml.client.SafeHtmlTemplates.Template;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.user.cellview.client.CellTable;
-import com.google.gwt.user.cellview.client.Column;
import com.google.gwt.user.cellview.client.GssSimplePager;
-import com.google.gwt.user.cellview.client.TextColumn;
import com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy.KeyboardSelectionPolicy;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.DeferredCommand;
import com.google.gwt.user.client.Event;
-import com.google.gwt.user.client.IncrementalCommand;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.HTML;
-import com.google.gwt.user.client.ui.HasHorizontalAlignment;
-import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
-import com.google.gwt.user.client.ui.HTMLTable.Cell;
import com.google.gwt.view.client.AsyncDataProvider;
import com.google.gwt.view.client.HasData;
-import com.google.gwt.view.client.ListDataProvider;
import com.google.gwt.view.client.MultiSelectionModel;
import com.google.gwt.view.client.ProvidesKey;
import com.google.gwt.view.client.SelectionChangeEvent;
}
};
- private static class ContactCell extends AbstractCell<gr.ebs.gss.client.rest.resource.FileResource> {
+ private static class ContactCell extends AbstractCell<gr.ebs.gss.web.client.rest.resource.FileResource> {
/**
* The html of the image used for contacts.
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.ClickEvent;
* You should have received a copy of the GNU General Public License\r
* along with GSS. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-package gr.ebs.gss.client;\r
+package gr.ebs.gss.web.client;\r
\r
import com.google.gwt.event.dom.client.ClickEvent;\r
import com.google.gwt.event.dom.client.ClickHandler;\r
\r
/**\r
* Will bundle the file 'advancedsettings.png' residing in the package\r
- * 'gr.ebs.gss.resources'.\r
+ * 'gr.ebs.gss.web.resources'.\r
*\r
* @return the image prototype\r
*/\r
* License for the specific language governing permissions and limitations under
* the License.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.cell.client.Cell.Context;
import com.google.gwt.cell.client.ClickableTextCell;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.QuotaHolder;
-import gr.ebs.gss.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.QuotaHolder;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
import com.google.gwt.core.client.GWT;
import com.google.gwt.i18n.client.DateTimeFormat;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
-
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+package gr.ebs.gss.web.client;
+
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.NativeEvent;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
import com.google.gwt.user.client.DeferredCommand;
import com.google.gwt.user.client.IncrementalCommand;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
-import gr.ebs.gss.client.FilePropertiesDialog.Images;
-import gr.ebs.gss.client.rest.DeleteCommand;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+import gr.ebs.gss.web.client.FilePropertiesDialog.Images;
+import gr.ebs.gss.web.client.rest.DeleteCommand;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import java.util.ArrayList;
import java.util.Collections;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.animation;
+package gr.ebs.gss.web.client.animation;
import com.google.gwt.animation.client.Animation;
import com.google.gwt.user.client.DOM;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.animation;
+package gr.ebs.gss.web.client.animation;
import com.google.gwt.animation.client.Animation;
import com.google.gwt.user.client.DOM;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.clipboard;
+package gr.ebs.gss.web.client.clipboard;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.clipboard;
+package gr.ebs.gss.web.client.clipboard;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
import java.io.Serializable;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.clipboard.ClipboardItem;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.clipboard.ClipboardItem;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.clipboard.Clipboard;
-import gr.ebs.gss.client.clipboard.ClipboardItem;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.clipboard.Clipboard;
+import gr.ebs.gss.web.client.clipboard.ClipboardItem;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.DeleteFileDialog;
-import gr.ebs.gss.client.DeleteFolderDialog;
-import gr.ebs.gss.client.DeleteGroupDialog;
-import gr.ebs.gss.client.EditMenu.Images;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.DeleteFileDialog;
+import gr.ebs.gss.web.client.DeleteFolderDialog;
+import gr.ebs.gss.web.client.DeleteGroupDialog;
+import gr.ebs.gss.web.client.EditMenu.Images;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.DeleteGroupDialog;
-import gr.ebs.gss.client.DeleteUserDialog;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.Groups.Images;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.DeleteGroupDialog;
+import gr.ebs.gss.web.client.DeleteUserDialog;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.Groups.Images;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.PopupPanel;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.DeleteCommand;
-import gr.ebs.gss.client.rest.RestException;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.DeleteCommand;
+import gr.ebs.gss.web.client.rest.RestException;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Command;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import com.google.gwt.core.client.GWT;
-import com.google.gwt.http.client.URL;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.DeferredCommand;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.FileMenu.Images;
-import gr.ebs.gss.client.FolderPropertiesDialog;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.MultipleGetCommand;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupsResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.FileMenu.Images;
+import gr.ebs.gss.web.client.FolderPropertiesDialog;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupsResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.user.client.DeferredCommand;
import com.google.gwt.user.client.IncrementalCommand;
import com.google.gwt.user.client.ui.PopupPanel;
-import com.google.gwt.user.client.ui.TreeItem;
-
/**
* Display the 'new folder' dialog for creating a new folder.
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.GroupPropertiesDialog;
+import gr.ebs.gss.web.client.GroupPropertiesDialog;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.PopupPanel;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.UserAddDialog;
+import gr.ebs.gss.web.client.UserAddDialog;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.PopupPanel;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.clipboard.Clipboard;
-import gr.ebs.gss.client.clipboard.ClipboardItem;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.clipboard.Clipboard;
+import gr.ebs.gss.web.client.clipboard.ClipboardItem;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.DeferredCommand;
import com.google.gwt.user.client.ui.PopupPanel;
-import com.google.gwt.user.client.ui.TreeItem;
/**
* @author kman Command for pasting Clipboard contents
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
-
-import gr.ebs.gss.client.FileMenu;
-import gr.ebs.gss.client.FilePropertiesDialog;
-import gr.ebs.gss.client.FilesPropertiesDialog;
-import gr.ebs.gss.client.FolderPropertiesDialog;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.FileMenu.Images;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.HeadCommand;
-import gr.ebs.gss.client.rest.MultipleGetCommand;
-import gr.ebs.gss.client.rest.MultipleHeadCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.MultipleGetCommand.Cached;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupsResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+package gr.ebs.gss.web.client.commands;
+
+import gr.ebs.gss.web.client.FileMenu;
+import gr.ebs.gss.web.client.FilePropertiesDialog;
+import gr.ebs.gss.web.client.FilesPropertiesDialog;
+import gr.ebs.gss.web.client.FolderPropertiesDialog;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.FileMenu.Images;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.HeadCommand;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand;
+import gr.ebs.gss.web.client.rest.MultipleHeadCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand.Cached;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupsResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.FileMenu;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.FileMenu;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
-
-import gr.ebs.gss.client.GSS;
+package gr.ebs.gss.web.client.commands;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.PopupPanel;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
-
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.MultiplePostCommand;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.TrashFolderResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
+package gr.ebs.gss.web.client.commands;
+
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.MultiplePostCommand;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.TrashFolderResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.MultiplePostCommand;
-import gr.ebs.gss.client.rest.PostCommand;
-import gr.ebs.gss.client.rest.RestException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.MultiplePostCommand;
+import gr.ebs.gss.web.client.rest.PostCommand;
+import gr.ebs.gss.web.client.rest.RestException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.FileUploadDialog;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.GetCommand;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
+import gr.ebs.gss.web.client.FileUploadDialog;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.GetCommand;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.RestResourceWrapper;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.user.client.DeferredCommand;
import com.google.gwt.user.client.IncrementalCommand;
import com.google.gwt.user.client.ui.PopupPanel;
-import com.google.gwt.user.client.ui.TreeItem;
/**
* Upload a file command
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.commands;
+package gr.ebs.gss.web.client.commands;
-import gr.ebs.gss.client.FileMenu;
+import gr.ebs.gss.web.client.FileMenu;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
-package gr.ebs.gss.client.components;
+package gr.ebs.gss.web.client.components;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestBuilder;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.GroupsResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.OthersResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.SearchResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TagsResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UploadStatusResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
-import gr.ebs.gss.client.rest.resource.UserSearchResource;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.GroupsResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.OthersResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.SearchResource;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TagsResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UploadStatusResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
+import gr.ebs.gss.web.client.rest.resource.UserSearchResource;
import java.util.HashMap;
import java.util.Map;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
-
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.GroupsResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
+package gr.ebs.gss.web.client.rest;
+
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.GroupsResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
import com.google.gwt.core.client.GWT;
import com.google.gwt.http.client.Request;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
import java.util.ArrayList;
import java.util.HashMap;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
-
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.GroupsResource;
-import gr.ebs.gss.client.rest.resource.OtherUserResource;
-import gr.ebs.gss.client.rest.resource.OthersResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
+package gr.ebs.gss.web.client.rest;
+
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.GroupsResource;
+import gr.ebs.gss.web.client.rest.resource.OtherUserResource;
+import gr.ebs.gss.web.client.rest.resource.OthersResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
import java.util.ArrayList;
import java.util.Collections;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
-
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.MultipleGetCommand.Cached;
-import gr.ebs.gss.client.rest.resource.FileResource;
-import gr.ebs.gss.client.rest.resource.FolderResource;
-import gr.ebs.gss.client.rest.resource.GroupResource;
-import gr.ebs.gss.client.rest.resource.GroupUserResource;
-import gr.ebs.gss.client.rest.resource.GroupsResource;
-import gr.ebs.gss.client.rest.resource.RestResource;
-import gr.ebs.gss.client.rest.resource.SharedResource;
-import gr.ebs.gss.client.rest.resource.TrashResource;
-import gr.ebs.gss.client.rest.resource.UserResource;
+package gr.ebs.gss.web.client.rest;
+
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand.Cached;
+import gr.ebs.gss.web.client.rest.resource.FileResource;
+import gr.ebs.gss.web.client.rest.resource.FolderResource;
+import gr.ebs.gss.web.client.rest.resource.GroupResource;
+import gr.ebs.gss.web.client.rest.resource.GroupUserResource;
+import gr.ebs.gss.web.client.rest.resource.GroupsResource;
+import gr.ebs.gss.web.client.rest.resource.RestResource;
+import gr.ebs.gss.web.client.rest.resource.SharedResource;
+import gr.ebs.gss.web.client.rest.resource.TrashResource;
+import gr.ebs.gss.web.client.rest.resource.UserResource;
import java.util.ArrayList;
import java.util.HashMap;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
import java.util.ArrayList;
import java.util.HashMap;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
-import gr.ebs.gss.client.GSS;
+import gr.ebs.gss.web.client.GSS;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestBuilder;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestCallback;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.SessionExpiredDialog;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.SessionExpiredDialog;
import com.google.gwt.http.client.RequestBuilder;
import com.google.gwt.user.client.IncrementalCommand;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest;
+package gr.ebs.gss.web.client.rest;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestCallback;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.Date;
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
-import gr.ebs.gss.client.DisplayHelper;
-import gr.ebs.gss.client.GSS;
-import gr.ebs.gss.client.rest.MultipleGetCommand;
-import gr.ebs.gss.client.rest.MultipleGetCommand.Cached;
+import gr.ebs.gss.web.client.DisplayHelper;
+import gr.ebs.gss.web.client.GSS;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand.Cached;
import java.util.ArrayList;
import java.util.Date;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.json.client.JSONParser;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
-import gr.ebs.gss.client.rest.MultipleGetCommand;
-import gr.ebs.gss.client.rest.MultipleGetCommand.Cached;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand.Cached;
import java.util.ArrayList;
import java.util.Date;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.io.Serializable;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.Date;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
-import gr.ebs.gss.client.rest.MultipleGetCommand;
-import gr.ebs.gss.client.rest.MultipleGetCommand.Cached;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand;
+import gr.ebs.gss.web.client.rest.MultipleGetCommand.Cached;
import java.util.ArrayList;
import java.util.Date;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.Date;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.json.client.JSONParser;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.Date;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.rest.resource;
+package gr.ebs.gss.web.client.rest.resource;
import java.util.ArrayList;
import java.util.List;
<head>
<title>Pithos</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <script language='javascript' src='gr.ebs.gss.GSS.nocache.js'></script>
+ <script language='javascript' src='gr.ebs.gss.web.GSS.nocache.js'></script>
<script type="text/javascript">
document.oncontextmenu = function() {
return false;
package gr.ebs.gss.server.ejb;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.DuplicateNameException;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.DuplicateNameException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
import gr.ebs.gss.server.domain.FileHeader;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.Group;
package gr.ebs.gss.server.ejb;
import static gr.ebs.gss.server.configuration.GSSConfigurationFactory.getConfiguration;
-import gr.ebs.gss.client.exceptions.InsufficientPermissionsException;
-import gr.ebs.gss.client.exceptions.ObjectNotFoundException;
+import gr.ebs.gss.common.exceptions.InsufficientPermissionsException;
+import gr.ebs.gss.common.exceptions.ObjectNotFoundException;
import gr.ebs.gss.server.domain.Folder;
import gr.ebs.gss.server.domain.Permission;
import gr.ebs.gss.server.domain.User;
-import gr.ebs.gss.server.domain.dto.FolderDTO;
-import gr.ebs.gss.server.domain.dto.PermissionDTO;
import java.util.Hashtable;
import java.util.List;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client;
+package gr.ebs.gss.web.client;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.ide.tests;
+package gr.ebs.gss.web.client.selenium.ide.tests;
import org.junit.After;
import org.junit.Before;
import com.thoughtworks.selenium.*;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-
-
public class IDERightClick extends SeleneseTestCase{
/**
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import java.awt.AWTException;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import java.awt.AWTException;
import java.awt.Robot;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import java.util.Set;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import java.awt.AWTException;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import org.openqa.selenium.By;
-import org.junit.Test;
public class TestFileProperties extends TestFileBasics{
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import junit.framework.Assert;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import org.junit.Test;
* You should have received a copy of the GNU General Public License
* along with GSS. If not, see <http://www.gnu.org/licenses/>.
*/
-package gr.ebs.gss.client.selenium.tests;
+package gr.ebs.gss.web.client.selenium.tests;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
-import com.google.gwt.user.client.ui.AbstractImagePrototype;
-import com.google.gwt.user.client.ui.HTML;
-import com.google.gwt.user.client.ui.TreeItem;
-import com.google.gwt.user.client.ui.Widget;
-
public class TestGroup {
ActionUtils action;