Il 2016-05-01 08:34 Francesco Chicchiriccò ha scritto:
Ok Nuwan,
we've already been through this, let's provide again a bullet-proof,
easy to follow, procedure (I'll assume you're on Linux, given the
paths below).

Please be careful to execute all commands below *from command line*.

1. rm -rf /home/nuwan/Projects/gsoc/syncope

2. cd /home/nuwan/Projects

3. git clone https://git-wip-us.apache.org/repos/asf/syncope.git #
this is the official repo at the ASF

OR

git clone https://github.com/apache/syncope.git # this is the R/O
mirror as GitHub

OR

git clone https://github.com/NuwanSameera/syncope.git # this is
presumably your own fork, but it is behind upstream

4. cd syncope

5. # ONLY if you've chosen to clone your own fork, let's sync up with
upstream, e.g.

git remote add upstream https://github.com/NuwanSameera/syncope.git

Wrong: it should have been

git remote add upstream https://github.com/apache/syncope.git

git fetch upstream
git rebase upstream/master
git push -f

6. # build and install

export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" mvn -PskipTests,all # this builds and installs everything, skips all tests

7.

# in order to have the Syncope core up an running
cd fit/core-reference && mvn -Pdebug,all

# in order to have the Syncope core and console up and running
cd fit/console-reference && mvn -Pdebug

# in order to have the Syncope core, console and enduser up and running
cd fit/enduser-reference && mvn -Pdebug


I hardly see how this above could fail, please report, in case.
Regards.

On 2016-05-01 03:49 Nuwan Sameera wrote:
Hi,

Thank you.
I did configurations as http://syncope.apache.org/building.html . But my
problem doesn't solved.

java version "1.8.0_91"
Apache Maven 3.0.5
t
I build *master* branch.



*Error Log:*[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.8:run (setupCSV_CLI) on
project syncope-fit-core-reference: An Ant BuildException has occured:
Warning: Could not find file
/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/test-classes/test.csv
to copy.
[ERROR] around Ant part ...<copy
file="/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/test-classes/test.csv"
todir="/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/test-csvdir"
overwrite="true"/>... @ 4:196 in
/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/antrun/build-main.xml

*/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/test-classes/
*folder doesn't exist.

I take pull and try to build. Then it becomes another error.

*Error Log:*

[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
(rat-check) on project syncope-core: Too many files with unapproved
license: 1 See RAT report in:
/home/nuwan/Projects/gsoc/syncope/core/target/rat.txt -> [Help 1]

I solved this

*mvn clean install -Drat.skip=true*
Please give me support to me build syncope.

Thanks and Regards
Nuwan Sameera.


On Sat, Apr 30, 2016 at 6:51 AM, Francesco Chicchiriccò <ilgro...@apache.org
wrote:

On 30 april 2016 07:26:55 CEST, Nuwan Sameera <nuwansameer...@gmail.com>
wrote:
>Hi,
>
>I cloned syncope repository in github and try to build but. But build
>failed occurred.
>
>
>
>*Error Log :*[ERROR] Failed to execute goal
>org.apache.maven.plugins:maven-antrun-plugin:1.8:run (setupCSV_CLI) on
>project syncope-fit-core-reference: An Ant BuildException has occured:
>Warning: Could not find file

>/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/test-classes/test.csv
>to copy.
>[ERROR] around Ant part ...<copy

>file="/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/test-classes/test.csv"

>todir="/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/test-csvdir"
>overwrite="true"/>... @ 4:196 in

>/home/nuwan/Projects/gsoc/syncope/fit/core-reference/target/antrun/build-main.xml

Please follow instructions at

http://syncope.apache.org/building.html

Regards.
--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/

Reply via email to