Re: Functional tests in Maven2?

2006-06-29 Thread Marc Dugger
*Test.java Run 'mvn install' on your project when you want to execute integration tests. Also, I don't separate unit and integration tests by folder. Marc Dugger [EMAIL PROTECTED] Y!: realtybaronhelp MSN: [EMAIL PROTEC

Re: Maven Hibernate Plugin with Maven2

2007-08-31 Thread Marc Dugger
n1 plugin? > > Thanks, > > David > -- Marc Dugger [EMAIL PROTECTED] YIM: realtybaronhelp MSN: [EMAIL PROTECTED] AIM: realtybaronhelp === Search Over 3 Million Home Listings http://www.realtybaron.com/search ===

plugin does not exist or no valid version could be found

2008-03-05 Thread Marc Dugger
this behavior today? -- Marc Dugger [EMAIL PROTECTED] YIM: realtybaronhelp MSN: [EMAIL PROTECTED] AIM: realtybaronhelp === Search Over 3 Million Home Listings http://www.realtybaron.com/search ===

Re: odd question

2007-03-05 Thread Marc Dugger
How about a shell script like so: mvn compile -DsomeProfile=bob cp ./target/project-1.0.jar ./safedir/bob.jar mvn compile -DsomeProfile=sally cp ./target/project-1.0.jar ./safedir/sally.jar -- Marc Dugger [EMAIL PROTECTED] Y!: realtybaronhelp MSN: [EMAIL PROTECTED] AIM: realtybaronhelp

javac: invalid flag: -source

2005-12-21 Thread Marc Dugger
aven-compiler-plugin C:\Java\jdk1.3.1_15\bin\javac true true ... Any insight is much appreciated. Marc Dugger [EMAIL PROTECTED] 6% real estate sales commission? Not likely. Learn why at http

Re: javac: invalid flag: -source

2005-12-21 Thread Marc Dugger
X 1.3.x. > > A quick look at > http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javac.html does not > > mention a '-source' option of the javac of JDK 1.3, hence the error. > > -Tim > > Marc Dugger schrieb: > > I'm using m2 v2.0 and attempting to com

Re: javac: invalid flag: -source [SOLUTION]

2005-12-21 Thread Marc Dugger
Yes, it did :) My resulting compiler config: true true C:\Java\jdk1.3.1_15\bin\javac 1.3 ... Thanks! Marc Dugger [EMAIL PROTECTED] 6% real estate sales commission? Not likely. Learn why at http://tinyurl.com/dvkbu

classpath size limit

