C# compile by use Maven1.x, i got build failed

2005-04-25 Thread NATARAJAN Sasi Kumar
Hai all i am compiling C# using ant task in maven 1.x, if compile one file no problem if compile more than one file , i got Build failed do you know anyone the above question advise me thanks in advance I am using tag goal name=csc:c# description=Compile C# ant:csc srcdir

Re: ---SPAM--- C# compile by use Maven1.x, i got build failed

2005-04-25 Thread Stephan Zeissler
Hi, the problem is easy: you have two Main() Methods in Programm, one in Class1.cs and one in Class2.cs. The compiler don't know which is your whished startpoint for the application so it fails. Either define one as the real Main() Method (I don't know exactly how to do that by commandline) or

Re: C# compile by use Maven1.x, i got build failed

2005-04-25 Thread Emmanuel Venisse
It isn't a maven problem, but a problem in your c# code. I suppose that you have more than one Main method in your sources, isn't it? Emmanuel - Original Message - From: NATARAJAN Sasi Kumar [EMAIL PROTECTED] To: users@maven.apache.org Sent: Monday, April 25, 2005 8:48 AM Subject: C#

I have some problem in artifact creation...

2005-04-25 Thread vijayakumar.lakshmanan
Hi All, I have some problem in artifact creation Please find below the problem statement: Under the src directory I have 'n' no of java files in its respective sub-directories. For any artifact creation, Maven compiles all the java files inside the src directory

Re: I have some problem in artifact creation...

2005-04-25 Thread dan tran
checkout http://maven.apache.org/reference/project-descriptor.html#sourceModifications -D On 4/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I have some problem in artifact creation Please find below the problem statement: Under the src directory I have 'n' no

Re: [m2] Multiproject Dependecies

2005-04-25 Thread J. Matthew Pryor
Brett Porter wrote: You are (mostly) correct. The ordering is currently by dependencies, then alphabetical. It should be in the following order: - dependencies - parent relationships - module ordering We haven't noticed, as we consider the best practice to be that the parent you extend is always

RE: ant:script tag and Groovy

2005-04-25 Thread Adam Hardy
If you can get one script language to work, it shouldn't be a big leap to get other ones working too. Especially since maven will do anything ant can do. If it's not working in maven, try writing it in ant first. Once you've worked out the problem in ant, it's usually little more than a

use of className tag

2005-04-25 Thread vijayakumar.lakshmanan
Hi All, In below mentioned descriptors what's the exact use of className tag I don't understand the theory ? sourceModifications sourceModification classNameFakeClass/className excludes exclude**/EJS*.java/exclude exclude**/_*.java/exclude /excludes

Re: use of className tag

