[gradebook2-dev] [Building Sakai] gradebook2 build
Thomas Amsler
tpamsler at ucdavis.edu
Sat Aug 14 16:17:19 PDT 2010
Jon,
I just tried to build Sakai 2.7.0 with Gradebook2 v1.3.0 and it works for
me, using Maven 2.2.1. I think the error is cause the way we generate a
specific version file. If you look at gradebook2/server/pom.xml, you see
that at the end, we have:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>validate</phase>
<configuration>
<tasks>
<ant antfile
= "${basedir}/build.xml"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>${basedir}/src/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
..., which executes the gradebook2/server/build.xml. If that's the only
problem, then you can just uncomment:
<ant antfile = "${basedir}/build.xml"/>
in the gradebook2/server/pom.xml file.
Let me know if that works. We will change this process in the next release,
see http://jira.sakaiproject.org/browse/GRBK-710
Best,
-- Thomas
On Sat, Aug 14, 2010 at 3:52 PM, Thomas Amsler <tpamsler at ucdavis.edu> wrote:
> Jon,
>
> What version of maven are you using? We are building with "Apache Maven
> 2.2.1".
>
> Best,
> -- Thomas
>
> On Sat, Aug 14, 2010 at 3:46 PM, Thomas Amsler <tpamsler at ucdavis.edu>wrote:
>
>> Jon,
>>
>> I will try this sometime today and let will you know what I can find out.
>>
>> Best,
>> -- Thomas
>>
>> On Sat, Aug 14, 2010 at 12:43 PM, Jon Wheat <jwheat at messiah.edu> wrote:
>>
>>> not sure if anyone is around today - but I'm attempting to get
>>> gradebook 2 installed.
>>> I've changed the pom.xml to 2.7.0 (instead of 2.7-SNAPSHOT)
>>>
>>> when I mvn clean install - I get this -
>>>
>>> [INFO] Executing tasks
>>>
>>> doSvnInfo:
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] An Ant BuildException has occured: The following error occurred
>>> while executing this line:
>>> /home/sakai/sakai-2.7.0/gradebook2/server/build.xml:4: Execute failed:
>>> java.io.IOException: Cannot run program "svn": java.io.IOException: error=2,
>>> No such file or directory
>>>
>>>
>>> not sure why it can't run svn - its in the path, did I miss a step
>>> somewhere ?
>>>
>>> -Jon
>>>
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20100814/66b70e17/attachment.html
More information about the gradebook2-dev
mailing list