Re: classpath fileseparator problem in generated manifest file under winxp

2008-05-19 Thread Thalmeiner Zsolt

Can you send me a simple working example?
Thank you in advance.
th

Paolo Compieta írta:

This is not a Maven problem.

The classpath entry in the manifest file is platform independent, and all
paths are relative to the containing jar - you shouldn't even need the "./"
prefix.
see http://mindprod.com/jgloss/jar.html#CLASSPATH

Regards,
PC


Thalmeiner Zsolt wrote:
  

Using the .\ tag I want to get ".\"
(backslash) as prefix but the manifest file contains "./" (slash)
prefixes. Unfortunatelly running the jar under WinXP doesn't recognizes
paths with slashes :(
I wrote to the list because I didn't found any information in doc pages to
handle this problem.

Regards,
th

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






  




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



Re: classpath fileseparator problem in generated manifest file under winxp

2008-05-19 Thread Thalmeiner Zsolt

Using the .\ tag I want to get ".\" (backslash) as 
prefix but the manifest file contains "./" (slash) prefixes. Unfortunatelly running the jar under 
WinXP doesn't recognizes paths with slashes :(
I wrote to the list because I didn't found any information in doc pages to 
handle this problem.

Regards,
th


Paolo Compieta írta:

Using the
  .\
tag, you're telling the Jar plugin to put that prefix - and it seems to
behave correctly.

always visit the plugin's doc pages for details:
http://maven.apache.org/plugins/maven-jar-plugin/ Maven Jar Plugin 
http://maven.apache.org/shared/maven-archiver/examples/classpath.html Maven
Archiver 


Regards,
PC


Thalmeiner Zsolt wrote:
  

Hello,

I'm building a Java project using Maven 2.0.9 and JVM 1.5.0_14 on 
Windows XP.
My project depends on runtime from some jar files that are resides in 
the same directory with my jar so I put this configuration to my pom.xml:


  
org.apache.maven.plugins
maven-jar-plugin
2.2

  

  true
  .\

  

  
  
After build the manifest file in my jar file contains all dependencies 
with prefix "./"

Is this a bug or I missed something?

Regards,
th



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






  




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



classpath fileseparator problem in generated manifest file under winxp

2008-05-19 Thread Thalmeiner Zsolt

Hello,

I'm building a Java project using Maven 2.0.9 and JVM 1.5.0_14 on 
Windows XP.
My project depends on runtime from some jar files that are resides in 
the same directory with my jar so I put this configuration to my pom.xml:

  
org.apache.maven.plugins
maven-jar-plugin
2.2

  

  true
  .\

  

  


After build the manifest file in my jar file contains all dependencies 
with prefix "./"

Is this a bug or I missed something?

Regards,
th



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



Re: plexus components configuration

2008-01-08 Thread Zsolt KOZAK
Hi Olivier,

Thanks for the help. ;) I do  know that lifecycle.xml is for this
problem but I have not found any proper example for components.xml
versus lifecycle.xml yet. :( Does anybody have a detailed example
lifecycle.xml?

cheers,
Zsolt


On 2008-01-08 01:47, Olivier Dehon wrote:
> On Tue, 2008-01-08 at 00:46 +0100, Zsolt KOZAK wrote:
>
>   
>> So I have the following snipplet from a components.xml and I'd like to
>> pass some config parameters to the maven-war-plugin for the package
>> phase. Is it possible in a plexus components.xml?
>>
>>
>> 
> I have never done that myself so take it for what it's worth, but the
> only way I see to do that would be to define your own lifecycle in
> META-INF/maven/lifecycle.xml in the plugin JAR.
>
> You can define configuration elements for the plugins in that file.
>
>   

-- 
Zsolt KOZAK  [EMAIL PROTECTED]
personal web:http://zso.lt
Road To Avonlea: http://avonlea.hu


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



Re: plexus components configuration

2008-01-07 Thread Zsolt KOZAK
Hi Olivier,


On 2008-01-08 00:36, Olivier Dehon wrote:
> On Mon, 2008-01-07 at 16:21 +0100, Zsolt KOZAK wrote:
>   
>> Hi,
>>
>> I have the following problem.
>>
>> We use a custom packaging called "warstub". We uses modules and if a
>> module depends on other modules, its war will contain ALL the
>> dependecies (jars, html, images, etc). A warstub would contain only the
>> current module web-stuff (jar, html, etc.), so it's a kind of war but
>> contains less stuff. We created our own plugin which creates "warstub".
>>
>> 
>
> If I understand correctly what you are trying to achieve, you might want
> to use the overlay capability of the war plugin, by adding a dependency
> of type "war".
>
> http://maven.apache.org/plugins/maven-war-plugin/overlays.html
>   

Not exactly... This problem was solved with an own plugin. The problem
is to fine tune this plugin by passing configure parameters to the
maven-war-plugin in a plexus components.xml. (I just tried to explain
why I needed to configure the war-plugin).

So I have the following snipplet from a components.xml and I'd like to
pass some config parameters to the maven-war-plugin for the package
phase. Is it possible in a plexus components.xml?


.


  org.apache.maven.lifecycle.mapping.LifecycleMapping
  warstub
 
  
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
  

  
default

 
org.apache.maven.plugins:maven-resources-plugin:resources
 
org.apache.maven.plugins:maven-compiler-plugin:compile
 
org.apache.maven.plugins:maven-resources-plugin:testResources
 
org.apache.maven.plugins:maven-compiler-plugin:testCompile
 org.apache.maven.plugins:maven-surefire-plugin:test
 org.apache.maven.plugins:maven-war-plugin:war
 
org.apache.maven.plugins:maven-install-plugin:install
     
org.apache.maven.plugins:maven-deploy-plugin:deploy

  

  

.


thank you,
Zsolt



-- 
Zsolt KOZAK  [EMAIL PROTECTED]
personal web:http://zso.lt
Road To Avonlea: http://avonlea.hu


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



plexus components configuration

2008-01-07 Thread Zsolt KOZAK
Hi,

I have the following problem.

We use a custom packaging called "warstub". We uses modules and if a
module depends on other modules, its war will contain ALL the
dependecies (jars, html, images, etc). A warstub would contain only the
current module web-stuff (jar, html, etc.), so it's a kind of war but
contains less stuff. We created our own plugin which creates "warstub".

It's a simple plugin, it contains only a plexus components.xml. Here is
a snipplet from the componets.xml:

..

  org.apache.maven.lifecycle.mapping.LifecycleMapping
  warstub
 
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
  

  
default

 
org.apache.maven.plugins:maven-resources-plugin:resources
 
org.apache.maven.plugins:maven-compiler-plugin:compile
 
org.apache.maven.plugins:maven-resources-plugin:testResources
 
org.apache.maven.plugins:maven-compiler-plugin:testCompile
 
org.apache.maven.plugins:maven-surefire-plugin:test
 
org.apache.maven.plugins:maven-war-plugin:war
 
org.apache.maven.plugins:maven-install-plugin:install
 
org.apache.maven.plugins:maven-deploy-plugin:deploy

  

  

.


This maps the lifecycle phases to the proper maven-plugins.

And here is the ArtifactHandler config part:



  org.apache.maven.artifact.handler.ArtifactHandler
  warstub
 
org.apache.maven.artifact.handler.DefaultArtifactHandler
  
warstub
java
false
false
war
  




What is my problem? Because we use the maven-war-plugin for packaging,
it includes all the dependecy JARs... So if a module depends on 5 other
modules, the target warstub will contain the 5 JARs (of the modules) as
well... If I could use "warSourceExcludes" parameter, I could exclude
all the dependent JARs. My problem is how to configure the
maven-war-plugin in a plexus components.xml.

Could you help me, please?

thank you,
Zsolt

-- 
Zsolt KOZAK  [EMAIL PROTECTED]
personal web:http://zso.lt
Road To Avonlea: http://avonlea.hu


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



RE: Where is the current stable version?

2006-08-07 Thread Zsolt
I commented every provider out from pom.xml
(http://svn.apache.org/repos/asf/maven/scm/trunk) except svn and cvs. I get
following build results:

Results :
Tests run: 44, Failures: 1, Errors: 0, Skipped: 0

I found following jar files:

maven-scm-api/target/maven-scm-api-1.0-SNAPSHOT.jar
maven-scm-managers/maven-scm-manager-plexus/target/maven-scm-manager-plexus-
1.0-SNAPSHOT.jar
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svntest/targe
t/maven-scm-provider-svntest-1.0-SNAPSHOT.jar
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svn-commons/t
arget/maven-scm-provider-svn-commons-1.0-SNAPSHOT.jar
maven-scm-test/target/maven-scm-test-1.0-SNAPSHOT.jar

As far as I see not cvs provider was built.

I work on redhat-8 with jre 1.5.0_07-b03.

Cvs 1.11.17
Subversion 1.2.3 (r15833)

Any ideas?

Zsolt


>-Original Message-
>From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 07, 2006 11:54 AM
>To: scm-users@maven.apache.org
>Subject: Re: Where is the current stable version?
>
>
>Zsolt a écrit :
>> Hi,
>>
>> where can I find the latest stable jar files? What do I need.
>
>The latest stable version is 1.0-beta-3.
>
>>
>> Additionally, how can I compile the sources from subversion repository? I
>> work an Windows.
>
>mvn clean install in the root directory, but some provider need a scm
>client installed on your
>machine like cvs, svn...
>You can comment in maven-scm-providers/pom.xml providers that you don't
>want to build.
>
>Emmanuel




What is wrong with this code?

2006-08-04 Thread Zsolt
Hi,

If I execute the code below I get following error:

Exception in thread "main"
org.apache.maven.scm.manager.NoSuchScmProviderException: No such provider:
'svn'.
at
org.apache.maven.scm.manager.AbstractScmManager.getProviderByType(AbstractSc
mManager.java:116)
at
org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractSc
mManager.java:144)
at src.Test.main(Test.java:18)
[WARNING] No SCM providers configured.

I use maven-2.0.4 and compiled maven-scm from trunk.


import org.apache.maven.scm.manager.ScmManager;
import org.apache.maven.scm.repository.ScmRepository;
import org.codehaus.plexus.embed.Embedder;

public class Test {
public static void main(String[] args) throws Exception {
Embedder plexus = new Embedder();

plexus.start();

ScmManager scmManager = (ScmManager) plexus.lookup(
ScmManager.ROLE );

String url = "scm:svn:svn://localhost/test";
scmManager.validateScmRepository(url);

ScmRepository repository =
scmManager.makeScmRepository(url);
repository.getProviderRepository().setUser("x");
repository.getProviderRepository().setPassword("y");

scmManager.getProviderByRepository(repository);
}
}

Zsolt



Where is the current stable version?

2006-08-03 Thread Zsolt
Hi,

where can I find the latest stable jar files? What do I need.

Additionally, how can I compile the sources from subversion repository? I
work an Windows.

Zsolt





RE: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
I gladly add new functionality or providers to the API but I would be
definitely not the right person to make such modifications in the core API.

Can somebody make some suggestions? I really have to make a decision:
maven-scm or not.

Our internal API supports cvs, svn, vss, pvcs and cm-synergy but maven-scm
has much more functionally thus I would love to replace our API but I need a
solution that can be used in a environment with lot of parallel users.

Zsolt

>-Original Message-
>From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 11, 2006 2:23 PM
>To: scm-users@maven.apache.org
>Subject: RE: Is scm-maven thread safe?
>
>On Tue, 2006-04-11 at 14:07, Zsolt wrote:
>> I have viewed a lot of maven-scm source code (but not maven core) and
>find
>> the structure clean and I didn't see anything I would consider this API
>as
>> NOT thread safe.
>>
>> But it is very important to know from beginning what is NOT thread safe.
>I
>> understand that also this API has probably bugs (like our software) but I
>> need more understanding the multi thread problems we can have or how they
>> can be prevented (I'm sure you understand, that sometime it is really
>hard
>> to reproduce and fix a multi-thread related bug).
>>
>> As I described below serialization of the request is not an option
>because
>> one user can checkout and a second view resource history the same time.
>>
>> Trygve, if I understand you correctly I should somehow assure that I
>create
>> a new provider instance for each request.
>
>Either that or ensure that all of the providers are thread safe.
>
>> I don't know how to do that but think it must be simple.
>
>It boils down to either making the providers have this stanza in
>components.xml:
>
>  per-lookup
>
>and then have _each client return the instance_ back to the container so
>that all requirements can be properly released.
>
>The alternative is to make the providers thread safe too which might not be
>too hard, and the API would be easier to use for the client.
>
>I'm not entirely sure what the best way is but I would suggest that one
>look into making the providers thread safe because that keeps the API
>simple and easier to use for the clients. Easier to use usually means less
>buggy client code which is good :) It *might* make the provider a bit
>harder but I hope the cleaner/easier API should out weight the more complex
>code.
>
>> If that is the only limitation, that is absolutely fine for me.
>
>It's not a big requirement, but it might still be a hard one if there is an
>issue. The core API is really simple and should indeed be pretty much
>thread safe, but the providers might not be as they run processes etc which
>they might have to keep track on over time etc.
>
>--
>Trygve



