You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kev D'Arcy <Ke...@aib.ie> on 2006/07/31 18:59:09 UTC

m2/eclipse/wtp configuration

Hi,

I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
and maven. I have everything in my project compiling correctly but the
runtime classpath is missing all the dependencies that are defined
in my pom.xml. Do they need to be defined in the .classpath file as well
as in the pom.xml?

Kev


********************************************************************************
This document is strictly confidential and is intended for use by
 the addressee unless otherwise indicated.

This email has been scanned by an external Email Security System.

Allied Irish Banks
********************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2/eclipse/wtp configuration + tapestry

Posted by Sebastien Pennec <se...@qos.ch>.
Borut,
I am using WTP1.5, too. Struts instead of Tapestry, but I don't think it has any 
implications on the problem.

If you find the solution again, let me know :)

Thanks,

Sébastien

Borut Bolc(ina a écrit :
> I have, but I also had such error message. I don't know the solution from
> the top of my head, but it works now, as I am doing the development with
> WTP1.5, Tapestry4, libcopy and Subversion. What was it....???
> 
> 2006/9/5, Sebastien Pennec <se...@qos.ch>:
>>
>> Hello,
>>
>> Let me bring this topic up, since it appears that it doesn't do the trick
>> if the
>> project is managed with a VC like svn.
>>
>> By following the instructions, the sync by libcopy doesn't work, because
>> of an error
>> message saying:
>>
>> Errors during build.
>>    Errors running builder "LibCopy builder" on project PROJECT_NAME.
>>    Project 'PROJECT_NAME' is mapped to repository type
>> 'org.tigris.subversion.subclipse.core.svnnature' which does not support
>> linked resources.
>>
>> Has anybody been able to link such a project with a subversion 
>> repository?
>>
>> Thanks for your help
>>
>> -- 
>> Sébastien Pennec
>> sebastien@qos.ch
>>
>> Logback: The reliable, generic, fast and flexible logging framework for
>> Java.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>

-- 
Sébastien Pennec
sebastien@qos.ch

Logback: The reliable, generic, fast and flexible logging framework for Java.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2/eclipse/wtp configuration + tapestry

Posted by Borut Bolčina <bo...@gmail.com>.
I have, but I also had such error message. I don't know the solution from
the top of my head, but it works now, as I am doing the development with
WTP1.5, Tapestry4, libcopy and Subversion. What was it....???

2006/9/5, Sebastien Pennec <se...@qos.ch>:
>
> Hello,
>
> Let me bring this topic up, since it appears that it doesn't do the trick
> if the
> project is managed with a VC like svn.
>
> By following the instructions, the sync by libcopy doesn't work, because
> of an error
> message saying:
>
> Errors during build.
>    Errors running builder "LibCopy builder" on project PROJECT_NAME.
>    Project 'PROJECT_NAME' is mapped to repository type
> 'org.tigris.subversion.subclipse.core.svnnature' which does not support
> linked resources.
>
> Has anybody been able to link such a project with a subversion repository?
>
> Thanks for your help
>
> --
> Sébastien Pennec
> sebastien@qos.ch
>
> Logback: The reliable, generic, fast and flexible logging framework for
> Java.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: m2/eclipse/wtp configuration + tapestry

Posted by Sebastien Pennec <se...@qos.ch>.
Hello,

Let me bring this topic up, since it appears that it doesn't do the trick if the 
project is managed with a VC like svn.

By following the instructions, the sync by libcopy doesn't work, because of an error 
message saying:

Errors during build.
   Errors running builder "LibCopy builder" on project PROJECT_NAME.
   Project 'PROJECT_NAME' is mapped to repository type 
'org.tigris.subversion.subclipse.core.svnnature' which does not support linked resources.

Has anybody been able to link such a project with a subversion repository?

Thanks for your help

-- 
Sébastien Pennec
sebastien@qos.ch

Logback: The reliable, generic, fast and flexible logging framework for Java.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2/eclipse/wtp configuration + tapestry

Posted by Borut Bolčina <bo...@gmail.com>.
Look in the .project files and see if you have
        <buildCommand>
            <name>libcopy.libcopyBuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
and
<nature>libcopy.libcopyNature</nature>

Then look in Eclipse error log (Help/About/Configuration Details/View Error
Log) - maybe you find something there.

I would reinstall Eclipse and libcopy plugin.

Cheers,
Borut

2006/8/3, Marcel Schutte <ms...@yahoo.co.uk>:
>
> Borut,
>
> I followed these steps, but at nr. 5 when I select 'LibCopy properties'
> I get an error 'Property page Creation Problems' with reason 'Plugin-in
> libcopy was unable to load class
> libcopy.properties.LibCopyPropertyPage'.
>
> I'm using eclipse 3.2 with WTP 1.5.
>
> Does anyone have any clues?
>
> Marcel
>
> --- Kev D'Arcy <Ke...@aib.ie> wrote:
>
> > Borut
> >
> > That seems to have done the trick! Thanks for the tips!
> >
> > Kev
> >
> > Borut Bolčina wrote:
> > > Hello Kev,
> > >
> > > I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the
> > same
> > > band. Here is how I prepared my environment for developing Tapestry
> > > web applications:
> > >
> > >   1. Create new Dynamic Web project with Eclipse. Enter
> > src/main/webapp
> > >      for Content Directory. Enter src/main/java for Java Source
> > > Directory.
> > >   2. Install Eclipse plugin via Help/Software Updates/Find and
> > Install
> > >      (http://m2eclipse.codehaus.org/).
> > >   3. Install Eclipse plugin for synchronizing WTP Web App Libraries
> > >      with Maven dependencies (http://adam.kruszewski.name/eclipse/)
> > >      also with Software Updates. See
> > >      http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for
> > more
> > >      on this sync issue.
> > >   4. Enable your project for Maven2 by right clicking on project
> > and
> > >      choosing Maven2/Enable. Enter POM values, don't forget to set
> > war
> > >      for Packaging. The icon indicating that your project is a WTP
> > >      project will be replaced my small red letter m. Also Maven2
> > >      Dependencies library will show up (empty).
> > >   5. Right click on your project in Package Explorer (I work in
> > Java
> > >      Perspective) and choose Properties. Find  LibCopy properties
> > in
> > >      the list and  check the only checkbox and be sure that Local
> > >      folder points to src/main/webapp/WEB-INF/lib.
> > >   6. Add dependent library  (say Tapestry) by right clicking the
> > >      project and then Maven2/Add  Dependency. In the dialog type
> > >      tapestry which will show up a list of possible artifacts.
> > Choose
> > >      version 4.0.2 and wait for all jars to download (there should
> > be
> > >      10). Maven2 Dependency library in Package Explorer should now
> > >      contain references to jars in your local maven repository.
> > Also
> > >      Web App Libraries should contain white jar icons with a small
> > >      arrow in the lower right corner.
> > >   7. Configure Tomcat (or any other container) in
> > >      Preferences/Server/Installed Runtime and then attach your
> > project
> > >      to this server instance.
> > >   8. Specific instructions for Tapestry can be found at
> > >      http://wiki.apache.org/tapestry/HowToSetupEclipseWtp
> > >
> > > You can now change HTML _and_ Java source files without copying
> > > anything anywhere. This is as rapid as it gets in pro/large web app
> > > development as far as I can tell. Having HTML designer doing page
> > > mockups with Dreamweaver _in parallel_ with Tapestry coder, both
> > using
> > > Subversion, is a winning game but this is already off-topic.
> > >
> > > I hope this recipe will get you up to speed.
> > >
> > > Cheers,
> > > Borut Bolčina
> > >
> > > Kev D'Arcy pravi:
> > >> Hi,
> > >>
> > >> I'm trying to set-up a dynamic web project in eclipse 3.2 using
> > wtp 1.5
> > >> and maven. I have everything in my project compiling correctly but
> > the
> > >> runtime classpath is missing all the dependencies that are defined
> > >> in my pom.xml. Do they need to be defined in the .classpath file
> > as well
> > >> as in the pom.xml?
> > >>
> > >> Kev
> > >>
> > >>
> > >>
> >
>
> ********************************************************************************
> > >>
> > >> This document is strictly confidential and is intended for use by
> > >>  the addressee unless otherwise indicated.
> > >>
> > >> This email has been scanned by an external Email Security System.
> > >>
> > >> Allied Irish Banks
> > >>
> >
>
> ********************************************************************************
> > >>
> > >>
> > >>
> > >>
> > ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >> For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >>
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: m2/eclipse/wtp configuration + tapestry

Posted by Marcel Schutte <ms...@yahoo.co.uk>.
Borut,

I followed these steps, but at nr. 5 when I select 'LibCopy properties'
I get an error 'Property page Creation Problems' with reason 'Plugin-in
libcopy was unable to load class
libcopy.properties.LibCopyPropertyPage'.

I'm using eclipse 3.2 with WTP 1.5.

Does anyone have any clues?

Marcel

--- Kev D'Arcy <Ke...@aib.ie> wrote:

> Borut
> 
> That seems to have done the trick! Thanks for the tips!
> 
> Kev
> 
> Borut Bolčina wrote:
> > Hello Kev,
> >
> > I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the
> same
> > band. Here is how I prepared my environment for developing Tapestry
> > web applications:
> >
> >   1. Create new Dynamic Web project with Eclipse. Enter
> src/main/webapp
> >      for Content Directory. Enter src/main/java for Java Source
> > Directory.
> >   2. Install Eclipse plugin via Help/Software Updates/Find and
> Install
> >      (http://m2eclipse.codehaus.org/).
> >   3. Install Eclipse plugin for synchronizing WTP Web App Libraries
> >      with Maven dependencies (http://adam.kruszewski.name/eclipse/)
> >      also with Software Updates. See
> >      http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for
> more
> >      on this sync issue.
> >   4. Enable your project for Maven2 by right clicking on project
> and
> >      choosing Maven2/Enable. Enter POM values, don't forget to set
> war
> >      for Packaging. The icon indicating that your project is a WTP
> >      project will be replaced my small red letter m. Also Maven2
> >      Dependencies library will show up (empty).
> >   5. Right click on your project in Package Explorer (I work in
> Java
> >      Perspective) and choose Properties. Find  LibCopy properties
> in
> >      the list and  check the only checkbox and be sure that Local
> >      folder points to src/main/webapp/WEB-INF/lib.
> >   6. Add dependent library  (say Tapestry) by right clicking the
> >      project and then Maven2/Add  Dependency. In the dialog type
> >      tapestry which will show up a list of possible artifacts.
> Choose
> >      version 4.0.2 and wait for all jars to download (there should
> be
> >      10). Maven2 Dependency library in Package Explorer should now
> >      contain references to jars in your local maven repository.
> Also
> >      Web App Libraries should contain white jar icons with a small
> >      arrow in the lower right corner.
> >   7. Configure Tomcat (or any other container) in
> >      Preferences/Server/Installed Runtime and then attach your
> project
> >      to this server instance.
> >   8. Specific instructions for Tapestry can be found at
> >      http://wiki.apache.org/tapestry/HowToSetupEclipseWtp
> >
> > You can now change HTML _and_ Java source files without copying
> > anything anywhere. This is as rapid as it gets in pro/large web app
> > development as far as I can tell. Having HTML designer doing page
> > mockups with Dreamweaver _in parallel_ with Tapestry coder, both
> using
> > Subversion, is a winning game but this is already off-topic.
> >
> > I hope this recipe will get you up to speed.
> >
> > Cheers,
> > Borut Bolčina
> >
> > Kev D'Arcy pravi:
> >> Hi,
> >>
> >> I'm trying to set-up a dynamic web project in eclipse 3.2 using
> wtp 1.5
> >> and maven. I have everything in my project compiling correctly but
> the
> >> runtime classpath is missing all the dependencies that are defined
> >> in my pom.xml. Do they need to be defined in the .classpath file
> as well
> >> as in the pom.xml?
> >>
> >> Kev
> >>
> >>
> >>
>
********************************************************************************
> >>
> >> This document is strictly confidential and is intended for use by
> >>  the addressee unless otherwise indicated.
> >>
> >> This email has been scanned by an external Email Security System.
> >>
> >> Allied Irish Banks
> >>
>
********************************************************************************
> >>
> >>
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>   
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Re: m2/eclipse/wtp configuration + tapestry

Posted by Stefan Magnus Landrø <st...@gjensidige.no>.
wow, looks like a pretty nasty .project file to me to me. I had great 
success with the following pom that I used in a recent project (wtp 1.0):
....
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
          <wtpversion>1.0</wtpversion>
          <buildcommands />
          <classpathContainers>
 <buildcommand>org.eclipse.jdt.launching.JRE_CONTAINER</buildcommand>
 
<buildcommand>org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache 
Tomcat v5.5</buildcommand>
 
<buildcommand>org.eclipse.jst.j2ee.internal.web.container/app</buildcommand>
          </classpathContainers>
          <projectnatures />
        </configuration>
      </plugin>
.....

I had trouble too in the beginning (the project was not recognised as a 
dynamic web project), but after i added classpath containers, the project 
started popping up as a dwp i wtp.

I haven't tried this particular project in wtp 1.5, but I will soon. I'll 
let you know how it goes.

Stefan

"Kev D'Arcy" <Ke...@aib.ie> skrev 03.08.2006 12:54:06:

> Stefan
> 
> Here's my pom. The solution that Borut gave me modifies the .project 
file
> to link the jars listed in the pom file to the lib folder of the webapp.
> 
> Kev
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
> <name>Newport</name>
> <comment></comment>
> <projects>
> </projects>
> <buildSpec>
> <buildCommand>
> <name>org.eclipse.jdt.core.javabuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>org.eclipse.wst.common.project.facet.core.builder</name>
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>org.eclipse.wst.validation.validationbuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>org.maven.ide.eclipse.maven2Builder</name>
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>libcopy.libcopyBuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> </buildSpec>
> <natures>
> <nature>org.maven.ide.eclipse.maven2Nature</nature>
> <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
> <nature>org.eclipse.jdt.core.javanature</nature>
> <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
> <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
> <nature>libcopy.libcopyNature</nature>
> </natures>
> <linkedResources>
> <link>
> <name>src/main/webapp/WEB-INF/lib/msutil-2000.3.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/com/microsoft/jdbcdriver/msutil/2000.
> 3/msutil-2000.3.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-beanutils-1.7.0.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-beanutils/commons-beanutils/1.
> 7.0/commons-beanutils-1.7.0.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/mssqlserver-2000.3.jar</name>
> <type>1</type>
> <location>E:/maven-
> test/repos/com/microsoft/jdbcdriver/mssqlserver/2000.
> 3/mssqlserver-2000.3.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/msbase-2000.3.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/com/microsoft/jdbcdriver/msbase/2000.
> 3/msbase-2000.3.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-el-1.0.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-el/commons-el/1.0/commons-
> el-1.0.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-logging-1.0.4.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-logging/commons-logging/1.0.
> 4/commons-logging-1.0.4.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-fileupload-1.0.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-fileupload/commons-
> fileupload/1.0/commons-fileupload-1.0.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-lang-2.1.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-lang/commons-lang/2.1/commons-
> lang-2.1.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/tomahawk-1.1.3.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/myfaces/tomahawk/1.1.3/tomahawk-1.1.3.
> jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-digester-1.6.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-digester/commons-digester/1.
> 6/commons-digester-1.6.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/jstl-1.1.0.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/javax/servlet/jstl/1.1.0/jstl-1.1.0.
> jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-codec-1.3.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-codec/commons-codec/1.
> 3/commons-codec-1.3.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-collections-3.1.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-collections/commons-
> collections/3.1/commons-collections-3.1.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/junit-4.0.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/junit/junit/4.0/junit-4.0.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/myfaces-api-1.1.3.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/myfaces/myfaces-api/1.1.3/myfaces-
> api-1.1.3.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/commons-dbutils-1.0.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/commons-dbutils/commons-dbutils/1.
> 0/commons-dbutils-1.0.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/xml-apis-1.0.b2.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.
> b2.jar</location>
> </link>
> <link>
> <name>src/main/webapp/WEB-INF/lib/myfaces-impl-1.1.3.jar</name>
> <type>1</type>
> <location>E:/maven-test/repos/myfaces/myfaces-impl/1.1.3/myfaces-
> impl-1.1.3.jar</location>
> </link>
> </linkedResources>
> </projectDescription>
> 
> 
> <?xml version="1.0"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>aib.dos</groupId>
> <artifactId>newport</artifactId>
> <packaging>war</packaging>
> <name>Newport Webapp</name>
> <version>0.1-SNAPSHOT</version>
> <url>http://maven.apache.org</url>
> <build>
> <finalName>Newport</finalName>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <source>1.4</source>
> <target>1.4</target>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-eclipse-plugin</artifactId>
> <configuration>
> <wtpversion>1.5</wtpversion>
> <buildcommands/>
> <classpathContainers/>
> <projectnatures/>
> </configuration>
> </plugin>
> </plugins>
> </build>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.0</version>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>commons-beanutils</groupId>
> <artifactId>commons-beanutils</artifactId>
> <version>1.7.0</version>
> </dependency>
> <dependency>
> <groupId>commons-codec</groupId>
> <artifactId>commons-codec</artifactId>
> <version>1.3</version>
> </dependency>
> <dependency>
> <groupId>commons-collections</groupId>
> <artifactId>commons-collections</artifactId>
> <version>3.1</version>
> </dependency>
> <dependency>
> <groupId>commons-dbutils</groupId>
> <artifactId>commons-dbutils</artifactId>
> <version>1.0</version>
> </dependency>
> <dependency>
> <groupId>commons-digester</groupId>
> <artifactId>commons-digester</artifactId>
> <version>1.6</version>
> </dependency>
> <dependency>
> <groupId>commons-el</groupId>
> <artifactId>commons-el</artifactId>
> <version>1.0</version>
> </dependency>
> <dependency>
> <groupId>commons-fileupload</groupId>
> <artifactId>commons-fileupload</artifactId>
> <version>1.0</version>
> </dependency>
> <dependency>
> <groupId>commons-lang</groupId>
> <artifactId>commons-lang</artifactId>
> <version>2.1</version>
> </dependency>
> <dependency>
> <groupId>commons-logging</groupId>
> <artifactId>commons-logging</artifactId>
> <version>1.0.4</version>
> </dependency>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>jstl</artifactId>
> <version>1.1.0</version>
> </dependency>
> <dependency>
> <groupId>myfaces</groupId>
> <artifactId>tomahawk</artifactId>
> <version>1.1.3</version>
> </dependency>
> <dependency>
> <groupId>com.microsoft.jdbcdriver</groupId>
> <artifactId>msbase</artifactId>
> <version>2000.3</version>
> </dependency>
> <dependency>
> <groupId>com.microsoft.jdbcdriver</groupId>
> <artifactId>msutil</artifactId>
> <version>2000.3</version>
> </dependency>
> <dependency>
> <groupId>com.microsoft.jdbcdriver</groupId>
> <artifactId>mssqlserver</artifactId>
> <version>2000.3</version>
> </dependency>
> <dependency>
> <groupId>myfaces</groupId>
> <artifactId>myfaces-api</artifactId>
> <version>1.1.3</version>
> </dependency>
> <dependency>
> <groupId>myfaces</groupId>
> <artifactId>myfaces-impl</artifactId>
> <version>1.1.3</version>
> </dependency>
> </dependencies>
> </project>
> 
> Stefan Magnus Landrø wrote:
> > Could you send a copy your pom. It would be nice to go the other way 
> > around (mvn eclipse:eclipse etc).
> >
> >
> >
> >
> > "Kev D'Arcy" <Ke...@aib.ie> 
> > 03.08.2006 12:33
> > Vennligst send svar til
> > "Maven Users List" <us...@maven.apache.org>
> >
> >
> > Til
> > Maven Users List <us...@maven.apache.org>
> > cc
> >
> > Emne
> > Re: m2/eclipse/wtp configuration + tapestry
> >
> >
> >
> >
> >
> >
> > Borut
> >
> > That seems to have done the trick! Thanks for the tips!
> >
> > Kev
> >
> > Borut Bolčina wrote:
> > 
> >> Hello Kev,
> >>
> >> I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the same
> >> band. Here is how I prepared my environment for developing Tapestry
> >> web applications:
> >>
> >>   1. Create new Dynamic Web project with Eclipse. Enter 
src/main/webapp
> >>      for Content Directory. Enter src/main/java for Java Source
> >> Directory.
> >>   2. Install Eclipse plugin via Help/Software Updates/Find and 
Install
> >>      (http://m2eclipse.codehaus.org/).
> >>   3. Install Eclipse plugin for synchronizing WTP Web App Libraries
> >>      with Maven dependencies (http://adam.kruszewski.name/eclipse/)
> >>      also with Software Updates. See
> >>      http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for more
> >>      on this sync issue.
> >>   4. Enable your project for Maven2 by right clicking on project and
> >>      choosing Maven2/Enable. Enter POM values, don't forget to set 
war
> >>      for Packaging. The icon indicating that your project is a WTP
> >>      project will be replaced my small red letter m. Also Maven2
> >>      Dependencies library will show up (empty).
> >>   5. Right click on your project in Package Explorer (I work in Java
> >>      Perspective) and choose Properties. Find  LibCopy properties in
> >>      the list and  check the only checkbox and be sure that Local
> >>      folder points to src/main/webapp/WEB-INF/lib.
> >>   6. Add dependent library  (say Tapestry) by right clicking the
> >>      project and then Maven2/Add  Dependency. In the dialog type
> >>      tapestry which will show up a list of possible artifacts. Choose
> >>      version 4.0.2 and wait for all jars to download (there should be
> >>      10). Maven2 Dependency library in Package Explorer should now
> >>      contain references to jars in your local maven repository. Also
> >>      Web App Libraries should contain white jar icons with a small
> >>      arrow in the lower right corner.
> >>   7. Configure Tomcat (or any other container) in
> >>      Preferences/Server/Installed Runtime and then attach your 
project
> >>      to this server instance.
> >>   8. Specific instructions for Tapestry can be found at
> >>      http://wiki.apache.org/tapestry/HowToSetupEclipseWtp
> >>
> >> You can now change HTML _and_ Java source files without copying
> >> anything anywhere. This is as rapid as it gets in pro/large web app
> >> development as far as I can tell. Having HTML designer doing page
> >> mockups with Dreamweaver _in parallel_ with Tapestry coder, both 
using
> >> Subversion, is a winning game but this is already off-topic.
> >>
> >> I hope this recipe will get you up to speed.
> >>
> >> Cheers,
> >> Borut Bolčina
> >>
> >> Kev D'Arcy pravi:
> >> 
> >>> Hi,
> >>>
> >>> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 
1.5
> >>> and maven. I have everything in my project compiling correctly but 
the
> >>> runtime classpath is missing all the dependencies that are defined
> >>> in my pom.xml. Do they need to be defined in the .classpath file as 
> >>> 
> > well
> > 
> >>> as in the pom.xml?
> >>>
> >>> Kev
> >>>
> >>>
> >>>
> >>> 
> > 
> 
********************************************************************************
> > 
> >>> This document is strictly confidential and is intended for use by
> >>>  the addressee unless otherwise indicated.
> >>>
> >>> This email has been scanned by an external Email Security System.
> >>>
> >>> Allied Irish Banks
> >>>
> >>> 
> > 
> 
********************************************************************************
> > 
> >>>
> >>> 
---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >>> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >> 
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

Re: m2/eclipse/wtp configuration + tapestry

Posted by Kev D'Arcy <Ke...@aib.ie>.
Stefan

Here's my pom. The solution that Borut gave me modifies the .project file
to link the jars listed in the pom file to the lib folder of the webapp.

Kev

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Newport</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>libcopy.libcopyBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>libcopy.libcopyNature</nature>
</natures>
<linkedResources>
<link>
<name>src/main/webapp/WEB-INF/lib/msutil-2000.3.jar</name>
<type>1</type>
<location>E:/maven-test/repos/com/microsoft/jdbcdriver/msutil/2000.3/msutil-2000.3.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-beanutils-1.7.0.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/mssqlserver-2000.3.jar</name>
<type>1</type>
<location>E:/maven-test/repos/com/microsoft/jdbcdriver/mssqlserver/2000.3/mssqlserver-2000.3.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/msbase-2000.3.jar</name>
<type>1</type>
<location>E:/maven-test/repos/com/microsoft/jdbcdriver/msbase/2000.3/msbase-2000.3.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-el-1.0.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-el/commons-el/1.0/commons-el-1.0.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-logging-1.0.4.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-fileupload-1.0.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-fileupload/commons-fileupload/1.0/commons-fileupload-1.0.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-lang-2.1.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-lang/commons-lang/2.1/commons-lang-2.1.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/tomahawk-1.1.3.jar</name>
<type>1</type>
<location>E:/maven-test/repos/myfaces/tomahawk/1.1.3/tomahawk-1.1.3.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-digester-1.6.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-digester/commons-digester/1.6/commons-digester-1.6.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/jstl-1.1.0.jar</name>
<type>1</type>
<location>E:/maven-test/repos/javax/servlet/jstl/1.1.0/jstl-1.1.0.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-codec-1.3.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-codec/commons-codec/1.3/commons-codec-1.3.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-collections-3.1.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-collections/commons-collections/3.1/commons-collections-3.1.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/junit-4.0.jar</name>
<type>1</type>
<location>E:/maven-test/repos/junit/junit/4.0/junit-4.0.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/myfaces-api-1.1.3.jar</name>
<type>1</type>
<location>E:/maven-test/repos/myfaces/myfaces-api/1.1.3/myfaces-api-1.1.3.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/commons-dbutils-1.0.jar</name>
<type>1</type>
<location>E:/maven-test/repos/commons-dbutils/commons-dbutils/1.0/commons-dbutils-1.0.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/xml-apis-1.0.b2.jar</name>
<type>1</type>
<location>E:/maven-test/repos/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar</location>
</link>
<link>
<name>src/main/webapp/WEB-INF/lib/myfaces-impl-1.1.3.jar</name>
<type>1</type>
<location>E:/maven-test/repos/myfaces/myfaces-impl/1.1.3/myfaces-impl-1.1.3.jar</location>
</link>
</linkedResources>
</projectDescription>


<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>aib.dos</groupId>
<artifactId>newport</artifactId>
<packaging>war</packaging>
<name>Newport Webapp</name>
<version>0.1-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<build>
<finalName>Newport</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.4</source>
<target>1.4</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<wtpversion>1.5</wtpversion>
<buildcommands/>
<classpathContainers/>
<projectnatures/>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>commons-dbutils</groupId>
<artifactId>commons-dbutils</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>commons-el</groupId>
<artifactId>commons-el</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>myfaces</groupId>
<artifactId>tomahawk</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>com.microsoft.jdbcdriver</groupId>
<artifactId>msbase</artifactId>
<version>2000.3</version>
</dependency>
<dependency>
<groupId>com.microsoft.jdbcdriver</groupId>
<artifactId>msutil</artifactId>
<version>2000.3</version>
</dependency>
<dependency>
<groupId>com.microsoft.jdbcdriver</groupId>
<artifactId>mssqlserver</artifactId>
<version>2000.3</version>
</dependency>
<dependency>
<groupId>myfaces</groupId>
<artifactId>myfaces-api</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>myfaces</groupId>
<artifactId>myfaces-impl</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies>
</project>

Stefan Magnus Landrø wrote:
> Could you send a copy your pom. It would be nice to go the other way 
> around (mvn eclipse:eclipse etc).
>
>
>
>
> "Kev D'Arcy" <Ke...@aib.ie> 
> 03.08.2006 12:33
> Vennligst send svar til
> "Maven Users List" <us...@maven.apache.org>
>
>
> Til
> Maven Users List <us...@maven.apache.org>
> cc
>
> Emne
> Re: m2/eclipse/wtp configuration + tapestry
>
>
>
>
>
>
> Borut
>
> That seems to have done the trick! Thanks for the tips!
>
> Kev
>
> Borut Bolčina wrote:
>   
>> Hello Kev,
>>
>> I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the same
>> band. Here is how I prepared my environment for developing Tapestry
>> web applications:
>>
>>   1. Create new Dynamic Web project with Eclipse. Enter src/main/webapp
>>      for Content Directory. Enter src/main/java for Java Source
>> Directory.
>>   2. Install Eclipse plugin via Help/Software Updates/Find and Install
>>      (http://m2eclipse.codehaus.org/).
>>   3. Install Eclipse plugin for synchronizing WTP Web App Libraries
>>      with Maven dependencies (http://adam.kruszewski.name/eclipse/)
>>      also with Software Updates. See
>>      http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for more
>>      on this sync issue.
>>   4. Enable your project for Maven2 by right clicking on project and
>>      choosing Maven2/Enable. Enter POM values, don't forget to set war
>>      for Packaging. The icon indicating that your project is a WTP
>>      project will be replaced my small red letter m. Also Maven2
>>      Dependencies library will show up (empty).
>>   5. Right click on your project in Package Explorer (I work in Java
>>      Perspective) and choose Properties. Find  LibCopy properties in
>>      the list and  check the only checkbox and be sure that Local
>>      folder points to src/main/webapp/WEB-INF/lib.
>>   6. Add dependent library  (say Tapestry) by right clicking the
>>      project and then Maven2/Add  Dependency. In the dialog type
>>      tapestry which will show up a list of possible artifacts. Choose
>>      version 4.0.2 and wait for all jars to download (there should be
>>      10). Maven2 Dependency library in Package Explorer should now
>>      contain references to jars in your local maven repository. Also
>>      Web App Libraries should contain white jar icons with a small
>>      arrow in the lower right corner.
>>   7. Configure Tomcat (or any other container) in
>>      Preferences/Server/Installed Runtime and then attach your project
>>      to this server instance.
>>   8. Specific instructions for Tapestry can be found at
>>      http://wiki.apache.org/tapestry/HowToSetupEclipseWtp
>>
>> You can now change HTML _and_ Java source files without copying
>> anything anywhere. This is as rapid as it gets in pro/large web app
>> development as far as I can tell. Having HTML designer doing page
>> mockups with Dreamweaver _in parallel_ with Tapestry coder, both using
>> Subversion, is a winning game but this is already off-topic.
>>
>> I hope this recipe will get you up to speed.
>>
>> Cheers,
>> Borut Bolčina
>>
>> Kev D'Arcy pravi:
>>     
>>> Hi,
>>>
>>> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
>>> and maven. I have everything in my project compiling correctly but the
>>> runtime classpath is missing all the dependencies that are defined
>>> in my pom.xml. Do they need to be defined in the .classpath file as 
>>>       
> well
>   
>>> as in the pom.xml?
>>>
>>> Kev
>>>
>>>
>>>
>>>       
> ********************************************************************************
>   
>>> This document is strictly confidential and is intended for use by
>>>  the addressee unless otherwise indicated.
>>>
>>> This email has been scanned by an external Email Security System.
>>>
>>> Allied Irish Banks
>>>
>>>       
> ********************************************************************************
>   
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Re: m2/eclipse/wtp configuration + tapestry

Posted by Stefan Magnus Landrø <st...@gjensidige.no>.
Could you send a copy your pom. It would be nice to go the other way 
around (mvn eclipse:eclipse etc).




"Kev D'Arcy" <Ke...@aib.ie> 
03.08.2006 12:33
Vennligst send svar til
"Maven Users List" <us...@maven.apache.org>


Til
Maven Users List <us...@maven.apache.org>
cc

Emne
Re: m2/eclipse/wtp configuration + tapestry






Borut

That seems to have done the trick! Thanks for the tips!

Kev

Borut Bolčina wrote:
> Hello Kev,
>
> I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the same
> band. Here is how I prepared my environment for developing Tapestry
> web applications:
>
>   1. Create new Dynamic Web project with Eclipse. Enter src/main/webapp
>      for Content Directory. Enter src/main/java for Java Source
> Directory.
>   2. Install Eclipse plugin via Help/Software Updates/Find and Install
>      (http://m2eclipse.codehaus.org/).
>   3. Install Eclipse plugin for synchronizing WTP Web App Libraries
>      with Maven dependencies (http://adam.kruszewski.name/eclipse/)
>      also with Software Updates. See
>      http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for more
>      on this sync issue.
>   4. Enable your project for Maven2 by right clicking on project and
>      choosing Maven2/Enable. Enter POM values, don't forget to set war
>      for Packaging. The icon indicating that your project is a WTP
>      project will be replaced my small red letter m. Also Maven2
>      Dependencies library will show up (empty).
>   5. Right click on your project in Package Explorer (I work in Java
>      Perspective) and choose Properties. Find  LibCopy properties in
>      the list and  check the only checkbox and be sure that Local
>      folder points to src/main/webapp/WEB-INF/lib.
>   6. Add dependent library  (say Tapestry) by right clicking the
>      project and then Maven2/Add  Dependency. In the dialog type
>      tapestry which will show up a list of possible artifacts. Choose
>      version 4.0.2 and wait for all jars to download (there should be
>      10). Maven2 Dependency library in Package Explorer should now
>      contain references to jars in your local maven repository. Also
>      Web App Libraries should contain white jar icons with a small
>      arrow in the lower right corner.
>   7. Configure Tomcat (or any other container) in
>      Preferences/Server/Installed Runtime and then attach your project
>      to this server instance.
>   8. Specific instructions for Tapestry can be found at
>      http://wiki.apache.org/tapestry/HowToSetupEclipseWtp
>
> You can now change HTML _and_ Java source files without copying
> anything anywhere. This is as rapid as it gets in pro/large web app
> development as far as I can tell. Having HTML designer doing page
> mockups with Dreamweaver _in parallel_ with Tapestry coder, both using
> Subversion, is a winning game but this is already off-topic.
>
> I hope this recipe will get you up to speed.
>
> Cheers,
> Borut Bolčina
>
> Kev D'Arcy pravi:
>> Hi,
>>
>> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
>> and maven. I have everything in my project compiling correctly but the
>> runtime classpath is missing all the dependencies that are defined
>> in my pom.xml. Do they need to be defined in the .classpath file as 
well
>> as in the pom.xml?
>>
>> Kev
>>
>>
>> 
********************************************************************************
>>
>> This document is strictly confidential and is intended for use by
>>  the addressee unless otherwise indicated.
>>
>> This email has been scanned by an external Email Security System.
>>
>> Allied Irish Banks
>> 
********************************************************************************
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>> 
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



Re: m2/eclipse/wtp configuration + tapestry

Posted by Kev D'Arcy <Ke...@aib.ie>.
Borut

That seems to have done the trick! Thanks for the tips!

Kev

Borut Bolčina wrote:
> Hello Kev,
>
> I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the same
> band. Here is how I prepared my environment for developing Tapestry
> web applications:
>
>   1. Create new Dynamic Web project with Eclipse. Enter src/main/webapp
>      for Content Directory. Enter src/main/java for Java Source
> Directory.
>   2. Install Eclipse plugin via Help/Software Updates/Find and Install
>      (http://m2eclipse.codehaus.org/).
>   3. Install Eclipse plugin for synchronizing WTP Web App Libraries
>      with Maven dependencies (http://adam.kruszewski.name/eclipse/)
>      also with Software Updates. See
>      http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for more
>      on this sync issue.
>   4. Enable your project for Maven2 by right clicking on project and
>      choosing Maven2/Enable. Enter POM values, don't forget to set war
>      for Packaging. The icon indicating that your project is a WTP
>      project will be replaced my small red letter m. Also Maven2
>      Dependencies library will show up (empty).
>   5. Right click on your project in Package Explorer (I work in Java
>      Perspective) and choose Properties. Find  LibCopy properties in
>      the list and  check the only checkbox and be sure that Local
>      folder points to src/main/webapp/WEB-INF/lib.
>   6. Add dependent library  (say Tapestry) by right clicking the
>      project and then Maven2/Add  Dependency. In the dialog type
>      tapestry which will show up a list of possible artifacts. Choose
>      version 4.0.2 and wait for all jars to download (there should be
>      10). Maven2 Dependency library in Package Explorer should now
>      contain references to jars in your local maven repository. Also
>      Web App Libraries should contain white jar icons with a small
>      arrow in the lower right corner.
>   7. Configure Tomcat (or any other container) in
>      Preferences/Server/Installed Runtime and then attach your project
>      to this server instance.
>   8. Specific instructions for Tapestry can be found at
>      http://wiki.apache.org/tapestry/HowToSetupEclipseWtp
>
> You can now change HTML _and_ Java source files without copying
> anything anywhere. This is as rapid as it gets in pro/large web app
> development as far as I can tell. Having HTML designer doing page
> mockups with Dreamweaver _in parallel_ with Tapestry coder, both using
> Subversion, is a winning game but this is already off-topic.
>
> I hope this recipe will get you up to speed.
>
> Cheers,
> Borut Bolčina
>
> Kev D'Arcy pravi:
>> Hi,
>>
>> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
>> and maven. I have everything in my project compiling correctly but the
>> runtime classpath is missing all the dependencies that are defined
>> in my pom.xml. Do they need to be defined in the .classpath file as well
>> as in the pom.xml?
>>
>> Kev
>>
>>
>> ********************************************************************************
>>
>> This document is strictly confidential and is intended for use by
>>  the addressee unless otherwise indicated.
>>
>> This email has been scanned by an external Email Security System.
>>
>> Allied Irish Banks
>> ********************************************************************************
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>   
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2/eclipse/wtp configuration + tapestry

Posted by Borut Bolčina <bo...@najdi.si>.
Hello Kev,

I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the same 
band. Here is how I prepared my environment for developing Tapestry web 
applications:

   1. Create new Dynamic Web project with Eclipse. Enter src/main/webapp
      for Content Directory. Enter src/main/java for Java Source Directory.
   2. Install Eclipse plugin via Help/Software Updates/Find and Install
      (http://m2eclipse.codehaus.org/).
   3. Install Eclipse plugin for synchronizing WTP Web App Libraries
      with Maven dependencies (http://adam.kruszewski.name/eclipse/)
      also with Software Updates. See
      http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for more
      on this sync issue.
   4. Enable your project for Maven2 by right clicking on project and
      choosing Maven2/Enable. Enter POM values, don't forget to set war
      for Packaging. The icon indicating that your project is a WTP
      project will be replaced my small red letter m. Also Maven2
      Dependencies library will show up (empty).
   5. Right click on your project in Package Explorer (I work in Java 
      Perspective) and choose Properties. Find  LibCopy properties in
      the list and  check the only checkbox and be sure that Local
      folder points to src/main/webapp/WEB-INF/lib.
   6. Add dependent library  (say Tapestry) by right clicking the
      project and then Maven2/Add  Dependency. In the dialog type
      tapestry which will show up a list of possible artifacts. Choose
      version 4.0.2 and wait for all jars to download (there should be
      10). Maven2 Dependency library in Package Explorer should now
      contain references to jars in your local maven repository. Also
      Web App Libraries should contain white jar icons with a small
      arrow in the lower right corner.
   7. Configure Tomcat (or any other container) in
      Preferences/Server/Installed Runtime and then attach your project
      to this server instance.
   8. Specific instructions for Tapestry can be found at
      http://wiki.apache.org/tapestry/HowToSetupEclipseWtp

You can now change HTML _and_ Java source files without copying anything 
anywhere. This is as rapid as it gets in pro/large web app development 
as far as I can tell. Having HTML designer doing page mockups with 
Dreamweaver _in parallel_ with Tapestry coder, both using Subversion, is 
a winning game but this is already off-topic.

I hope this recipe will get you up to speed.

Cheers,
Borut Bolčina

Kev D'Arcy pravi:
> Hi,
>
> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
> and maven. I have everything in my project compiling correctly but the
> runtime classpath is missing all the dependencies that are defined
> in my pom.xml. Do they need to be defined in the .classpath file as well
> as in the pom.xml?
>
> Kev
>
>
> ********************************************************************************
> This document is strictly confidential and is intended for use by
>  the addressee unless otherwise indicated.
>
> This email has been scanned by an external Email Security System.
>
> Allied Irish Banks
> ********************************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2/eclipse/wtp configuration

Posted by Stefan Magnus Landrø <st...@gjensidige.no>.
the classpath files should be generated automatically by the maven-eclipse 
plugin.
Have you added a setting for wtp support in your pom? (see eclipse plugin 
for details)

stefan

"Kev D'Arcy" <Ke...@aib.ie> skrev 31.07.2006 18:59:09:

> Hi,
> 
> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
> and maven. I have everything in my project compiling correctly but the
> runtime classpath is missing all the dependencies that are defined
> in my pom.xml. Do they need to be defined in the .classpath file as well
> as in the pom.xml?
> 
> Kev
> 
> 
> 
********************************************************************************
> This document is strictly confidential and is intended for use by
>  the addressee unless otherwise indicated.
> 
> This email has been scanned by an external Email Security System.
> 
> Allied Irish Banks
> 
********************************************************************************
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>