Project sources

Community

Sources are available under LGPL licence with mercurial at https://becpg.fr/hg/becpg-community

Checkout the code using mercurial:

$ hg clone https://becpg.fr/hg/becpg-community

user: read-only password : read-only

Example using mercurial to make a patch:

(make changes)
$ hg commit
$ hg export tip    # export the most recent commit

Build project

You should use Apache Maven version 3 or more to build project. Maven can be found at https://maven.apache.org/ or you can use maven wrapper inside becpg-communnity project

You also need docker https://www.docker.com/

First download and install becpg-report and becpg-report-client jar

$> wget https://sourceforge.net/projects/becpg-community/files/becpg-report_3_2_a/becpg-report-3.2.0-community.zip/download -O becpg-report-3.2.0-community.zip
$> unzip becpg-report-3.2.0-community.zip
$> cd becpg-report-3.2.0/
$> mvn install:install-file -Dfile=./becpg-report-3.2.0-client.jar -DgroupId=fr.becpg -DartifactId=becpg-report -Dversion=3.2.0 -Dpackaging=jar -Dclassifier=client
$> docker-compose build

Then use run.sh to start docker with becpg-community You can also generates alfresco AMP using:

$> cd becpg-communnity
$>./mvnw clean package -DskipTests=true -P full

Projects AMP can be found in target dirs.

Start beCPG report

First download becpg-report

$>unzip becpg-report-3.2.0-community.zip
$>cd becpg-report-3.2.0/

Start using docker

$>docker-compose build
$>docker-compose up

Start using script

$>./start.sh

Start beCPG in Docker

Install requirement

$> cp docker-compose.override.yml.sample docker-compose.override.yml
$> ./run.sh install

Run beCPG in docker

$> ./run.sh build_start

Refer also to Alfresco Maven SDK 4.0 for more details

Run Tests

To run all integration tests :

$> ./run.sh test

To run specific test

$> ./mvnw test -Dtest=MyTest.java -DfailIfNoTests=false

Integrations tests require beCPG server to be launch first (./run.sh build_start).

Download prebuild version

You can download beCPG community on SourceForge or you can build it from sources.

Each module has a community release provided as a Zip archive.

Prerequisite:

The Alfresco Community version: http://www.alfresco.com/products/community/download Or the Alfresco One version: http://www.alfresco.com/products/enterprise/trial

Manually deploy AMP

Projects should be build and alfresco set-up and running. Once build you will find files under target dirs.

Install becpg-designer

Install core AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-core/target/becpg-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-designer/becpg-designer-core/target/becpg-designer-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force

Install share AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-share/target/becpg-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-designer/becpg-designer-share/target/becpg-designer-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force

Install becpg-project

Install core AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-core/target/becpg-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-project/becpg-project-core/target/becpg-project-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force

Install share AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-share/target/becpg-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-project/becpg-project-share/target/becpg-project-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force

Install becpg-plm

Install core AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-core/target/becpg-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-designer/becpg-designer-core/target/becpg-designer-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-project/becpg-project-core/target/becpg-project-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-plm/becpg-plm-core/target/becpg-plm-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force

Install share AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-share/target/becpg-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-designer/becpg-designer-share/target/becpg-designer-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-project/becpg-project-share/target/becpg-project-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-plm/becpg-plm-share/target/becpg-plm-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force

Translate projects

Create an account to

https://translate.zanata.org/zanata/project/view/becpg

and submit your translations

Enterprise

Enterprise sources are not available publicly please contact us.

results matching ""

    No results matching ""