RE: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
I have viewed a lot of maven-scm source code (but not maven core) and find
the structure clean and I didn't see anything I would consider this API as
NOT thread safe.

But it is very important to know from beginning what is NOT thread safe. I
understand that also this API has probably bugs (like our software) but I
need more understanding the multi thread problems we can have or how they
can be prevented (I'm sure you understand, that sometime it is really hard
to reproduce and fix a multi-thread related bug).

As I described below serialization of the request is not an option because
one user can checkout and a second view resource history the same time.

Trygve, if I understand you correctly I should somehow assure that I create
a new provider instance for each request.

I don't know how to do that but think it must be simple.

If that is the only limitation, that is absolutely fine for me.

Zsolt


>-Original Message-
>From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 11, 2006 1:33 PM
>To: scm-users@maven.apache.org
>Subject: RE: Is scm-maven thread safe?
>
>On Tue, 2006-04-11 at 12:10, Zsolt wrote:
>> Trygve,
>>
>> Are you sure? In this case maven-scm is not an option for us. After
>spending
>> some days on maven-scm and implementing ScmProvider.listTask I really
>like
>> this API and even plan to add CM-Synergy support, but we are going to use
>> this API from servlets, thus it must be thread safe. You might know
>> javaforge.com that is based on our software with hundreds of projects and
>> thousands of users. Serializing the request is just not acceptable for us
>> (for the users) because it is very probably that more than one user want
>to
>> browse repositories.
>
>If something isn't thread safe just means that you'll have to use more
>instances of the thing in question.
>
>But, if this is something that's really important it wouldn't be hard to
>ensure (and keep) the core thread safe, and if the providers are used on a
>per lookup-basis you should be home safe. For all I know the core is
>practically thread safe already.
>
>I think the solution I've outlined above is the easiest solution (keeping
>the core thread safe, and just instantiate the providers per usage. The
>biggest issue with this is that the user of the provider will have to
>return/dispose the instance once it's done with it.
>
>--
>Trygve



