03-08-2011 04:25 PM
[alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
[alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
Exception in thread "main" org.alfresco.error.AlfrescoRuntimeException: 02080001 File server configuration error, 02080000 Failed to initialize desktop action
<snip>
Caused by: org.alfresco.error.AlfrescoRuntimeException: 02080000 Failed to initialize desktop action
<snip>
Caused by: org.alfresco.filesys.alfresco.DesktopActionException: Unable to resolve drag and drop application as a file, class path resource [alfresco/desktop/Alfresco.exe]
<snip>
<path id="classpath">
<fileset dir="../../lib/server">
<include name="**/*.jar"/>
</fileset>
</path>
<pathconvert property="manifestpath" pathsep=" ">
<path refid="classpath"/>
<mapper>
<chainedmapper>
<flattenmapper/>
<globmapper from="*.jar" to="lib/*.jar"/>
</chainedmapper>
</mapper>
</pathconvert>
<target name="dist" depends="compile">
<mkdir dir="${dist.dir}"/>
<mkdir dir="${dist.dir}/lib"/>
<copy flatten="true" todir="${dist.dir}/lib">
<fileset dir="../../lib/server" includes="**/*.jar"/>
</copy>
<jar destfile="${dist.dir}/sample.jar">
<fileset dir="${build.dir}"/>
<fileset dir="../../lib/server/config" includes="alfresco/**"/>
<manifest>
<attribute name="Main-Class" value="org.alfresco.sample.FirstFoundationClient"/>
<attribute name="Class-Path" value="${manifestpath}"/>
</manifest>
</jar>
</target>
03-10-2011 09:16 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.