google-code-backups / xinc

Automatically exported from code.google.com/p/xinc
0 stars 0 forks source link

Cannot build simple project or any other project #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. CentOS based server
2. Follow the pear installation guide.
3. Start Xinc and access the Xinc server

What is the expected output? What do you see instead?
The expected output should be at least the simple project build successful.
What is see is:
All projects are failed and the error is the same, please check log details
below.
And when executing just phing it throws me this (same on log): 
BUILD FAILED
Error reading project file [wrapped: PHPUnitTask.php does not exist]
Total time: 0.4627 seconds

that file is in:
locate PHPUnitTask.php
/usr/share/pear/phing/tasks/ext/phpunit/PHPUnitTask.php

Thank you in advance for your kind help. :)

What version of the product are you using? On what operating system?
Xinc version 2.0.0b196
CentOS 5
PHP 5.2.6
Apache 2.2.8
Phing version 2.3.1RC1
PHPUnit 3.3.0RC2
svn, version 1.4.4 (r25188)

Please provide any additional information below.

piece of xinc.log

 [info]   [2008-09-10 00:00:00-US/Eastern] Setting loglevel to 1
 [info]   [2008-09-10 00:00:00-US/Eastern] Processing task: property
 [debug]  [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject: Setting
property "${dir}" to "/var/xinc/projects/SimpleProject/"
 [info]   [2008-09-10 00:00:00-US/Eastern] Processing task: cron
 [info]   [2008-09-10 00:00:00-US/Eastern] CHECKING PROJECT SimpleProject
 [info]   [2008-09-10 00:00:00-US/Eastern] Processing task: modificationset
 [info]   [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject:
ModificationSet
Previous Revision: 
New Revision: 
Change detected: yes
Added Resources: 0
Modified Resources: 0
Deleted Resources: 0
Conflict Resources: 0
Merged Resources: 0

 [info]   [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject: Code not
up to date, building project
 [info]   [2008-09-10 00:00:00-US/Eastern] Processing task: builders
 [info]   [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject:
Processing builders
 [debug]  [2008-09-10 00:00:00-US/Eastern] Switching to directory:
/var/xinc/projects/SimpleProject
 [info]   [2008-09-10 00:00:00-US/Eastern] Buildfile:
/var/xinc/projects/SimpleProject/build.xml

 [info]   [2008-09-10 00:00:00-US/Eastern] 

 [info]   [2008-09-10 00:00:00-US/Eastern] BUILD FAILED

 [info]   [2008-09-10 00:00:00-US/Eastern] Error reading project file
[wrapped: PHPUnitTask.php does not exist]

 [info]   [2008-09-10 00:00:00-US/Eastern] Total time: 0.4529 seconds

 [info]   [2008-09-10 00:00:00-US/Eastern] 

 [error]  [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject: Phing
command phing -logger phing.listener.NoBannerLogger -logfile
/var/xinc/projects/SimpleProject/5f27de5b2d99b5d7cb5f92578e7cf45f.log
-buildfile /var/xinc/projects/SimpleProject//build.xml build
-Dxinc.buildlabel="BUILD.1" -Dprojectname="SimpleProject"
-Dcctimestamp="1221019200" -Dxinc."project.name"="SimpleProject"
-Dxinc."build.number"="1" -Dxinc."build.label"="BUILD.1"
-Dxinc."workingdir"="/var/xinc/projects"
-Dxinc."statusdir"="/var/xinc/status"
-Dxinc."projectdir"="/var/xinc/projects"
-Dxinc."dir"="/var/xinc/projects/SimpleProject/"
-Dxinc."build.timestamp"="1221019200" -Dxinc."changeset"="ModificationSet
Previous Revision: 
New Revision: 
Change detected: yes
Added Resources: 0
Modified Resources: 0
Deleted Resources: 0
Conflict Resources: 0
Merged Resources: 0
"  2>&1 exited with status: 1
 [error]  [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject: Build FAILED 
 [error]  [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject: BUILD FAILED
 [info]   [2008-09-10 00:00:00-US/Eastern] Processing task: publishers
 [info]   [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject:
Processing publishers
 [error]  [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject:
Registering test results:
->/var/xinc/status/SimpleProject/20080910/1221019200/testresults/ failed.
 [error]  [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject: --  is
not within project dir. Security Problem.
 [info]   [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject:
Publishing with OnFailure Publishers
 [info]   [2008-09-10 00:00:00-US/Eastern] [build] SimpleProject:
Publishing with OnFailure Publisher: Xinc_Plugin_Repos_Publisher_Email_Task
 [info]   [2008-09-10 00:00:00-US/Eastern] [project] SimpleProject:
Executing email publisher with content 
To: root
Subject: SimpleProject build 1 failed
Message: The build failed.
From: xinc@localhost 

Original issue reported on code.google.com by ros...@gmail.com on 10 Sep 2008 at 4:00

GoogleCodeExporter commented 8 years ago
It seems that the problem was related to CentOS as OS, i moved Xinc over an 
ubuntu
system and it works ok. I think that the problem i was having was related to 
Phing
version but i'm not sure. Thx anyway Guys.

Original comment by ros...@gmail.com on 11 Sep 2008 at 12:49

GoogleCodeExporter commented 8 years ago
This is most likely related to the phing bug here 
http://phing.info/trac/ticket/273

Marking as Invalid since this is not something we can fix.

Original comment by jcaro...@gmail.com on 7 Nov 2008 at 4:27