RE: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
Trygve,

Are you sure? In this case maven-scm is not an option for us. After spending
some days on maven-scm and implementing ScmProvider.listTask I really like
this API and even plan to add CM-Synergy support, but we are going to use
this API from servlets, thus it must be thread safe. You might know
javaforge.com that is based on our software with hundreds of projects and
thousands of users. Serializing the request is just not acceptable for us
(for the users) because it is very probably that more than one user want to
browse repositories.

Zsolt

>-Original Message-
>From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 11, 2006 9:58 AM
>To: scm-users@maven.apache.org
>Subject: Re: Is scm-maven thread safe?
>
>On Tue, 2006-04-11 at 07:38, Zsolt wrote:
>> Hi,
>>
>> we plan to use scm-maven from tomcat. Are scm-maven and maven thread
>safe?
>
>The short answer is: no. Maven SCM is not thread safe, most of Maven
>*should* be, but there's no real guarantee for that. In particular the
>plug-ins might not be thread safe.
>
>If you want to embed Maven SCM and/or Maven itself I would recommend that
>you write a simple thread that takes commands from a servlet/jsp/web action
>and builds stuff in a serial ordering.
>
>Continuum does this all over the place so you can take a look at how it
>does the queuing and execution.
>
>--
>Trygve



RE: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
Does that mean that only one checkout can be running? What happens if a
checkout takes for example hours?