2005-04-25 Thread Kenney Westerhof
On Mon, 25 Apr 2005 [EMAIL PROTECTED] wrote: The className tag denotes a classname that maven will try to load. If it cannot load that class (e.g. it doesn't exist), then the includes/ and excludes/ get applied to the sources. In short, you can use SourceModifications to include/exclude some

RE: use of className tag

2005-04-25 Thread vijayakumar.lakshmanan
Thank you very much. -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 3:26 PM To: Maven Users List Subject: Re: use of className tag On Mon, 25 Apr 2005 [EMAIL PROTECTED] wrote: The className tag denotes a classname that maven will try

Re: license and maven2

2005-04-25 Thread Jamie Bisotti
Use and editor/IDE with code folding and it's a non-issue. On 4/24/05, Brett Porter [EMAIL PROTECTED] wrote: IANAL, so I don't know whether you really need to include a license header in every file. I doubt it is the case, though I'm sure you can get away with: /* Copyright (c) ...

customize artifact sub-dir in project.xml for remote repository

2005-04-25 Thread Kolitha Perera
Hello All, Is there a way to configure project xml to pick artifacts for different sub-directory in remote repository rather thank picking up from $MAVEN_REPO/repository/group_id/jar/artifacts_id. For example to pick property file A from $MAVEN_REPO/repository/group_id/properties/A Regards

Re: Ant Tasks for Maven 2.0

2005-04-25 Thread Arik Kfir
While in m1 most people do tend to say that they are more-or-less the same (not that I agree), with m2 the distinction will be a lot more obvious IMO because m2 actually defines a clear development cycle that goes way beyond what Ant does and can provide. [EMAIL PROTECTED] wrote:

Re: Ant Tasks for Maven 2.0

2005-04-25 Thread Jason van Zyl
On Mon, 2005-04-25 at 16:41 +0200, [EMAIL PROTECTED] wrote: http://maven.apache.org/maven2/ant-tasks.html Just a word to say developping this is a brave initiative because these maven features are probably ones of those that made people quit ant to use maven, but as it will help people that

Re: Where to find Maven-xmlbeans-plugin and documentation ?

2005-04-25 Thread David Jencks
On Apr 25, 2005, at 7:51 AM, Adam Hardy wrote: -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: 23 April 2005 17:49 To: Maven Users List Subject: Re: Where to find Maven-xmlbeans-plugin and documentation ? I more or less recommend using xmlbeans 2. The plugin is here:

RE: Where to find Maven-xmlbeans-plugin and documentation ?

2005-04-25 Thread Adam Hardy
-Original Message- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: 25 April 2005 16:20 I see you haven't got to that 'compilation to jar' functionality - or are you planning on deprecating it? I have no use for it (I need to package the xmlbeans classes with project

Re: Ant Tasks for Maven 2.0

2005-04-25 Thread Wim Deblauwe
It is just a real pity that using these ant tasks I have better transitive dependency management then using Maven 1.0.2. I hope this comes to maven 1.0 real soon (or Maven 2.0 gets to a stable release real soon) On 4/26/05, Jason van Zyl [EMAIL PROTECTED] wrote: On Mon, 2005-04-25 at 16:41

RE: ant:script tag and Groovy

2005-04-25 Thread Kenney Westerhof
On Mon, 25 Apr 2005, M. Sean Gilligan wrote: If it's ant 1.6 or higher only, you'd have to either use maven 1.1 or replace all ant-jar's in mavens lib/ directory with the 1.6 versions.. I have 5 scripting languages working in ANT, but cut-and-paste to maven doesn't work. I can't get the

[m1] xinclude in xdocs?

2005-04-25 Thread Michael Heuer
Hello, I thought this might be a FAQ, but I was unable to find a solid answer anywhere. Is it possible to use xinclude or any other inclusion mechanism in xdoc documentation? Thank you, michael - To unsubscribe, e-mail:

RE: ant:script tag and ANY SCRIPTING LANGUAGE

2005-04-25 Thread M. Sean Gilligan
If it's ant 1.6 or higher only, Ant 1.6.1 added built-in support for Groovy, but the script tag exists in Ant 1.5.3 and should work with JavaScript and/or BeanShell directly. you'd have to either use maven 1.1 I'd like to wait for a (beta) release before attempting Maven 1.1. Any hints as

RE: Memory: 3M/4M message

2005-04-25 Thread Arnaud HERITIER
The first number is the current memory used in the JVM (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#totalMemory() - http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#freeMemory()) and the second one is the maximum used actually

Repository Permissions

2005-04-25 Thread Buorn, Yoway
We have a private central repository on our network that engineers are allowed to contribute to. They can contribute both their own artifacts as well as third-party artifacts that they feel would be useful to others. In the latter case, they simply ftp to the repository, create the necessary

Scripting Maven 1.0 with BeanShell and Jython

2005-04-25 Thread M. Sean Gilligan
I've been able to get BeanShell and Jython to work and documented what I did on this page: http://www.msgilligan.com/maven-scripting.html I'd still like to be able to do the following: 1) Use the ant:script tag rather than Jelly tags (for consistency) 2) Be able to read and write properties from

how can i compile jsps

2005-04-25 Thread rajas kumar
Hai all, I need help in compiling jsps before creating war file...can any body tell me the way how to compile. regs, raja. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: how can i compile jsps

2005-04-25 Thread Brett Porter
first result for maven precompile in google is: http://maven.apache.org/using/war.html - Brett On 4/26/05, rajas kumar [EMAIL PROTECTED] wrote: Hai all, I need help in compiling jsps before creating war file...can any body tell me the way how to compile. regs, raja.

Re: how can i compile jsps

2005-04-25 Thread Jack Tang
Hi How about ant jspc task? http://ant.apache.org/manual/OptionalTasks/jspc.html /Jack On 4/26/05, rajas kumar [EMAIL PROTECTED] wrote: Hai all, I need help in compiling jsps before creating war file...can any body tell me the way how to compile. regs, raja.