question about synchronization

2005-11-18 Thread jeff li
Hi,
With maven IDE for maven 1.0 , maven can easily update .classpath file by
appending the paths which are just associated to added dependencies on
project.xml. now I have no idea of how to do that , please help me. thanks!
Jeff


question about synchronization

2005-11-18 Thread jeff li
Hi,
With maven IDE for maven 1.0 , maven can easily update .classpath file by
appending the paths associated to added dependencies on project.xml. now I
am trying to use maven2 to my project, however, and can not synchronize
.classpath to pom.xml with maven-eclipse-plugin. please do me a favor
thanks!
Jeff


question about synchronization

2005-11-16 Thread jeff li
Hi,
I used to use maven 1.0 on mavanIDE pluged in eclipse, but now cannot find
out proper IDE for maven2,so I meet some problems I can not solve without
IDE support.
please do me a favor, teach me how to use maven-eclipse-plugin to make
synchronization between dependencies of pom.xml and .classpath file of
eclipse.
thinks very much.
Jeff


Re: question about synchronization

2005-11-16 Thread jeff li
Hi,

Thanks for your reply.

I define some modules on the pom.xml, the pom.xml is located under the
folder in which .project file of eclipse project is , but eclipse:eclipse
command cannot generate .classpath file for the pom.xml, so eclipse can not
detect added dependencies in the pom.xml. how to generate .classpath for
eclipse project ? does maven2 use generated .classpath file to replace
former one or just overwrite changed part according to dependencie of
pom.xml? thanks
Jeff

On 11/16/05, Brett Porter [EMAIL PROTECTED] wrote:

 The sync is one directional: mvn eclipse:eclipse generates .classpath
 from the contents of the pom.xml

 - Brett

 On 11/17/05, jeff li [EMAIL PROTECTED] wrote:
  Hi,
  I used to use maven 1.0 on mavanIDE pluged in eclipse, but now cannot
 find
  out proper IDE for maven2,so I meet some problems I can not solve
 without
  IDE support.
  please do me a favor, teach me how to use maven-eclipse-plugin to make
  synchronization between dependencies of pom.xml and .classpath file of
  eclipse.
  thinks very much.
  Jeff
 
 

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




can maven-eclipse-plugin of maven2 work?

2005-11-14 Thread jeff li
Hi,
I try beta and alpha version of maven-eclipse-plugin of maven2 , but it can
not work. I am wondering if maven-eclipse-plugin can work so far.

Jeff


question about antlib

2005-11-12 Thread jeff li
Hi,


project name=common-model basedir=.
xmlns:artifact=urn:maven-artifact-ant

typedef resource=org/apache/maven/artifact/ant/antlib.xml
uri=urn:maven-artifact-ant
classpath
pathelement location=src/main/resource/maven-artifact-ant-2.0-dep.jar =
/
/classpath
/typedef

artifact:pom id=maven.project file=pom.xml /

artifact:localRepository id=localrepo location=c:/repo
layout=default/

artifact:dependencies pathId=dependency.classpath 
pom refid=maven.project/
localRepository refid=localrepo/
/artifact:dependencies


the question is that the jar files on dependencies of pom.xml can not be
found with dependency.classpath . any error on my ant scritp? thank you very
much!

good day
Jeff