Closed GoogleCodeExporter closed 8 years ago
Do this instead:
<publishers>
...
<onsuccess>
<phingPublisher
buildfile="${project.home}/publish.xml" target="build"/>
<deliverable file="${project.home}/builds/release-${build.label}.tar.gz" />
</onsuccess>
</publishers>
Otherwise you try to publish a deliverable before its generated.
Original comment by arnos...@gmail.com
on 19 May 2008 at 10:36
I see
Original comment by kingo...@gmail.com
on 19 May 2008 at 10:45
Same error message but in other place:
[error] [2008-05-23 21:05:58-Europe/Kiev] [build] diy-telme: Registering doc:
->/var/xinc/status/diy-telme/20080523/1211565958/documentation/PHPDoc
Documentation/
failed.
[error] [2008-05-23 21:05:58-Europe/Kiev] [build] diy-telme: -- is not within
project dir. Security Problem.
Original comment by kingo...@gmail.com
on 12 Jun 2008 at 8:37
Hi folks,
I'm having the same problem ... I followed the advice by Arno and rearanged the
tags,
but without success. I'm attaching my buildfiles, maybe this helps a bit...
Kind regards,
Mario
Original comment by mario.mu...@gmail.com
on 12 Jun 2008 at 11:32
Attachments:
Oleg:
/var/xinc/status/diy-telme/20080523/1211565958/documentation/PHPDoc
Documentation/
Is there a space for real in the path name?
I need to check the code, but I think there might be the problem in your case.
Try to generate the phpdoc in this path:
/var/xinc/status/diy-telme/20080523/1211565958/documentation/phpdoc/
And then please tell me if it works for you.
Original comment by arnos...@gmail.com
on 12 Jun 2008 at 11:54
Its real:
oleg@shoom-alpha:~$ ls
/var/xinc/status/diy-telme/20080523/1211565958/documentation/PHPDoc\
Documentation/
Original comment by kingo...@gmail.com
on 12 Jun 2008 at 11:56
here is the code snippet for this problem:
Xinc_Plugin_Repos_Documentation::registerDocumentation
..
$build->debug('Trying to register documentation: ' . $sourceFile);
$sourceFile = realpath($sourceFile);
...
$sourceFile is false afterwards, that means that the path does not exist.
Please check if thats the case.
Original comment by arnos...@gmail.com
on 12 Jun 2008 at 12:00
Then please try to register:
<documentation file="documentation/PHPDoc\ Documentation/"..../>
Original comment by arnos...@gmail.com
on 12 Jun 2008 at 12:02
Now it looks like:
<documentation file="${project.build.dir}/docs/apidocs/html/"
alias="PHPDoc Documentation"
index="${project.build.dir}/docs/apidocs/html/index.html"/>
Original comment by kingo...@gmail.com
on 12 Jun 2008 at 12:20
please try
<documentation file="${project.build.dir}/docs/apidocs/html/"
alias="PHPDoc"
index="${project.build.dir}/docs/apidocs/html/index.html"/>
to see if thats the problem.
thx
Original comment by arnos...@gmail.com
on 12 Jun 2008 at 12:29
I have an other project under xinc with same line in xml, and it is built fine.
Original comment by kingo...@gmail.com
on 12 Jun 2008 at 12:53
Original comment by opitz.al...@googlemail.com
on 1 Oct 2011 at 11:06
[deleted comment]
Cannot reproduce with 2.3alpha2, so I will close this issue, please open
another one, if it isn't resolved for you.
Original comment by opitz.al...@googlemail.com
on 27 Aug 2013 at 11:07
Original issue reported on code.google.com by
kingo...@gmail.com
on 19 May 2008 at 10:34