You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ron Wheeler <rw...@artifact-software.com> on 2005/10/06 17:36:58 UTC

Building from Source

The following text from "getting started" seems to contradict itself.. 
can someone rewrite this to be clearer about what should NOT be defined 
and what NEEDS to be defined.
"should not define any of those properties" followed by "still need to 
specify"  leavves way too much to the imagination.

<quote>
You should /*not*/ define any of those properties in your 
|${USER_HOME}/build.properties|.
Instead, you /must/ set a |org.apache.jetspeed.project.home| property, 
specifying the location where you expanded the downloaded source or 
checked out the source from subversion, like:

            
# required Jetspeed 2 portal configuration property for building from the source
org.apache.jetspeed.project.home = /home/apache/jetspeed-2/
          

/ Note: you still need to specify the required application server 
properties as described above 
<http://portals.apache.org/jetspeed-2/getting-started.html#Required_Application_Server_Properties>.

</quote>

/What exactly goes in the |${USER_HOME}/build.properties|. file?


I am currently getting an error when I try to do the build

C:\eclipse\workspace\jakarta-jetspeed-2>maven initMavenP
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

BUILD FAILED
Goal "initMavenPlugin" does not exist in this project.

|My ${USER_HOME}/build.properties|. ciurrently contains the following 
(usernames and password withheld to protect the silly.

# required Jetspeed 2 portal configuration property for building from 
the source
org.apache.jetspeed.project.home = c:/eclipse/workspace/jakarta-jetspeed-2/

# jetspeed required properties
org.apache.jetspeed.server.home = c:/tomcat
org.apache.jetspeed.catalina.version.major = 5.5
org.apache.jetspeed.server.shared = 
${org.apache.jetspeed.server.home}/shared/lib
org.apache.jetspeed.deploy.war.dir = 
${org.apache.jetspeed.server.home}/webapps
org.apache.jetspeed.services.autodeployment.user = yyy
org.apache.jetspeed.services.autodeployment.password = xxx


# configure MySQL Test DB
# -------------------------------------------------------------------------
org.apache.jetspeed.test.database.default.name=mysql
org.apache.jetspeed.test.database.url = jdbc:mysql://localhost:3306/j2test
org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
org.apache.jetspeed.test.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar
org.apache.jetspeed.test.database.user = aaa
org.apache.jetspeed.test.database.password = bbb
# -------------------------------------------------------------------------
# configure MySQL Production DB
# -------------------------------------------------------------------------
org.apache.jetspeed.production.database.default.name=mysql
org.apache.jetspeed.production.database.url = jdbc:mysql://localhost:3306/j2
org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
org.apache.jetspeed.production.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar
org.apache.jetspeed.production.database.user = aaa
org.apache.jetspeed.production.database.password = bbb




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Building from Source

Posted by Ron Wheeler <rw...@artifact-software.com>.
I did maven allClean allBuild and that worked (took 25 minutes)

There are dozens of maven goals if I look in Eclipse at project.xml.

I tried initMavenPlugin after the successful run and it is still not there.

The maven allBuild seems to have downloaded files that included 
2.0-M4-SNAPSHOT in their names.

Ron

Raj Saini wrote:

> Ron,
>
> Do you have project.xml file in the directory where you are running:
>
> <code>
>    maven initMavenPlugin
> </code>
>
> I dont see any problem with your build.properties file.
>
> Are you using Eclipse? If you are try running the Maven from Eclipse. 
> You can see the goals defined in the project.xml
>
> I tried it just now and it worked for me.
>
> Regards,
>
> Raj
>
>
> If you have try to run maven from your eclips
> Ron Wheeler wrote:
>
>> The following text from "getting started" seems to contradict 
>> itself.. can someone rewrite this to be clearer about what should NOT 
>> be defined and what NEEDS to be defined.
>> "should not define any of those properties" followed by "still need 
>> to specify"  leavves way too much to the imagination.
>>
>> <quote>
>> You should /*not*/ define any of those properties in your 
>> |${USER_HOME}/build.properties|.
>> Instead, you /must/ set a |org.apache.jetspeed.project.home| 
>> property, specifying the location where you expanded the downloaded 
>> source or checked out the source from subversion, like:
>>
>>            # required Jetspeed 2 portal configuration property for 
>> building from the source
>> org.apache.jetspeed.project.home = /home/apache/jetspeed-2/
>>         / Note: you still need to specify the required application 
>> server properties as described above 
>> <http://portals.apache.org/jetspeed-2/getting-started.html#Required_Application_Server_Properties>. 
>>
>>
>> </quote>
>>
>> /What exactly goes in the |${USER_HOME}/build.properties|. file?
>>
>>
>> I am currently getting an error when I try to do the build
>>
>> C:\eclipse\workspace\jakarta-jetspeed-2>maven initMavenP
>> __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>>
>> BUILD FAILED
>> Goal "initMavenPlugin" does not exist in this project.
>>
>> |My ${USER_HOME}/build.properties|. ciurrently contains the following 
>> (usernames and password withheld to protect the silly.
>>
>> # required Jetspeed 2 portal configuration property for building from 
>> the source
>> org.apache.jetspeed.project.home = 
>> c:/eclipse/workspace/jakarta-jetspeed-2/
>>
>> # jetspeed required properties
>> org.apache.jetspeed.server.home = c:/tomcat
>> org.apache.jetspeed.catalina.version.major = 5.5
>> org.apache.jetspeed.server.shared = 
>> ${org.apache.jetspeed.server.home}/shared/lib
>> org.apache.jetspeed.deploy.war.dir = 
>> ${org.apache.jetspeed.server.home}/webapps
>> org.apache.jetspeed.services.autodeployment.user = yyy
>> org.apache.jetspeed.services.autodeployment.password = xxx
>>
>>
>> # configure MySQL Test DB
>> # 
>> ------------------------------------------------------------------------- 
>>
>> org.apache.jetspeed.test.database.default.name=mysql
>> org.apache.jetspeed.test.database.url = 
>> jdbc:mysql://localhost:3306/j2test
>> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
>> org.apache.jetspeed.test.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>>
>> org.apache.jetspeed.test.database.user = aaa
>> org.apache.jetspeed.test.database.password = bbb
>> # 
>> ------------------------------------------------------------------------- 
>>
>> # configure MySQL Production DB
>> # 
>> ------------------------------------------------------------------------- 
>>
>> org.apache.jetspeed.production.database.default.name=mysql
>> org.apache.jetspeed.production.database.url = 
>> jdbc:mysql://localhost:3306/j2
>> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
>> org.apache.jetspeed.production.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>>
>> org.apache.jetspeed.production.database.user = aaa
>> org.apache.jetspeed.production.database.password = bbb
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Building from Source

Posted by Raj Saini <ra...@gmail.com>.
Ron Wheeler wrote:

> Which file is the initMavenPlugin goal defined?
>
If you are using Mavenide, you can see all the goals on Argument tab of 
your project context menu(right click)->Maven->Run Maven dialog box and 
clicking on choose button at the bottom.

Regards,

Raj

> Ron
>
> Raj Saini wrote:
>
>> Ron,
>>
>> Do you have project.xml file in the directory where you are running:
>>
>> <code>
>>    maven initMavenPlugin
>> </code>
>>
>> I dont see any problem with your build.properties file.
>>
>> Are you using Eclipse? If you are try running the Maven from Eclipse. 
>> You can see the goals defined in the project.xml
>>
>> I tried it just now and it worked for me.
>>
>> Regards,
>>
>> Raj
>>
>>
>> If you have try to run maven from your eclips
>> Ron Wheeler wrote:
>>
>>> The following text from "getting started" seems to contradict 
>>> itself.. can someone rewrite this to be clearer about what should 
>>> NOT be defined and what NEEDS to be defined.
>>> "should not define any of those properties" followed by "still need 
>>> to specify"  leavves way too much to the imagination.
>>>
>>> <quote>
>>> You should /*not*/ define any of those properties in your 
>>> |${USER_HOME}/build.properties|.
>>> Instead, you /must/ set a |org.apache.jetspeed.project.home| 
>>> property, specifying the location where you expanded the downloaded 
>>> source or checked out the source from subversion, like:
>>>
>>>            # required Jetspeed 2 portal configuration property for 
>>> building from the source
>>> org.apache.jetspeed.project.home = /home/apache/jetspeed-2/
>>>         / Note: you still need to specify the required application 
>>> server properties as described above 
>>> <http://portals.apache.org/jetspeed-2/getting-started.html#Required_Application_Server_Properties>. 
>>>
>>>
>>> </quote>
>>>
>>> /What exactly goes in the |${USER_HOME}/build.properties|. file?
>>>
>>>
>>> I am currently getting an error when I try to do the build
>>>
>>> C:\eclipse\workspace\jakarta-jetspeed-2>maven initMavenP
>>> __  __
>>> |  \/  |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>>>
>>> BUILD FAILED
>>> Goal "initMavenPlugin" does not exist in this project.
>>>
>>> |My ${USER_HOME}/build.properties|. ciurrently contains the 
>>> following (usernames and password withheld to protect the silly.
>>>
>>> # required Jetspeed 2 portal configuration property for building 
>>> from the source
>>> org.apache.jetspeed.project.home = 
>>> c:/eclipse/workspace/jakarta-jetspeed-2/
>>>
>>> # jetspeed required properties
>>> org.apache.jetspeed.server.home = c:/tomcat
>>> org.apache.jetspeed.catalina.version.major = 5.5
>>> org.apache.jetspeed.server.shared = 
>>> ${org.apache.jetspeed.server.home}/shared/lib
>>> org.apache.jetspeed.deploy.war.dir = 
>>> ${org.apache.jetspeed.server.home}/webapps
>>> org.apache.jetspeed.services.autodeployment.user = yyy
>>> org.apache.jetspeed.services.autodeployment.password = xxx
>>>
>>>
>>> # configure MySQL Test DB
>>> # 
>>> ------------------------------------------------------------------------- 
>>>
>>> org.apache.jetspeed.test.database.default.name=mysql
>>> org.apache.jetspeed.test.database.url = 
>>> jdbc:mysql://localhost:3306/j2test
>>> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
>>> org.apache.jetspeed.test.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>>>
>>> org.apache.jetspeed.test.database.user = aaa
>>> org.apache.jetspeed.test.database.password = bbb
>>> # 
>>> ------------------------------------------------------------------------- 
>>>
>>> # configure MySQL Production DB
>>> # 
>>> ------------------------------------------------------------------------- 
>>>
>>> org.apache.jetspeed.production.database.default.name=mysql
>>> org.apache.jetspeed.production.database.url = 
>>> jdbc:mysql://localhost:3306/j2
>>> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
>>> org.apache.jetspeed.production.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>>>
>>> org.apache.jetspeed.production.database.user = aaa
>>> org.apache.jetspeed.production.database.password = bbb
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Building from Source

Posted by Rohnny Moland <rm...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Look in jetspeed home/maven.xml. You should find the plugin itself in
jetspeed home/maven-plugin dir. If you cant find this directory, you
should try re-sync out the svn head of j2.

You also need to define these properties in build.properties, which
contains info about where your customized jetspeed-2 portal should be
located:

org.apache.jetspeed.portal.home           = /home/myportal/
org.apache.jetspeed.portal.groupId        = myprojects
org.apache.jetspeed.portal.artifactId     = myportal
org.apache.jetspeed.portal.name           = My Test Portal
org.apache.jetspeed.portal.currentVersion = 1.0

(couldnt see them in the build.properties file you posted)


Hope this helps,

- --
Rohnny

Ron Wheeler wrote:
> Which file is the initMavenPlugin goal defined?
> 
> Ron
> 
> Raj Saini wrote:
> 
>> Ron,
>>
>> Do you have project.xml file in the directory where you are running:
>>
>> <code>
>>    maven initMavenPlugin
>> </code>
>>
>> I dont see any problem with your build.properties file.
>>
>> Are you using Eclipse? If you are try running the Maven from Eclipse.
>> You can see the goals defined in the project.xml
>>
>> I tried it just now and it worked for me.
>>
>> Regards,
>>
>> Raj
>>
>>
>> If you have try to run maven from your eclips
>> Ron Wheeler wrote:
>>
>>> The following text from "getting started" seems to contradict
>>> itself.. can someone rewrite this to be clearer about what should NOT
>>> be defined and what NEEDS to be defined.
>>> "should not define any of those properties" followed by "still need
>>> to specify"  leavves way too much to the imagination.
>>>
>>> <quote>
>>> You should /*not*/ define any of those properties in your
>>> |${USER_HOME}/build.properties|.
>>> Instead, you /must/ set a |org.apache.jetspeed.project.home|
>>> property, specifying the location where you expanded the downloaded
>>> source or checked out the source from subversion, like:
>>>
>>>            # required Jetspeed 2 portal configuration property for
>>> building from the source
>>> org.apache.jetspeed.project.home = /home/apache/jetspeed-2/
>>>         / Note: you still need to specify the required application
>>> server properties as described above
>>> <http://portals.apache.org/jetspeed-2/getting-started.html#Required_Application_Server_Properties>.
>>>
>>>
>>> </quote>
>>>
>>> /What exactly goes in the |${USER_HOME}/build.properties|. file?
>>>
>>>
>>> I am currently getting an error when I try to do the build
>>>
>>> C:\eclipse\workspace\jakarta-jetspeed-2>maven initMavenP
>>> __  __
>>> |  \/  |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>>>
>>> BUILD FAILED
>>> Goal "initMavenPlugin" does not exist in this project.
>>>
>>> |My ${USER_HOME}/build.properties|. ciurrently contains the following
>>> (usernames and password withheld to protect the silly.
>>>
>>> # required Jetspeed 2 portal configuration property for building from
>>> the source
>>> org.apache.jetspeed.project.home =
>>> c:/eclipse/workspace/jakarta-jetspeed-2/
>>>
>>> # jetspeed required properties
>>> org.apache.jetspeed.server.home = c:/tomcat
>>> org.apache.jetspeed.catalina.version.major = 5.5
>>> org.apache.jetspeed.server.shared =
>>> ${org.apache.jetspeed.server.home}/shared/lib
>>> org.apache.jetspeed.deploy.war.dir =
>>> ${org.apache.jetspeed.server.home}/webapps
>>> org.apache.jetspeed.services.autodeployment.user = yyy
>>> org.apache.jetspeed.services.autodeployment.password = xxx
>>>
>>>
>>> # configure MySQL Test DB
>>> #
>>> -------------------------------------------------------------------------
>>>
>>> org.apache.jetspeed.test.database.default.name=mysql
>>> org.apache.jetspeed.test.database.url =
>>> jdbc:mysql://localhost:3306/j2test
>>> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
>>> org.apache.jetspeed.test.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar
>>>
>>> org.apache.jetspeed.test.database.user = aaa
>>> org.apache.jetspeed.test.database.password = bbb
>>> #
>>> -------------------------------------------------------------------------
>>>
>>> # configure MySQL Production DB
>>> #
>>> -------------------------------------------------------------------------
>>>
>>> org.apache.jetspeed.production.database.default.name=mysql
>>> org.apache.jetspeed.production.database.url =
>>> jdbc:mysql://localhost:3306/j2
>>> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
>>> org.apache.jetspeed.production.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar
>>>
>>> org.apache.jetspeed.production.database.user = aaa
>>> org.apache.jetspeed.production.database.password = bbb
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDRXgiJQxWxLw8G9QRAgL/AKD0Qua1yYPYgG1YHew1rz09nNVgzQCg6KIe
gNRLwjyKhpQjlFwdwZoJkfs=
=hRpF
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Building from Source

Posted by Ron Wheeler <rw...@artifact-software.com>.
Which file is the initMavenPlugin goal defined?

Ron

Raj Saini wrote:

> Ron,
>
> Do you have project.xml file in the directory where you are running:
>
> <code>
>    maven initMavenPlugin
> </code>
>
> I dont see any problem with your build.properties file.
>
> Are you using Eclipse? If you are try running the Maven from Eclipse. 
> You can see the goals defined in the project.xml
>
> I tried it just now and it worked for me.
>
> Regards,
>
> Raj
>
>
> If you have try to run maven from your eclips
> Ron Wheeler wrote:
>
>> The following text from "getting started" seems to contradict 
>> itself.. can someone rewrite this to be clearer about what should NOT 
>> be defined and what NEEDS to be defined.
>> "should not define any of those properties" followed by "still need 
>> to specify"  leavves way too much to the imagination.
>>
>> <quote>
>> You should /*not*/ define any of those properties in your 
>> |${USER_HOME}/build.properties|.
>> Instead, you /must/ set a |org.apache.jetspeed.project.home| 
>> property, specifying the location where you expanded the downloaded 
>> source or checked out the source from subversion, like:
>>
>>            # required Jetspeed 2 portal configuration property for 
>> building from the source
>> org.apache.jetspeed.project.home = /home/apache/jetspeed-2/
>>         / Note: you still need to specify the required application 
>> server properties as described above 
>> <http://portals.apache.org/jetspeed-2/getting-started.html#Required_Application_Server_Properties>. 
>>
>>
>> </quote>
>>
>> /What exactly goes in the |${USER_HOME}/build.properties|. file?
>>
>>
>> I am currently getting an error when I try to do the build
>>
>> C:\eclipse\workspace\jakarta-jetspeed-2>maven initMavenP
>> __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>>
>> BUILD FAILED
>> Goal "initMavenPlugin" does not exist in this project.
>>
>> |My ${USER_HOME}/build.properties|. ciurrently contains the following 
>> (usernames and password withheld to protect the silly.
>>
>> # required Jetspeed 2 portal configuration property for building from 
>> the source
>> org.apache.jetspeed.project.home = 
>> c:/eclipse/workspace/jakarta-jetspeed-2/
>>
>> # jetspeed required properties
>> org.apache.jetspeed.server.home = c:/tomcat
>> org.apache.jetspeed.catalina.version.major = 5.5
>> org.apache.jetspeed.server.shared = 
>> ${org.apache.jetspeed.server.home}/shared/lib
>> org.apache.jetspeed.deploy.war.dir = 
>> ${org.apache.jetspeed.server.home}/webapps
>> org.apache.jetspeed.services.autodeployment.user = yyy
>> org.apache.jetspeed.services.autodeployment.password = xxx
>>
>>
>> # configure MySQL Test DB
>> # 
>> ------------------------------------------------------------------------- 
>>
>> org.apache.jetspeed.test.database.default.name=mysql
>> org.apache.jetspeed.test.database.url = 
>> jdbc:mysql://localhost:3306/j2test
>> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
>> org.apache.jetspeed.test.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>>
>> org.apache.jetspeed.test.database.user = aaa
>> org.apache.jetspeed.test.database.password = bbb
>> # 
>> ------------------------------------------------------------------------- 
>>
>> # configure MySQL Production DB
>> # 
>> ------------------------------------------------------------------------- 
>>
>> org.apache.jetspeed.production.database.default.name=mysql
>> org.apache.jetspeed.production.database.url = 
>> jdbc:mysql://localhost:3306/j2
>> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
>> org.apache.jetspeed.production.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>>
>> org.apache.jetspeed.production.database.user = aaa
>> org.apache.jetspeed.production.database.password = bbb
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Building from Source

Posted by Raj Saini <ra...@gmail.com>.
Ron,

Do you have project.xml file in the directory where you are running:

<code>
    maven initMavenPlugin
</code>

I dont see any problem with your build.properties file.

Are you using Eclipse? If you are try running the Maven from Eclipse. 
You can see the goals defined in the project.xml

I tried it just now and it worked for me.

Regards,

Raj


If you have try to run maven from your eclips
Ron Wheeler wrote:

> The following text from "getting started" seems to contradict itself.. 
> can someone rewrite this to be clearer about what should NOT be 
> defined and what NEEDS to be defined.
> "should not define any of those properties" followed by "still need to 
> specify"  leavves way too much to the imagination.
>
> <quote>
> You should /*not*/ define any of those properties in your 
> |${USER_HOME}/build.properties|.
> Instead, you /must/ set a |org.apache.jetspeed.project.home| property, 
> specifying the location where you expanded the downloaded source or 
> checked out the source from subversion, like:
>
>            # required Jetspeed 2 portal configuration property for 
> building from the source
> org.apache.jetspeed.project.home = /home/apache/jetspeed-2/
>         
> / Note: you still need to specify the required application server 
> properties as described above 
> <http://portals.apache.org/jetspeed-2/getting-started.html#Required_Application_Server_Properties>. 
>
>
> </quote>
>
> /What exactly goes in the |${USER_HOME}/build.properties|. file?
>
>
> I am currently getting an error when I try to do the build
>
> C:\eclipse\workspace\jakarta-jetspeed-2>maven initMavenP
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
> BUILD FAILED
> Goal "initMavenPlugin" does not exist in this project.
>
> |My ${USER_HOME}/build.properties|. ciurrently contains the following 
> (usernames and password withheld to protect the silly.
>
> # required Jetspeed 2 portal configuration property for building from 
> the source
> org.apache.jetspeed.project.home = 
> c:/eclipse/workspace/jakarta-jetspeed-2/
>
> # jetspeed required properties
> org.apache.jetspeed.server.home = c:/tomcat
> org.apache.jetspeed.catalina.version.major = 5.5
> org.apache.jetspeed.server.shared = 
> ${org.apache.jetspeed.server.home}/shared/lib
> org.apache.jetspeed.deploy.war.dir = 
> ${org.apache.jetspeed.server.home}/webapps
> org.apache.jetspeed.services.autodeployment.user = yyy
> org.apache.jetspeed.services.autodeployment.password = xxx
>
>
> # configure MySQL Test DB
> # 
> -------------------------------------------------------------------------
> org.apache.jetspeed.test.database.default.name=mysql
> org.apache.jetspeed.test.database.url = 
> jdbc:mysql://localhost:3306/j2test
> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
> org.apache.jetspeed.test.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>
> org.apache.jetspeed.test.database.user = aaa
> org.apache.jetspeed.test.database.password = bbb
> # 
> -------------------------------------------------------------------------
> # configure MySQL Production DB
> # 
> -------------------------------------------------------------------------
> org.apache.jetspeed.production.database.default.name=mysql
> org.apache.jetspeed.production.database.url = 
> jdbc:mysql://localhost:3306/j2
> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
> org.apache.jetspeed.production.jdbc.drivers.path=C:/Progra~1/MySQL/mysql-connector-java-3.1.10/mysql-connector-java-3.1.10-bin.jar 
>
> org.apache.jetspeed.production.database.user = aaa
> org.apache.jetspeed.production.database.password = bbb
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org