From: Alessandro G. <a.g...@lo...> - 2010-01-28 11:43:42
|
Hi Ardeshir, have you managed to build the workflow module for LogicalDOC 5.0? Indeed activate this module is more complicated because the workflow module has a dependency from the APIs of the web module of logicaldoc. So starting from the sources and from the instructions already provided in the README present in the source archive i will guide you in this process. 1) go into web-module folder; logicaldoc/logicaldoc-web launch the command: mvn -Dmaven.test.skip=true install 2) go into workflow module folder: logicaldoc-workflow launch the command: mvn -Dmaven.test.skip=true install To this point you have 2 options: 1) Build a complete war file of LogicalDOC 5.0 complete with the workflow module a) modify the pom.xml of the web-module go into the web-module folder: logicaldoc/logicaldoc-web open the pom.xml with your favorite text editor adds the following section after the: logicaldoc-external-authentication artifactItem <artifactItem> <groupId>com.logicaldoc</groupId> <artifactId>logicaldoc-workflow</artifactId> <version>${project.version}</version> <type>zip</type> <classifier>plugin</classifier> <overWrite>true</overWrite> <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/plugins</outputDirectory> </artifactItem> save pom.xml b) inside the web-module folder of logicaldoc from a shell launch the command: mvn -Dmaven.test.skip=true clean package c) in the end in folder logicaldoc/logicaldoc-web/target you should find the .war of logicaldoc 5.0 with the workflow plugin compiled inside logicaldoc.war\WEB-INF\plugins\logicaldoc-workflow-5.0.0-plugin.zip 2) Simply Add the workflow plugin to an already deplowed LD web-application a) deploy LD on tomcat by putting the .war file you can find in: logicaldoc/logicaldoc-web/target/ to the tomcat/webapps folder b) Launch tomcat and ensure that the startup procedure complete c) Shutdown tomcat d) Copy the logicaldoc-workflow/target/<workdlow_plugin.zip> into the folder tomcat/webapps/logicaldoc/WEB-INF/plugins e) restart tomcat f) perform the setup of logicaldoc 5.0 Hoping that this long email can help you and all the LogicalDOC developer's community Best regards Alessandro Il 26/01/2010 14.18, Ardeshir.T ha scritto: > I think I know where the problem is. I didn't build the work-flow > module in the modules directory. I will build and see if it comes in. > Sorry for bothering you. > > > > > > > --- On *Tue, 26/1/10, Ardeshir.T * wrote: > > > From: Ardeshir.T > Subject: Re: > To: "Alessandro Gasparini" > Date: Tuesday, 26 January, 2010, 11:04 > > Hi Alessandro, > > I finally checked out the source code and managed to build 5.0. > Thanks very much for looking after the problem. > I have a question though, the source code includes the source of > 5.0 but not 5.0.1, do you think 5.0.1 source is going to be > released soon? I am asking because for example 5.0.1 includes > work-flow feature but 5.0 does not! I build 5.0, deployed the war > file and managed to install and run the application but > surprisingly the work-flow feature was missing. Is this normal? > > Thank you very much Alessandro and hope to hear from you soon. > Cheers > Ardeshir > > > > > --- On *Thu, 14/1/10, Alessandro Gasparini * wrote: > > > From: Alessandro Gasparini > Subject: Re: > To: "Ardeshir.T" > Date: Thursday, 14 January, 2010, 16:10 > > Hi Ardeshir, > > as maybe you've already see in the month of december we > released a lot of things related of logicaldoc. > In first there was the upgrade from 4.5 to 4.6 and then we > released LogicalDOC version 5.0. > > Have you succesfully completed the build of the sources for LD > 4.5.2 ? or 4.6 > if not i wont to advise that we released the sources of LD 5.0 > complete with detailded instructions to build the sorces. > Maybe you could be interested > > Otherwhise finally i've the time to help you ... > > Best regards > Alessandro > > > > Ardeshir.T ha scritto: >> Hello Alessandro, hope you are doing well. >> I have downloaded the source code of LD 4.5.2 and 4.6 but I >> have a problem with building them. >> I get the following error: >> >> >> >> [INFO] Failed to resolve artifact. >> >> >> Missing: >> >> 1) com.logicaldoc:logicaldoc-util:jar:4.5.2 >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: mvn install:install-file >> -DgroupId=com.logicaldoc -DartifactId=logicaldoc-util >> -Dversion=4.5.2 -Dpackaging=jar -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy >> the file there: mvn deploy:deploy-file >> -DgroupId=com.logicaldoc -DartifactId=logicaldoc-util >> -Dversion=4.5.2 -Dpackaging=jar -Dfile=/path/to/file >> -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: 1) >> com.logicaldoc:logicaldoc-core:jar:4.5.2 2) >> com.logicaldoc:logicaldoc-util:jar:4.5.2 >> >> ------------------------------------------------------------------------ >> >> 1 required artifact is missing. >> >> for artifact: com.logicaldoc:logicaldoc-core:jar:4.5.2 >> >> from the specified remote repositories: logicaldoc >> (http://logicaldoc.sourceforge.net/maven), java.net >> (http://download.java.net/maven/1), >> maven2-repository.dev.java.net >> (http://download.java.net/maven/2/), ibiblio >> (http://www.ibiblio.org/maven2), jboss >> (http://repository.jboss.com/maven2), central >> (http://repo1.maven.org/maven2), maven-repository >> (https://maven-repository.dev.java.net/repository) >> >> >> >> >> Could you please have a look and see whats wrong. >> Many thanks and regards. >> Ardeshir >> >> >> > |