2005-12-22 Thread Marc Dugger
Has anyone run into problems with the size of the classpath on the command line? How do I get around it? Thanks. My vitals: Executing M2 with jdk1.4.2_10 Compiling with jdk1.3.1_15 true true C:\Java\jdk1.3.1_15\bin\javac.exe 1.3 ... Marc Dugger [EMAIL PROTECTED

weblogic plug-in

2006-01-05 Thread Marc Dugger
Is a Weblogic plug-in available for M2 yet? Marc Dugger [EMAIL PROTECTED] 6% real estate sales commission? Not likely. Learn why at http://tinyurl.com/dvkbu

need more logging info from torque goals

2003-10-27 Thread Marc Dugger
I'm receiving a 'BUILD FAILED' for torque:om, but cannot debug because the logging is minimal. '-X' does not help. How can I specify the log4j prop file Maven uses so that I may receive some meaningful logging? - To unsubscribe

RE: need more logging info from torque goals (repost)

2003-10-27 Thread Marc Dugger
model Line.. 242 Column 49 Generation failed. For more information consult the velocity log, or invoke ant with the -debug flag. Total time: 3 seconds > -Original Message- > From: Marc Dugger [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 2:04 PM > To: [EMAI

RE: need more logging info from torque goals (repost)

2003-10-27 Thread Marc Dugger
ubject: RE: need more logging info from torque goals (repost) > > > What was in the velocity.log? > -- > dIon Gillard, Multitask Consulting > Blog: http://blogs.codehaus.org/people/dion/ > Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc > > > "Marc Dugg

returning var value to initial value

2003-12-11 Thread Marc Dugger
If I define 'foo=something' in a build.properties or project.properties and I in maven.xml, is there a way I can return 'foo' to the original value (i.e. re-initialize?) defined in build.properties or project.properties without having to ?

hibernate:export-schema and ClassNotFoundException

2003-12-31 Thread Marc Dugger
I'm trying to generate a schema for Hibernate, but my compiled classes are not being found in by the thread's classloader: Root cause net.sf.hibernate.MappingException: net.sf.hibernate.MappingException: persistent class [com.socotech.realtybaron.or.BusinessEntityImpl] not found at net.sf

RE: hibernate:export-schema and ClassNotFoundException [SOLUTION]

2003-12-31 Thread Marc Dugger
Nevermind: http://www.hibernate.org/134.html > -Original Message- > From: Marc Dugger [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 31, 2003 3:07 PM > To: [EMAIL PROTECTED] > Subject: hibernate:export-schema and ClassNotFoundException > > > > I'm

hibernate:schema-export

2004-01-03 Thread Marc Dugger
I am receiving ClassNotFoundException's (i.e. org/dom4j/Attribute, net/sf/hibernate/Lifecycle, etc.) for various dependencies of the hibernate plug-in. I've built and installed the hibernate plug-in from CVS but I continue to suffer at the hands of ClassNotFoundException. Is there any secret twea

RE: hibernate:schema-export [SOLUTION]

2004-01-03 Thread Marc Dugger
Apply patch: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPHIBERNATE-2 > -Original Message- > From: Marc Dugger [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 03, 2004 8:46 AM > To: [EMAIL PROTECTED] > Subject: hibernate:schema-export >

RE: where to put jar files

2003-03-26 Thread Marc Dugger
Joerg: I'm new to Maven as well, but I'll tell you what I know: you'll need to add a "dependency" entry in your project.xml file which specifies log4j: http://maven.apache.org/reference/project-descriptor.html#dependencies. When maven is used to build your project, it will "fetch" the log4j jar a

system property

2003-05-29 Thread Marc Dugger
When invoking the goal test:test, I specify the JVM to fork. However, the system properties that I am defining with '-D' appear not to be passed to the new JVM. Here's my command line when invoking Maven: $ maven -Dcom.susnetdirect.core.config.dir=. test:test I'd like to set this property in

RE: system property

2003-05-29 Thread Marc Dugger
gt; > > -Original Message- > > From: Marc Dugger [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 28, 2003 7:17 PM > > To: [EMAIL PROTECTED] > > Subject: system property > > > > > > When invoking the goal test:test, I specify the JVM to fork. Ho

invoking target directly

2003-05-30 Thread Marc Dugger
I'd like to invoke the Ant target "torque-data-model" by itself instead of invoking the entire Maven goal "torque:ojb". I'd like to avoid editing the plugin.jelly and wrapping a 'goal' tag around the target. Is there a way I can do this from maven.xml?

RE: invoking target directly

2003-05-30 Thread Marc Dugger
After further review, I notice that "torque:ojb-model" is invoked as if it were a goal in torque's plugin.jelly, but it's never actually defined as a goal...just a target. Does anyone know why that is? Typo? > -Original Message----- > From: Marc Dugger [mailt

xml jelly tags

2003-05-30 Thread Marc Dugger
I'm trying to use jelly xml tags to transform an xml file like so: However, I'm receiving the following error: BUILD FAILED Provider for javax.xml.transform.TransformerFactory cannot be found Total time: 4 seconds I have Xalan li

RE: xml jelly tags

2003-05-31 Thread Marc Dugger
name quirks xml-apis-1.0.b2.jar is the latest - with xml- > apis-2.0.2.jar usage I wasted only time. > > Cheers, > > Sigi > > On 29 May 2003 at 16:32, Marc Dugger wrote: > > > I'm trying to use jelly xml tags to transform an xml file like so:

RE: xml jelly tags [solution]

2003-05-31 Thread Marc Dugger
Ultimately, I ended up "borrowing" a section from docbook's plugin.jelly that goes something like this: ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org. apache.xalan.processor.TransformerFactoryImpl')} > -----Original Message--

multi-project builds

2003-06-16 Thread Marc Dugger
I want to define a "commons" project that contains only reusable components and will be built and included in all my other application projects. However, I don't understand yet how to specify a sub-project in the dependency section of the POM of an application project. If, for example, my project

torque:jdbc

2003-06-27 Thread Marc Dugger
The goal "torque:jdbc" is having problems finding my JDBC driver. I've peeked at the plugin.jelly for Torque and it's simply trying to load the driver using Class.forName() instead of accepting a nested classpath reference from the Ant task invocation. I have the following in my project.xml:

jar crashes tomcat

2003-07-09 Thread Marc Dugger
A jar created from Maven's java:jar goal is crashing Tomcat. I'm receiving an IllegalArgumentException while Catalina's WebappLoader is loading jar files from WEB-INF/lib. It appears to be valid..I am able to list its contents and it looks okay. Has anyone experienced this?

where to define custom compiler?

2006-02-07 Thread Marc Dugger
Instead of JavacCompiler, I'd like to try my own implementation (Javac13Compiler) that attempts to shorten the command line arguments. Where do I define the which implementation to use so it's picked up by M2? Thanks. Marc Dugger [EMAIL

Re: java compiler memory and/or forking problems

2006-02-21 Thread Marc Dugger
} fwriter.flush(); args.add("@" + fileList.getName()); } catch (IOException e) { e.printStackTrace(); } Contact me directly if you need help doing this. HTH. Marc Dugger [EMAIL PROTECTED] 6% real estate sale

distributionManagement in settings.xml

2006-03-23 Thread Marc Dugger
I'm trying to "localize" the distributionManagement in settings.xml, but receiving following: "Unrecognised tag: 'distributionManagement'" Documentation says it can be done. I'm using Maven 2.0.2. Marc Dugger [EMAIL PROTECTED] ~

POM file truncated during deployment

2006-03-30 Thread Marc Dugger
We have several projects being built by M2/Continuum. However, one of the POM files is consistently being truncated at the same spot each time. The truncation doesn't occur during 'install' into developer's local repo. Has anyone seen something like this before? ... servletapi