Re: Compiling from source

"Sanjay Goel" <[email protected]> Wed, 20 Sep 2006 15:49:32 +0530
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Thanks Joe,
I am running maven but it gives me the following error:
C:\workspace\jahiasrc\jahia>maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Starting the reactor...
Our processing order:
Slide modification for Jahia
+----------------------------------------
| Build and install into repository patched version of Slide Slide
modification for Jahia
| Memory: 2M/3M
+----------------------------------------
build:start:

allBuild:
build:start:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to
C:\workspace\jahiasrc\jahia\patched-slide/target/classes
    [echo]
==========================================================

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==========================================================


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
    [echo] No test source files to compile.

test:test:
    [echo] No tests to run.
Copying: from 'C:\workspace\jahiasrc\jahia\patched-slide\target\patched-
slide-1.0.16.jar' to: 'C:\Documents and Settings
\sanjay\.maven\repository\patched-slide\jars\patched-slide-1.0.16.jar'
Copying: from 'C:\workspace\jahiasrc\jahia\patched-slide\project.xml' to:
'C:\Documents and Settings\sanjay\.maven\repos
itory\patched-slide\poms\patched-slide-1.0.16.pom'
Starting the reactor...
Our processing order:
Jahia CMS and Portal Server
+----------------------------------------
| Builds Jahia WAR application Jahia CMS and Portal Server
| Memory: 7M/11M
+----------------------------------------
Attempting to download slide-kernel-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/slide/jars/slide-kernel-2.2pre1-SNAPSHOT.jar]:
java.io.IOExcep
tion: Forbidden.
Attempting to download slide-roles-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/slide/jars/slide-roles-2.2pre1-SNAPSHOT.jar]:
java.io.IOExcept
ion: Forbidden.
Attempting to download slide-stores-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/slide/jars/slide-stores-2.2pre1-SNAPSHOT.jar]:
java.io.IOExcep
tion: Forbidden.
Attempting to download jakarta-slide-webdavlib-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/slide/jars/jakarta-slide-webdavlib-2.2pre1-SNAPSHOT.jar]:
java
.io.IOException: Forbidden.
Attempting to download slide-webdavservlet-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/slide/jars/slide-webdavservlet-2.2pre1-SNAPSHOT.jar]:
java.io.
IOException: Forbidden.
Attempting to download slide-log4jlogger-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/slide/jars/slide-log4jlogger-2.2pre1-SNAPSHOT.jar]:
java.io.IO
Exception: Forbidden.
Attempting to download pluto-1.0.1-JAHIA-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/org.apache.pluto/jars/pluto-1.0.1-JAHIA-SNAPSHOT.jar]:
java.io
.IOException: Forbidden.
Attempting to download clipBuilder-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/jahia/jars/clipBuilder-SNAPSHOT.jar]:
java.io.IOException: For
bidden.
Attempting to download jmock-SNAPSHOT.jar.
Error retrieving artifact from [
http://www.day.com/maven/jmock/jars/jmock-SNAPSHOT.jar]: java.io.IOException:
Forbidden
.

BUILD FAILED
File...... C:\workspace\jahiasrc\jahia\maven.xml
Element... maven:reactor
Line...... 23
Column.... 40
Unknown goal "jahia:war"
Total time: 53 seconds
Finished at: Wed Sep 20 15:47:37 IST 2006

What should I do?

Thanks
Sanjay

On 9/19/06, dominique (joe) pillot <[email protected]> wrote:
>
> hi,
> you just need to simply create this properties file at the root of your
> user home
> the mine for example have just these 2 lines and 3 commented (for an
> alternate tomcat):
>
> catalina.home.dir=/Applications/jakarta-tomcat-5.0.28
> catalina.version.major=5
>
> #version 5.5
> #catalina.home.dir=/Applications/apache-tomcat-5.5.12
> #catalina.version.major=5.5
>
>
>
>
>
> Le 19 sept. 06 à 17:38, Sanjay Goel a écrit :
>
> Hi,
> I have downloaded the source code of jahia and want to compile it. I
> followed the instructions in the README file in the root folder.
> However, I couldn't understand some of the steps. Like Step 4, it asks to
> modify build.properties. but I couldn't find any build.properties in the
> src tree.
> Is there any other updated document to install jahia on my machine? I
> intend to install it on tomcat 5.5 and mysql running on windows.
>
> Thanks in advance
> Sanjay Goel
> http://sanjaygoel.blogspot.com
>
>
>


-- 
Sanjay Goel
http://sanjaygoel.blogspot.com