Zsolt

>-Original Message-
>From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 11, 2006 9:58 AM
>To: scm-users@maven.apache.org
>Subject: Re: Is scm-maven thread safe?
>
>On Tue, 2006-04-11 at 07:38, Zsolt wrote:
>> Hi,
>>
>> we plan to use scm-maven from tomcat. Are scm-maven and maven thread
>safe?
>
>The short answer is: no. Maven SCM is not thread safe, most of Maven
>*should* be, but there's no real guarantee for that. In particular the
>plug-ins might not be thread safe.
>
>If you want to embed Maven SCM and/or Maven itself I would recommend that
>you write a simple thread that takes commands from a servlet/jsp/web action
>and builds stuff in a serial ordering.
>
>Continuum does this all over the place so you can take a look at how it
>does the queuing and execution.
>
>--
>Trygve



Proposed extension of ScmProvider

2006-04-07 Thread Zsolt Koppany
Hi,

this mailing list doesn't allow attachments, thus I have just pasted the
source code.

It doesn't contain any implementation but the methods are really necessary
for me.

I extended ScmProvider but actually I think, the new methods should be added
to it.

Please make you proposals.

How should I proceed with the implementation?

Zsolt


---
package org.apache.maven.scm.provider;

import java.util.List;

import org.apache.maven.scm.ScmFileSet;
import org.apache.maven.scm.command.listfiles.ListFilesScmResult;
import org.apache.maven.scm.command.listtasks.ListTasksScmResult;
import org.apache.maven.scm.repository.ScmRepository;

