Justin Fung is out of the office

2008-07-23 Thread justin_fung
I will be out of the office starting 23/07/2008 and will not return until 24/07/2008. I will be checking email sporadically and will not be checking voicemail. For WMS/SIS/IAM/GWIS-related production support issues, please contact Dan Hou at (604) 643-6673. For GWIS-related project issues,

Justin Fung is out of the office

2008-07-23 Thread justin_fung
I will be out of the office starting 23/07/2008 and will not return until 24/07/2008. I will be checking email sporadically and will not be checking voicemail. For WMS/SIS/IAM/GWIS-related production support issues, please contact Dan Hou at (604) 643-6673. For GWIS-related project issues,

Maven WAR/EAR projects and the WebSphere test server

2006-10-06 Thread justin_fung
Hello, I'm wondering if anybody has experience setting up a war/ear project in a multimodule pom and then having this run on WebSphere Application Developer's Test Server environment. Did you have to fiddle around with any of the settings? I know WSAD expects code in the web module to be in a

[M2] Where to place servlet code in a WAR project?

2006-09-29 Thread justin_fung
In my web project, I have the following: src main java -com/my/package/MyServlet webapp *.jsp WEB-INF In the WAR file that is generated, MyServlet ends up in a folder called imported_classes. It cannot be reference after I deploy my WAR as

maven-artifact-manager plugin?

2006-08-28 Thread justin_fung
Hi all, Just had a new user who started new/clean on maven 2.0.4 but when he tried to do a mvn install on the project and was pulling things down from the repositories, he got an error indicating maven-artifact-manager could not be downloaded. I have it in my local repository and resolved it

Re: [M2] Best practices for where to place XML/resource files??

2006-06-20 Thread justin_fung
Sorry, that doesn't work. I created a file called mainResources.properties inside /src/main/resources/ and it only shows up in /target/classes/ and not in /target/test-classes/ -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT

Re: [M2] Best practices for where to place XML/resource files??

2006-06-20 Thread justin_fung
Hi Raphael, You are correct... I just verified for myself. Thanks for ther tip! -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604)

[M2] Best practces for where to place XML/resource files

2006-06-19 Thread justin_fung
I have two XML configuration files for Castor JDO inside src/main/resources/ One is mapping.xml which specifies the mappings from XML messages to fields in the Java objects The other is jdo-conf.xml which specifies the behaviour of JDO including how a connection is requested. In the main

Specifying system libraries with eclipse plugin

2006-05-23 Thread justin_fung
Hi guys gals, I am using the eclipse:eclipse task to create my Eclipse workspace in WSAD 5.1. Since WSAD uses IBM's version of JDK v1.3 and we are using JDK 1.4.1. When we initially create the workspace, it always picks JRE System Library eclipse which is version 1.3.1. I have changed the

Re: Best practices question - junit/database/m2/continuum

2006-05-19 Thread justin_fung
Have a look into dbunit: http://dbunit.sourceforge.net We have similar issues with classes relying on stuff from a database and we dynamically pick a different implementation to point at data access object implementations picking up dummy data You should also define a TestSuite and pass it

site plugin fails

2006-05-15 Thread justin_fung
I seem to keep getting an error getting this plugin when I run site:site site:deploy. I have removed Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/d oxia/1.0-alpha-8/doxia-1.0-alpha-8.pom [INFO]

Where to place developer/contributor phone numbers?

2006-05-09 Thread justin_fung
Should it just go under developerproperty/property/developer and if so, how can I make use of this? Ideally the site goal output would also spit out the phone #. I realize this isn't a big deal for an open source project, but in a corporate environment it may really help. Thanks, -j

Re: [m1] FindBugs Plug-in 1.2-SNAPSHOT release!

2006-05-04 Thread justin_fung
Any chance a similar plugin will be made for maven 2? -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604) 643-6727 Lukas Theussl

Re: Problem with Continuum and Maven

