I'm running Windows 2003 server with Eclipse 3.1 and Java 1.5 and maven
1.0.2.

I'm trying to make my first program using maven work with source code at
http://jakarta.apache.org/commons/httpclient/tutorial.html execute in
eclipse. 

Is it necessary to manually add the external jar files in eclipse? This
seems really tedious. I know eclipse 3.1 is smart enough to read the ant
build.xml files to determine the dependences.

The program runs fine when I manually compile it from the command prompt
using java and javac.

I did "maven ant" and this generated a nice build.xml file. I was hoping
this would inform eclipse about the build path but no luck.

The compile targets seemed weird to me. They were largly empty except for
making directories.

I suspect I need to write some jelly scripts to compile and run this simple
program. Can someone point me to a simple tutorial on how to do this? I'm
really disappointed that "Maven, A developer's notebook" from O'Reilly does
not explain this better! If it does, maybe someone could give me a page
number.

Thanks,
Siegfried


<?xml version="1.0" encoding="UTF-8"?>
<project>
    <pomVersion>1</pomVersion>
    <name>finance_yahoo</name>
    <organization>
        <name>SIGNITEK</name>
        <url>www.SIGNITEK.com</url>
    </organization>
    <inceptionYear>2005</inceptionYear>
    <package>com.signitek.yahoo.finance</package>
    <shortDescription>Crawl finance.yahoo for recommend
stocks</shortDescription>
    <repository />
    <developers>
        <developer>
            <id>0</id>
        </developer>
    </developers>
    <dependencies>
        <dependency>
          <id>commons-httpclient</id>
          <version>3.0-rc3</version>
          <url>http://jakarta.apache.org/commons/httpclient/3.0/</url>
        </dependency>
    </dependencies>
    <build />
</project>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to