public interface ScmExtendedProvider extends ScmProvider {
ListFilesScmResult listFiles(ScmRepository repository, ScmFileSet
fileSet, boolean recursive);

ListTasksScmResult listTasks(ScmRepository repository);

ListTasksScmResult listTasks(ScmRepository repository, String
taskId);

ListTasksScmResult listTasks(ScmRepository repository, List
taskIds);
}
-

package org.apache.maven.scm.command.listfiles;

import java.util.List;

import org.apache.maven.scm.ScmResult;

public class ListFilesScmResult extends ScmResult
{
private List files;

public ListFilesScmResult( String commandLine, String providerMessage,
String commandOutput, boolean success)
{
super( commandLine, providerMessage, commandOutput, success );
}

/**
 * @return a list containing ChangeFile (or subclass) entries.
 */
public List getFiles()
{
return files;
}
}

-

package org.apache.maven.scm.command.listtasks;

import java.util.List;

import org.apache.maven.scm.ScmResult;

public class ListTasksScmResult extends ScmResult
{
private List tasks;

public ListTasksScmResult( String commandLine, String providerMessage,
String commandOutput, boolean success)
{
super( commandLine, providerMessage, commandOutput, success );
}

/**
 * @return a list containing ScmTask (or subclass) entries.
 */
public List getTasks()
{
return tasks;
}
}


package org.apache.maven.scm.command.listtasks;

import java.util.Date;

