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
$ hg clone https://becpg.fr/hg/becpg-tools
$ hg clone https://becpg.fr/hg/becpg-report

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/

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

First install becpg-tools and becpg-report

hg clone https://becpg.fr/hg/becpg-tools
cd becpg-tools
mvn clean install
hg clone https://becpg.fr/hg/becpg-report
cd becpg-report
mvn clean install

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

$> cd becpg
$> mvn clean package -DskipTests=true

Projects can be found in target dirs.

Start beCPG in Docker

Install requirement

$> ./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

$> mvn 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 ""