On Fri, Apr 19, 2013 at 9:32 PM, Ahmed Wafa <[email protected]>wrote:

> Hi,
>
> I was wondering if someone ever got a "java.io.FileNotFoundException
> (permission denied)" exception while trying to deploy a p2 update site
> created by a maven tycho build through Hudson.
> After I sign my jars, I added a plugin in the "pom.xml" of the update site
> project for deploying but I get this exception although I have write access
> and can deploy manually through ssh outside of Hudson. The problem seems to
> be that, through Hudson, I don't have enough write access or something.
> After I did some googling, I discovered that it might be a bug with Hudson.
> Is this possible? Here's the plugin I added followed by the exception:
>
> Plugin to "pom.xml" of p2updatesite project:
> <plugin>
>               <artifactId>maven-antrun-plugin</artifactId>
>               <executions>
>                 <execution>
>                   <id>deploy</id>
>                   <phase>install</phase>
>                   <goals>
>                     <goal>run</goal>
>                   </goals>
>                   <configuration>
>                     <tasks>
>                       <delete includeemptydirs="false">
>                         <fileset
>                           dir="/home/data/httpd/
> download.eclipse.org/jwt/integration-update-site">
>                           <include name="**" />
>                         </fileset>
>                       </delete>
>                       <copy includeemptydirs="false"
>                         todir="/home/data/httpd/
> download.eclipse.org/jwt/integration-update-site">
>                         <fileset dir="target/checksumFix">
>                           <include name="**" />
>                         </fileset>
>                       </copy>
>                     </tasks>
>                   </configuration>
>                 </execution>
>               </executions>
>             </plugin>
>
> _______________________________________________
> cross-project-issues-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
>
this probably means that Hudson doesn't have write access on these folders.
You could try to deploy from Hudson to Nexus [1] instead and run a cron job
under your user account to download the p2 repository from Nexus to the
download folder.

[1]
http://wiki.eclipse.org/Services/Nexus#Deploying_artifacts_to_repo.eclipse.org

--
Matthias
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to