public class ScmTask {
private String displayName;
private String release;
private String status;
private String author;
private String synopsis;
private Date lastModificatio;

public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public Date getLastModificatio() {
return lastModificatio;
}
public void setLastModificatio(Date lastModificatio) {
this.lastModificatio = lastModificatio;
}
public String getRelease() {
return release;
}
public void setRelease(String release) {
this.release = release;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getSynopsis() {
return synopsis;
}
public void setSynopsis(String synopsis) {
this.synopsis = synopsis;
}
}


Zsolt Koppany
Phone: +49-711-722 1874
--
Intland Software, Wankelstrasse 3
D-70563 Stuttgart, Germany
Phone: +49-711-722 1873, e-mail:[EMAIL PROTECTED]
Fax: +49-711-722 1835
 




Proposed extension of ScmProvider

2006-04-07 Thread Zsolt Koppany
Hi,

this mailing list doesn't allow attachments, thus I have just pasted the
source code.

It doesn't contain any implementation but the methods are really necessary
for me.

I extended ScmProvider but actually I think, the new methods should be added
to it.

Please make you proposals.

How should I proceed with the implementation?

Zsolt


---
package org.apache.maven.scm.provider;

import java.util.List;

import org.apache.maven.scm.ScmFileSet;
import org.apache.maven.scm.command.listfiles.ListFilesScmResult;
import org.apache.maven.scm.command.listtasks.ListTasksScmResult;
import org.apache.maven.scm.repository.ScmRepository;

public interface ScmExtendedProvider extends ScmProvider {
ListFilesScmResult listFiles(ScmRepository repository, ScmFileSet
fileSet, boolean recursive);

ListTasksScmResult listTasks(ScmRepository repository);

ListTasksScmResult listTasks(ScmRepository repository, String
taskId);

ListTasksScmResult listTasks(ScmRepository repository, List
taskIds);
}
-

package org.apache.maven.scm.command.listfiles;

import java.util.List;

import org.apache.maven.scm.ScmResult;

public class ListFilesScmResult extends ScmResult
{
private List files;

public ListFilesScmResult( String commandLine, String providerMessage,
String commandOutput, boolean success)
{
super( commandLine, providerMessage, commandOutput, success );
}

/**
 * @return a list containing ChangeFile (or subclass) entries.
 */
public List getFiles()
{
return files;
}
}

-

package org.apache.maven.scm.command.listtasks;

import java.util.List;

import org.apache.maven.scm.ScmResult;

public class ListTasksScmResult extends ScmResult
{
private List tasks;

public ListTasksScmResult( String commandLine, String providerMessage,
String commandOutput, boolean success)
{
super( commandLine, providerMessage, commandOutput, success );
}

/**
 * @return a list containing ScmTask (or subclass) entries.
 */
public List getTasks()
{
return tasks;
}
}


package org.apache.maven.scm.command.listtasks;

import java.util.Date;

public class ScmTask {
private String displayName;
private String release;
private String status;
private String author;
private String synopsis;
private Date lastModificatio;

public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public Date getLastModificatio() {
return lastModificatio;
}
public void setLastModificatio(Date lastModificatio) {
this.lastModificatio = lastModificatio;
}
public String getRelease() {
return release;
}
public void setRelease(String release) {
this.release = release;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getSynopsis() {
return synopsis;
}
public void setSynopsis(String synopsis) {
this.synopsis = synopsis;
    }
}

Zsolt




RE: Where is org.apache.maven.scm.providers.svn.settings.Settings?

2006-03-31 Thread Zsolt
Can you provide me some instructions how to do that?

>-Original Message-
>From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 30, 2006 4:12 PM
>To: scm-users@maven.apache.org
>Subject: Re: Where is org.apache.maven.scm.providers.svn.settings.Settings?
>
>It's a generated class. If you want it, you must build with maven2.
>
>Emmanuel
>
>Zsolt a écrit :
>> I have checked out the sources from the trunk but cannot compile because
>for
>> example the class below is missing:
>>
>> org.apache.maven.scm.providers.svn.settings.Settings
>>
>> Where can I find it?
>>
>> Zsolt
>>
>>
>>
>>
>>
>>



RE: How to get a list of files from a directory?

2006-03-30 Thread Zsolt
Emmanuel,

this is the problem. If I want to get the list of the files of a top
directory of a large project it would take very long to checkout everything.

Do you have any ideas?

Zsolt

>-Original Message-
>From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 30, 2006 9:10 PM
>To: scm-users@maven.apache.org
>Subject: Re: How to get a list of files from a directory?
>
>a checkout is always recursive.
>
>Emmanuel
>
>Zsolt a écrit :
>> Hi,
>>
>> how can I figure out the files of a directory? For example I think
>checkout
>> should work however it mustn't be recursive?
>>
>> Zsolt
>>
>>
>>
>>
>>
>>



How to get a list of files from a directory?

2006-03-30 Thread Zsolt
Hi,

how can I figure out the files of a directory? For example I think checkout
should work however it mustn't be recursive?

Zsolt





How to get a list of files from a directory?

2006-03-30 Thread Zsolt
Hi,

how can I figure out the files of a directory? For example I think checkout
should work however it mustn't be recursive?

Zsolt





RE: Where to download scm with all providers from?

2006-03-30 Thread Zsolt
I'm just a maven beginner. Can you give me a maven project that provides me
the environment to use maven-scm? My goal is to use only maven-scm api and
not maven.

Zsolt

>-Original Message-
>From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 30, 2006 4:10 PM
>To: scm-users@maven.apache.org
>Subject: Re: Where to download scm with all providers from?
>
>Zsolt a écrit :
>> Thank you Emmanuel,
>>
>> is there a better way to copy those files? Is a jar file available that
>> contains all scm classes?
>
>No.
>
>>
>> It is not very convenient to copy so many files from so many directories.
>
>What do you try to do?
>
>If you declare them in a maven2 project, they'll be downloaded.
>
>Emmanuel
>
>
>>
>> Zsolt
>>
>>
>>>-Original Message-
>>>From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, March 30, 2006 2:55 PM
>>>To: scm-users@maven.apache.org
>>>Subject: Re: Where to download scm with all providers from?
>>>
>>>for 1.0-beta-2:
>>>http://www.ibiblio.org/maven2/org/apache/maven/scm/
>>>
>>>for snapshots:
>>>http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/scm/
>>>
>>>Emmanuel
>>>
>>>Zsolt a écrit :
>>>
>>>>Hi,
>>>>
>>>>where can I download all scm related jars from?
>>>>
>>>>Zsolt
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>



Where is org.apache.maven.scm.providers.svn.settings.Settings?

2006-03-30 Thread Zsolt
I have checked out the sources from the trunk but cannot compile because for
example the class below is missing:

org.apache.maven.scm.providers.svn.settings.Settings

Where can I find it?

Zsolt





RE: Where to download scm with all providers from?

2006-03-30 Thread Zsolt
Thank you Emmanuel,

is there a better way to copy those files? Is a jar file available that
contains all scm classes?

It is not very convenient to copy so many files from so many directories.

Zsolt

>-Original Message-
>From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 30, 2006 2:55 PM
>To: scm-users@maven.apache.org
>Subject: Re: Where to download scm with all providers from?
>
>for 1.0-beta-2:
>http://www.ibiblio.org/maven2/org/apache/maven/scm/
>
>for snapshots:
>http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/scm/
>
>Emmanuel
>
>Zsolt a écrit :
>> Hi,
>>
>> where can I download all scm related jars from?
>>
>> Zsolt
>>
>>
>>
>>
>>
>>
>>



RE: How to use scm from Java

2006-03-14 Thread Zsolt
Thank you Emmanuel,

and how can I add new commands?

For example provider.listFiles...

Zsolt

>-Original Message-
>From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 14, 2006 5:35 PM
>To: scm-users@maven.apache.org
>Subject: Re: How to use scm from Java
>
>I must write a doc about it.
>
>1- Create a manager that extends
>org.apache.maven.scm.manager.AbstractScmManager
>2- ScmProvider provider = manager.getProviderByUrl( scmUrl )
>3- provider.checkout(...)
>
>If you create your own manager, you'll need to add in it all providers, if
>you don't want to do it,
>you can add Plexus ScmManager like we do it in maven-scm-client
>
>Emmanuel
>
>Zsolt a écrit :
>> Hi,
>>
>> how can I use maven-scm from Java.
>>
>> For example I want to checkout something from CVS or Subversion fro my
>Java
>> application instead of starting "cvs" or "svn" via shell.
>>
>> Zsolt
>>
>>
>>
>>
>>
>>
>>



How to use scm from Java

2006-03-14 Thread Zsolt
Hi,

how can I use maven-scm from Java.

For example I want to checkout something from CVS or Subversion fro my Java
application instead of starting "cvs" or "svn" via shell.

Zsolt