2006-05-02 Thread justin_fung
I checked my application.xml and I did uncomment the section that allows file protocol: allowedSchemefile/allowedScheme This would be filed as a Continuum issue or Maven? I'm guessing it's Continuum? Thanks, -j --- Justin Fung [EMAIL

Re: Problem with Continuum and Maven

2006-05-02 Thread justin_fung
Sorry, I re-read your email. Like you said, it is an issue with Maven SCM. I will open an issue there. Thanks, -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca

Re: How do you run a particular TestCase?

2006-05-02 Thread justin_fung
I typically just run the test case in my IDE... as much as I love Maven, it doesn't seem like the kind of thing you'd want Maven to be doing for you. -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems,

Re: Problem with Continuum and Maven

2006-05-01 Thread justin_fung
Well the interesting thing is, I'm running continuum on the same machine as the one that I did the command from the command prompt: mvn clean install --batch-mode --non-recursive The command prompt works just fine.. Here is the output running from Continuum with the -e flag set.

Re: deploying site generated files

2006-05-01 Thread justin_fung
file://* works just fine. I'm using that right now. Just remember to add an extra slash to indicate it is on the same machine (i.e. file:/// instead of file://) -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking

Re: [M2] Where to place project documentation?

2006-04-27 Thread justin_fung
Thanks, this was the response I was looking for. Just a quick note to anybody reading this... that if you put things into /resources/ it will place it at the root level of the project site. I've placed my documentation under /src/site/resources/docs/ and it works great. -j

[M2] Where to place project documentation?

2006-04-26 Thread justin_fung
Is there a standard folder for documentation in a Maven project? e.g. /src/docs? We usually have documentation (MS Word files, class diagrams *.dnx, Visio diagrams and whatnot) that I'd like to include so they could potentially one day be linked off the project website. -j

Re: surefire report plugin

2006-04-20 Thread justin_fung
Thank you. That is correct. I actually resolved the issue by grabbing from the apache snapshots repository, but I forgot to add a repository entry to the (stable) apache repository which contained the dependencies that the surefire report plugin required. -j

Re: Yet another surefire classloader question

2006-04-20 Thread justin_fung
Thread.currentThread().getContextClassLoader().getResourceAsStream() seems to work for me -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605

Re: Maven and WSAD or RAD

2006-04-19 Thread justin_fung
Except that WSAD is base on Eclipse 2.1 so it does not have the ability to specify multiple output paths for compiled classes, but RAD does. This is necessary is you want it to compile the to both the classes and test-classes directories in the target folder. I beg to disagree. In WSAD 5.1.0, you

Re: surefire report plugin

2006-04-19 Thread justin_fung
Sorry to beat a dead horse. I added this as a snapshot repository but I get a bunch of problems with dependent projects not being found. If I dont' define a version number I get the following error when I run site:site plugin groupIdorg.apache.maven.plugins/groupId

Re: Maven and WSAD or RAD

2006-04-18 Thread justin_fung
I've found that the eclipse:eclipse task works very nicely at setting up your workspace as WSAD is built upon Eclipse. I would imagine RAD is no different but I have no exposure to RAD. The only other things you'll need to do are: Add a Java - classpath variable in your settings to M2_REPO

Re: Maven and WSAD or RAD

2006-04-18 Thread justin_fung
I think you've got a couple options here. You could define a new JRE System library in your workspace and switch to that for the project or you could manually install the necessary JARs using mvn install:install-file (see the maven site for docs) and then define these dependencies on your

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread justin_fung
I'm not quite sure I follow. Between eclipse:eclipse, install:install-file, the maven dependencies plugin and the various options you have with the POM, I haevn't had a reason to code a custom eclipse plugin. Every one of my dependencies is managed inside the POM.xml file and I am using WSAD

Re: PMD, CPD, cobertura, jdepend, etc. etc. on my project site

2006-04-12 Thread justin_fung
Hi Wayne, I've copied all those into my settings.xml and no dice.. I'd like to have as many automated reports as possible... Any other suggestions? I suppose I could grab the jars manually and install? I also noticed you have the legacy ibiblio repository in your settings. Is there a reason

Re: use of proxies

2006-04-12 Thread justin_fung
No space after the -P?? mvn process-resources -Pfoxboro,model-base -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604) 643-6727 EJ

Taglist plugin doesn't work....

2006-04-12 Thread justin_fung
I've tried using this both as a report plugin for the mvn site:site goal and also from the command line. It fails for both of these... Any ideas? Looking at the stack trace and the debug info doesn't give me much additional info. Thanks! C:\maventest\IPS-Mainmvn taglist:taglist

surefire report plugin

2006-04-12 Thread justin_fung
I noticed when there are test failures in the surefire report plugin, that it gives a build error and kicks out without finishing up and generating the remaining reports. Is there a way to have it continue even though the surefire test fails? Or am I missing the point? I tried this, but it

Re: [m2] Looking for javadoc warning report

2006-04-12 Thread justin_fung
Checkstyle is OK, but the default config has a ton of extra stuff (especially if you use tabs!!) and the signal-to-noise ratio is a bit high, but it does point out all the missing javadoc comments. -j --- Justin Fung [EMAIL PROTECTED] Sr.

Re: extracting dependant artifact

2006-04-12 Thread justin_fung
Use eclipse:eclipse to set up your project files with the correct path to the repository for your lib files. External jars, you should add to your local repository using mvn install:install-file. You should never need to extract to a directory the jars your project needs, although if you need

Re: surefire report plugin

2006-04-12 Thread justin_fung
Hi Carlos, Thanks I've found the relevant JIRA: http://jira.codehaus.org/browse/MSUREFIREREP-6 Are there plans to update this? I'd far rather grab from a repository or snapshot repository than get code from svn and compile myself... Please forgive me if my understanding of how issues/bug

RE: Internal (intranet) repositories

2006-04-11 Thread justin_fung
I define the following : profile idjustin-local/id repositories repository idlocal/id nameJustin's Local Repository/name urlfile:///T:/maven/repository//url

PMD, CPD, cobertura, jdepend, etc. etc. on my project site

2006-04-11 Thread justin_fung
I'd love to automatically have all this stuff show up on my project site. Currently I do the following: mvn site:site mvn pmd:pmd -Dformat=html mvn pmd:cpd -Dformat=html mvn cobertura:cobertura -Dformat=html mvn jdepend:generate mvn site:deploy I know I'm nitpicking, but is there some way to

Re: PMD, CPD, cobertura, jdepend, etc. etc. on my project site

2006-04-11 Thread justin_fung
Wayne, Thanks, this was what I was looking for... Just wondering where I can pick up findbugs, javancss and taglist plugins.. I didn't see it on the mojo svn repository. Thanks, -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business

RE: conditionally loading property files

2006-04-07 Thread justin_fung
You can specify filter property files: I set up 3 profiles in my pom.xml that allow me to define separate filter properties for each build I do to different environments build resources resource directorysrc/main/resources/directory includes

RE: Internal (intranet) repositories

2006-04-07 Thread justin_fung
I feel your pain. I went through the exact same set of problems and gave up on trying to make it try to check a local mirror first before going out to central. From what I can tell, the link to central is hard-coded into the Maven code as I have found no mention of any way to disable going to

Re: Maven 2 guide for ant users

2006-04-06 Thread justin_fung
The plug-ins list and matrix are invaluable too: http://maven.apache.org/plugins/index.html http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix The biggest jump from going from ant to maven is that sense of control that you get in ant being able to put code and files wherever you like.

RE: Maven 2 guide for ant users

2006-04-06 Thread justin_fung
Unfortunately mvn help:describe -Dpluginname doesn't work for many plugins as it has not been implemented for a lot of plugins (especially some of the more standard ones like install and compile!!) I get a null pointer exception when I run it for those two. Being relatively new to the whole

Re: Internal (intranet) repositories

2006-04-06 Thread justin_fung
I'm not sure, but this works for me in my settings.xml profile idlocalRepository/id repositories repository idlocal/id nameLocal Repository/name urlfile://some/file/on/a/server/url

RE: SCM plugin for MKS SI in M2

2006-04-05 Thread justin_fung
Agreed, I am very interested to know what the plan is here, or even to contribute. -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604)

Re: [m2] profiles and activeByDefault

2006-04-05 Thread justin_fung
Try this instead settings activeProfiles activeProfiletomcat-local/activeProfile /activeProfiles /settings -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada

RE: Error w/ Cobertura

2006-04-04 Thread justin_fung
Don't forget that after you upgrade to Maven 2.0.3 to update your settings.xml file! -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604)

Managing external non-Maven repository JAR files

2006-03-31 Thread justin_fung
I have some legacy JAR files that I am porting over from an existing application. They do not exist in the central Maven repository and ideally I would like to avoid having to manually create pom.xml files and dropping them into my company's local repository. What is the best practice for