RE: System time problem in Solaris 10 environment (Ant + Continuum)

2007-07-06 Thread LAMY Olivier
p-u  is plexus-utils.
A library which contains the code used to execute commandLine.

  it should log environment variables with 'debug' level
Yes sure could be nice help and could be added

I think somewhere here http://maven.zones.apache.org/ there are build from last 
trunk version (sorry don't remember the exact path).
I'm sure Emmanuel know the exact path ? (Is this information available on the 
continuum web site ?)

--
Olivier

-Message d'origine-
De : Otto Kolsi [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 6 juillet 2007 10:05
À : continuum-users@maven.apache.org
Objet : Re: System time problem in Solaris 10 environment (Ant + Continuum)

LAMY Olivier wrote:
 Related to this one http://jira.codehaus.org/browse/CONTINUUM-723 ? 
 Can you attached to this a simple ant test project ?

It looks similar, but I'n not exactly sure. We've only used Ant builds so far, 
I'm not familiar with Maven. And I'm not sure how much I can test within our 
production environment.

 Does your .profile contains some settings related to TZ and/or LC_ ?

No, none.

 Maybe, it's related to the CommandLine version of p-u which badly set 
 envVars (I haven't tested this on the current trunk)

Sorry, I don't follow you here. What is p-u?

 Can you test with current continuum trunk ?

I already fetched source from SVN and just looked at it a bit. But I'm not sure 
how easy it would be to set that up. I'll have to see (and be carefull not to 
mess with our production system). I'll have to see if I have enough time to set 
up a separate environment for Continuum testing etc.

When looking at the source I think I saw that when command-line command is 
executed, it should log environment variables with 'debug' level. I haven't 
seen those variables in any logs with version 1.0.3.. maybe this has been added 
later on..?
-- 
   Otto


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 



Re: System time problem in Solaris 10 environment (Ant + Continuum)

2007-07-06 Thread Emmanuel Venisse


Otto Kolsi a écrit :

Emmanuel Venisse wrote:

LAMY Olivier a écrit :
I think somewhere here http://maven.zones.apache.org/ there are build 
from last trunk version (sorry don't remember the exact path).
I'm sure Emmanuel know the exact path ? (Is this information 
available on the continuum web site ?)


http://maven.zones.apache.org/~continuum/builds/trunk/


I downloaded and tested Continuum 1.1 SNAPSHOT with very simple Ant 
script that just executes /usr/bin/date and echoes the result. That 
gives wrong time with 1.0.3 but 1.1-SNAPSHOT gives correct time :)


Great.



So I'll just wait for 1.1 release. Thanks for the help!


We'll release the first beta in few days.



Just one note about 1.1-SNAPSHOT. At first I created an Ant project and 
assigned it to Default project group. But then that project sort of 
vanished.. I couldn't find it anywhere.


I then created one test group and added new identical Ant project to 
that group. And that worked well.


Maybe there's something wrong if you add a project to the default group 
(which doesn't seem to be group at all.. or it doesn't show up on 
Project Groups list).




Timestamp snapshots at install

2007-07-06 Thread JavierL

Hi

I´ve defined my project with versio 1.0-SNAPSHOT but I want when I do a mvn
install get my package in local repo named timestamped.

I've googled and saw there is a uniqueversion setting but its for remote
deployment so I wonder how to do it in a local repo.

Thanks in advance

J

-- 
View this message in context: 
http://www.nabble.com/Timestamp-snapshots-at-install-tf4034083s177.html#a11460009
Sent from the Maven - Users mailing list archive at Nabble.com.


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



How does maven decide which dependencies to update from remote repositories

2007-07-06 Thread Achim Abeling

Hi,

I have a project A using a parent project which is defined like that

parent
  groupIdfoo/groupId
  artifactIdbar/artifactId
  versionRELEASE/version
/parent

The intention of the RELEASE version is that the latest release is used.
I would expect that the latest release of my local repository is used if 
I do not call maven with option -U or with an updatePolicy always.


So when I start my work in the morning and try to compile project A with 
mvn compile I get the error message


org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to 
determine the release version


How does maven try to determine the release version?
Why does it not use the latest version from my local repository?

The default for the updatePolicy is daily. But maven does not seem to 
check the remote repository on my first call in the morning.

How does maven know that it is a new day?

When I try mvn compile with updatePolicy set to always or option -U 
the latest version of the parent is resolved. The latest version already 
was in my local repository so no download was needed.


I thought the information about which artifact was already updated on a 
daily basis would be somewhere in the maven-metadata-local.xml of my 
parent project but this file did not change after the update.


I hope someone can answer some of my questions.

Best regards
Achim


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



Hudson

2007-07-06 Thread Jeff Mutonho

Just out of interest , how many maveners are using maven with
Hudson.Irecently made the transition from Continuum to try out Hudson
and
I'm very impressed.



--

Don't take the name of root in vain.

Jeff  Mutonho
Cape Town
South Africa

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: Hudson

2007-07-06 Thread Milos Kleint

I'm using hudson for mevenide.
http://deadlock.netbeans.org/hudson/job/mevenide/
not using the maven2 jobs, but a shell job that invokes maven. and
does some other tricks. Like define a unique local repo for the
project, to prevent local repository cross-pollination by other maven
projects built  on the same machine.

Milos

On 7/6/07, Jeff Mutonho [EMAIL PROTECTED] wrote:

Just out of interest , how many maveners are using maven with
Hudson.Irecently made the transition from Continuum to try out Hudson
and
I'm very impressed.



--

Don't take the name of root in vain.

Jeff  Mutonho
Cape Town
South Africa

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042



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



Tomcat 6.0 with Maven 2

2007-07-06 Thread MUSTAFA SAIT OZEN
Hi,
When i start mvn tomcat:run  command, i see that Tomcat 5.5.3 is working. I 
want to start maven 2 with Tomcat 6.x. How can i improve the version of 
Tomcat???

---
Mustafa Sait ÖZEN

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



Re: How to use doxia-module-twiki?

2007-07-06 Thread Dirk Olmes



Dave Syer wrote:
 
 
 Sorry, I forgot to include the other essential ingredient:
 
   pluginRepositories
   pluginRepository
   idapache-snapshots/id
   url
   
 http://people.apache.org/maven-snapshot-repository
   /url
   /pluginRepository
   /pluginRepositories
 
 I found a couple of bugs since I started using it (see recent DOXIA-??
 entries), but they are pretty trivial and overral I am happy.
 

Thanks David, that did the trick. I'm still getting an exception when the
site is rendered but the rendering process continues anyway.

-dirk
-- 
View this message in context: 
http://www.nabble.com/How-to-use-doxia-module-twiki--tf2091128s177.html#a11462657
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Generate DDL with Maven2, Spring2 and Hibernate3

2007-07-06 Thread animedj

Hello Jonas

But if the classes that you need to load are in your classpath, it should
load it automatically and you shouldn't need a
hibernate.cfg.xmlconfiguration file. But recommended is to have one.

Regards

Johann Reyes

On 7/4/07, David J. M. Karlsen [EMAIL PROTECTED] wrote:


Jonas Thurfors wrote:
 I want to generate a DDL using Maven2, Spring2 and Hibernate3.

 I would like to use the maven-hibernate3-plugin with the goal
 hibernate3:hbm2ddl, but I don't use the hibernate.cfg.xml file,
 instead I'm configuring Hibernate with Spring's
 LocalSessionFactoryBean. How do I get the hibernate3 plugin to use my
 configuration?
unfortunately you have to configure it twice - or refactor out your
settings to hibernate.cfg.xml and point the spring configured
localsession... to it.

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com


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




A first glimpse at Continuum 1.1 Alpha 2

2007-07-06 Thread Robert Ribnitz
Hello List,

I have just started to use Continuum, for automatic builds. The setting
is as follows:

- Projects are checked out of cvs.
- There are ant-based build scripts that are run to build the projects.

Here are some observations

- If continuum does the checkout building a single project with no
depends works fine.
- If the ant script does the checkout, it does not work. Our projects
assume a hierarchy of projects like A B C D. project A might check out
(cvs checkout) B C and D (which are located one level up. From A's
perspective in ../B , ../C, ../D. This does not seem to work.
- I can configure different projects, A, B, C, and D; but I see no way
to tell continuum that they are actually interdependent. This might also
be solvable by setting a common working directory to multiple projects

- Is it possible to set the path to ant, and to java; allowing for
different options for ant and java (probably very common: JDK
class/source compatibility; memory settings).

- Configuration on what artifacts become available at which paths

Other than that, the UI and general makeup look very good

yours

Robert Ribnitz



Re: Generate DDL with Maven2, Spring2 and Hibernate3

2007-07-06 Thread Sufyan Arif

Hi,

We also have to duplicate the information in the hibernate.cfg.xml file in 
order to generate the ddl. I'd be interested to know how you manage to avoid 
having one? For e.g. how does the hibernate3-maven-plugin know which domain 
objects to generate the ddl for? Also where do you define the data source 
settings?

thanks
Sufyan


On Friday 06 July 2007 13:37:15 animedj wrote:
 Hello Jonas

 But if the classes that you need to load are in your classpath, it should
 load it automatically and you shouldn't need a
 hibernate.cfg.xmlconfiguration file. But recommended is to have one.

 Regards

 Johann Reyes

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



Re: Generate DDL with Maven2, Spring2 and Hibernate3

2007-07-06 Thread animedj

Hello sufyan

All depends on what is getting loaded. If it is annotated classes, yes, you
need a hibernate.cfg.xml

If it is hbm.xml and it's part of your current classpath, the plugin can
automatically loaded without the need to specify what classes.

Also you can define the datasource settings in the database.properties file
as specified here:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/componentproperties.html

Regards

Johann reyes

On 7/6/07, Sufyan Arif [EMAIL PROTECTED] wrote:



Hi,

We also have to duplicate the information in the hibernate.cfg.xml file in
order to generate the ddl. I'd be interested to know how you manage to
avoid
having one? For e.g. how does the hibernate3-maven-plugin know which
domain
objects to generate the ddl for? Also where do you define the data source
settings?

thanks
Sufyan


On Friday 06 July 2007 13:37:15 animedj wrote:
 Hello Jonas

 But if the classes that you need to load are in your classpath, it
should
 load it automatically and you shouldn't need a
 hibernate.cfg.xmlconfiguration file. But recommended is to have one.

 Regards

 Johann Reyes

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




Re: Hudson

2007-07-06 Thread Wendy Smoak

On 7/6/07, Milos Kleint [EMAIL PROTECTED] wrote:


Like define a unique local repo for the
project, to prevent local repository cross-pollination by other maven
projects built  on the same machine.


FWIW, I haven't tried it yet, but you should be able to do that fairly
easily with Continuum by adding
-Dmaven.repo.local=/path/to/separate/repo to the arguments.  Or even
-s /path/to/alt-settings.xml if you want completely different
settings.

(I went through an exercise recently trying to figure out how to make
sure official builds don't use anything in the 'sandbox' repository,
but only the approved third-party artifacts.)

--
Wendy

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



maven javascript plugin - javascript compression

2007-07-06 Thread Adam

Hey all:

We (MobilVox) have released a 1.0 version of a maven javascript
plugin.  The current implementation compresses JavaScript in a web
application.  More information can be found at the project download
location at http://sourceforge.net/projects/maven-js-plugin/ or at the
project site at http://www.mobilvox.com/projects/maven-js-plugin

Thanks,

Adam Altemus

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



Re: maven javascript plugin - javascript compression

2007-07-06 Thread Manos Batsis

Adam wrote:

Hey all:

We (MobilVox) have released a 1.0 version of a maven javascript
plugin.  The current implementation compresses JavaScript in a web
application.  More information can be found at the project download
location at http://sourceforge.net/projects/maven-js-plugin/ or at the
project site at http://www.mobilvox.com/projects/maven-js-plugin


This is cool. Can it be used to generate myfilename_compressed.js in 
non-war projects/POM like Sarissa's [1], where the JS files are in 
src/site/resources?


http://dev.abiss.gr/sarissa

Cheers,

Manos

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



Maven EAR Plugin 2.3.1

2007-07-06 Thread Antonio Parolini

Hello,

When is  Maven EAR Plugin 2.3.1 being released ? It is marked as released on
jira but I cannot find it anywhere.

I need the loader-repository for jboss new feature...

Another point: The Maven EAR Plugin 2.3 is available on ibiblio HTTP but not
on FTP ( seen on mvnrepository.com)

see:
ftp://ibiblio.org/pub/packages/maven2/org/apache/maven/plugins/maven-ear-plugin/

Regards,

Antonio

-- 
View this message in context: 
http://www.nabble.com/Maven-EAR-Plugin-2.3.1-tf4036032s177.html#a11465884
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: maven javascript plugin - javascript compression

2007-07-06 Thread Adam

Currently, the compression is mainly Java Maven web application based
but, the next version will expand further and introduce new goals (for
example site compression).


If you want you can add it to the issue tracker for implementation
https://sourceforge.net/tracker/?group_id=200202

On 7/6/07, Manos Batsis [EMAIL PROTECTED] wrote:

Adam wrote:
 Hey all:

 We (MobilVox) have released a 1.0 version of a maven javascript
 plugin.  The current implementation compresses JavaScript in a web
 application.  More information can be found at the project download
 location at http://sourceforge.net/projects/maven-js-plugin/ or at the
 project site at http://www.mobilvox.com/projects/maven-js-plugin

This is cool. Can it be used to generate myfilename_compressed.js in
non-war projects/POM like Sarissa's [1], where the JS files are in
src/site/resources?

http://dev.abiss.gr/sarissa

Cheers,

Manos

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





--
Adam Altemus

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



Which technology stack are you using?

2007-07-06 Thread Trevor Spackman
So here's the question: what are YOU using?  There have been a number of
posts about what CAN be used, but only a couple of people have mentioned
what they DO use.

 

Why do I ask?

We recently made the jump from CVS  ant to Subversion  maven.  There
have been a few growing pains, but things seem to have stabilized.  Now
I could use the advice of someone who has already been there.  We're
using maven-proxy for our internal repository - but we haven't been
entirely pleased and want to look at alternatives.  We also need to get
a good CI system set up (yes, we don't have one :-().  We went for the
obvious Continuum, but it's been nothing but headaches trying to make it
play nicely.

 

The questions:

Which SCM are you using: CVS, Subversion or something else?

I'll assume you're using maven as your build system...

Which internal repo proxy are you using: maven-proxy, Archiva,
Artifactory, Proximity, Gatekeeper?

Which CI system are you using: Hudson, Bamboo, Continuum, Cruise
Control?

Which IDE do you use: Eclipse, IDEA?

Which plugins for your IDE?

 

And, most importantly, do you LIKE them?  Are they friendly/easy to use?
Do you wish you could change, but don't have the time/resources?

 

 

 

 

 

 



Re: maven-assembly-plugin and signed jars

2007-07-06 Thread John Casey
If you're using the latest release of the assembly plugin (2.2- 
beta-1), this is likely to be a bug. I'm not too well-versed with  
handling signed jars, so if you could file it in:


http://jira.codehaus.org/browse/MASSEMBLY

along with a project that fails to build (just a small sample  
project), we can take a look at getting it fixed.


Thanks,

-john


On Jul 5, 2007, at 5:56 PM, Sebastien Arbogast wrote:

I'm using maven-assembly-plugin and jar-with-dependencies  
descriptor to
generate an executable jar for my desktop application. But when I  
try to

execute this jar, I have the following exception:

Exception in thread main java.lang.SecurityException: no  
manifiest section
for signature file entry javax/activation/ 
DataContentHandlerFactory.class

at sun.security.util.SignatureFileVerifier.verifySection(
SignatureFileVerifier.java:377)
at sun.security.util.SignatureFileVerifier.processImpl(
SignatureFileVerifier.java:231)
at sun.security.util.SignatureFileVerifier.process(
SignatureFileVerifier.java:176)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:233)
at java.util.jar.JarVerifier.update(JarVerifier.java:188)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
at java.util.jar.JarFile.getInputStream(JarFile.java:390)
at sun.misc.URLClassPath$JarLoader$1.getInputStream 
(URLClassPath.java:620)

at sun.misc.Resource.cachedInputStream(Resource.java:58)
at sun.misc.Resource.getByteBuffer(Resource.java:113)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

And as a matter of fact, as explained in JIRA issues MASSEMBLY-64,  
RSA and
other signature files for activation jar are still in the resulting  
jar.

Is it normal? Is it a known bug? How can I fix this?

--
Sébastien Arbogast

http://www.sebastien-arbogast.com


---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john




RE: Which technology stack are you using?

2007-07-06 Thread Jeff Jensen
Perforce
Maven
Proximity
CruiseControl
Eclipse and RAD, many plugins

Works great.

Like them all a lot (Perforce is the main commercial dev tool; is great
value, great features, I don't know of a better package and have used a lot
of SCMs).

While CC is pretty good, I would consider changing from CruiseControl to
Hudson, if Hudson supported Perforce.


-Original Message-
From: Trevor Spackman [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 06, 2007 10:50 AM
To: users@maven.apache.org
Subject: Which technology stack are you using?

So here's the question: what are YOU using?  There have been a number of
posts about what CAN be used, but only a couple of people have mentioned
what they DO use.

 

Why do I ask?

We recently made the jump from CVS  ant to Subversion  maven.  There
have been a few growing pains, but things seem to have stabilized.  Now
I could use the advice of someone who has already been there.  We're
using maven-proxy for our internal repository - but we haven't been
entirely pleased and want to look at alternatives.  We also need to get
a good CI system set up (yes, we don't have one :-().  We went for the
obvious Continuum, but it's been nothing but headaches trying to make it
play nicely.

 

The questions:

Which SCM are you using: CVS, Subversion or something else?

I'll assume you're using maven as your build system...

Which internal repo proxy are you using: maven-proxy, Archiva,
Artifactory, Proximity, Gatekeeper?

Which CI system are you using: Hudson, Bamboo, Continuum, Cruise
Control?

Which IDE do you use: Eclipse, IDEA?

Which plugins for your IDE?

 

And, most importantly, do you LIKE them?  Are they friendly/easy to use?
Do you wish you could change, but don't have the time/resources?




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



[ANN] Maven Ant Tasks 2.0.7 Released

2007-07-06 Thread Jason van Zyl
The Apache Maven team would like to announce the availability of the  
Maven Ant Tasks 2.0.7.


You can find the binaries here:

http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-ant- 
tasks-2.0.7.jar


You can find the release notes here:

http://jira.codehaus.org/secure/ReleaseNote.jspa? 
projectId=11533styleName=Htmlversion=13521


Thanks,

Jason

--
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
--




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



Re: [ANN] Maven Ant Tasks 2.0.7 Released

2007-07-06 Thread Paul Copeland

This is cool - very nice!

I'm using ant for an existing project that doesn't fit the Maven 2 
lifecycle, directory structure, one artifact per pom, and versioning 
coventions.   But I still would like to use the Maven repository and 
dependencies.  Antlib for maven looks like exactly what I need to use 
these features from inside the ant build.


I had not seen this before. Is there a link to Antlib for Maven on the 
Maven documentation page?  The FAQ[1]  has a topic about Ant but doesn't 
mention Antlib for Maven[2]. It also doesn't mention how to build 
plugins with ant[3]. The latter is at least listed on the 
index-by-category page[4].


[1] http://maven.apache.org/general.html
[2] http://maven.apache.org/ant-tasks.html
[3] http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
[4] http://maven.apache.org/guides/index.html


On 7/6/2007 9:20 AM, Jason van Zyl wrote:
The Apache Maven team would like to announce the availability of the 
Maven Ant Tasks 2.0.7.


You can find the binaries here:

http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-ant-tasks-2.0.7.jar 



You can find the release notes here:

http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11533styleName=Htmlversion=13521 



Thanks,

Jason

--
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
--




-
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: problems with mvn2, Spring and Hibernate... anyone could help?

2007-07-06 Thread Marco Mistroni

Hi Trevor,
thanks... that would work
unfortunately my app is splitted in two jars, one for backend and another
for
webapp.
everythign works fine at the junit level for the backend, but once code runs
in app server ,  where the webapp jar is calling the backend jar for
interactign with db.. code fails..
my best option now is to override LocalSessionFactoryBean.. i found
a sample ont henet, i am going to try and post results..

thanks and regards
marco

On 7/6/07, Trevor Torrez [EMAIL PROTECTED] wrote:


The problem is with the ability of the JVM to enumerate resources in
the root of the classpath when these resources are in jars.  The
mappingJarLocations property would be used to search through jars that
are *not* normally on the classpath, so you shouldn't be using that
for WEB-INF/lib jars; in some cases you would cause hibernate to read
the mapping files twice, once for the jar on the classpath, and once
for the jar in the mappingJarLocations -- they just happen to be the
same physical jar.

The best fix is to create all the hbm.xml files in a subpackage of
src/main/resources -- perhaps com/project/domain; then use a
resource pattern like classpath*:/com/project/domain/**/*.hbm.xml.


On 7/5/07, Marco Mistroni [EMAIL PROTECTED] wrote:
 Hello Jon
   actually it has nothing to do with maven, as i discovered later..
since
 scope=compile will be visible in the test
 it has to do with Spring classloading actually.. i'll post a solution
here
 as soon as i finish to try some code i found on
 the web

 with kindest regards
  marco

 On 7/5/07, Jon SlinnHawkins [EMAIL PROTECTED] wrote:
 
  I think this may be a problem with Surefire and the way spring uses
  classloaders :
 
 
 
http://jira.codehaus.org/browse/SUREFIRE-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
 
  If you find a solution please post
 
  Thanks
 
 
  Marco Mistroni wrote:
   hi all,
   i know i should post this to maven list but it is about spring and i
am
   sure someone here is using maven for building its environment
  
   I have an app composed of 3 project:
   - domain OBjects  , contains domain objects used by web and backend
  project
   - backend project contains hibernate code
   - webapp contains webwork code that uses hibernate to access
database
  
   i have been searching for solutions for not hardcoding hibernate
mapping
   files.. i came across mappingJarLocations where you can specify jars
  where
   hbm.xml file are located.
   this is fine, however i am building my project using maven2 and i am
   setting
   the dependency scope for domainObjects.jar on my backend project..
   if i use
   scopetest/scope
  
   test will fail because spring won't be able to find hbm.xml file
(jar is
   not
   in classpath)
  
   if  i use
   scopecompile/scope
  
   jar won't be in test classpath
   i was wondering if anyone on this forum came across same
situation...
  
   here's my spring context...
  
   bean id=sessionFactory class=
   org.springframework.orm.hibernate3.LocalSessionFactoryBean
  property name=dataSource
  ref bean=dataSource/
  /property
  property name=mappingJarLocations
  valueclasspath*:domainObjects-1.0-SNAPSHOT.jar/value
  /property
  property name=hibernateProperties
   ref bean=exampleHibernateProperties /
  /property
  /bean
  
  
  
  
   thanks in advancea nd regards
   marco
  
 
 
  -
  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: Hudson

2007-07-06 Thread Gregory Kick

I've used hudson and have been very happy with it.  In my opinion, the
biggest advantage over other CI servers is the ridiculously quick
turn-around on bug fixes and requested enhancements.  Kohsuke pushes
out releases faster than anyone I've ever seen...

On 7/6/07, Wendy Smoak [EMAIL PROTECTED] wrote:

On 7/6/07, Milos Kleint [EMAIL PROTECTED] wrote:

 Like define a unique local repo for the
 project, to prevent local repository cross-pollination by other maven
 projects built  on the same machine.

FWIW, I haven't tried it yet, but you should be able to do that fairly
easily with Continuum by adding
-Dmaven.repo.local=/path/to/separate/repo to the arguments.  Or even
-s /path/to/alt-settings.xml if you want completely different
settings.

(I went through an exercise recently trying to figure out how to make
sure official builds don't use anything in the 'sandbox' repository,
but only the approved third-party artifacts.)

--
Wendy

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





--
Gregory Kick
http://kickstyle.net/

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



localRepository

2007-07-06 Thread Steven R Brandt
I tried to use the localRepository tag in settings.xml to change the 
location of my local repository to /home/sbrandt/shared instead of  
~/.m2. It seems to be ignoring me.


My goal was to see if I could create a repository directory that is 
shared by a group of users. Thus far, it seems that the 
localRepository directive is ignored. What am I doing wrong?


Cheers,
Steve

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



Re: Hudson

2007-07-06 Thread Ravi Luthra

I use Hudson mainly because the interface is very awesome. The AJAX controls
make the process very nice. Also setting up Hudson is literally automatic.
Just save the war file in Tomcat's webapps directory. So easy. Software is
getting easier and easier to install. I can't wait till we are back to the
days of DOS like install (copy and run).

Ravi


On 7/6/07, Gregory Kick [EMAIL PROTECTED] wrote:


I've used hudson and have been very happy with it.  In my opinion, the
biggest advantage over other CI servers is the ridiculously quick
turn-around on bug fixes and requested enhancements.  Kohsuke pushes
out releases faster than anyone I've ever seen...

On 7/6/07, Wendy Smoak [EMAIL PROTECTED] wrote:
 On 7/6/07, Milos Kleint [EMAIL PROTECTED] wrote:

  Like define a unique local repo for the
  project, to prevent local repository cross-pollination by other maven
  projects built  on the same machine.

 FWIW, I haven't tried it yet, but you should be able to do that fairly
 easily with Continuum by adding
 -Dmaven.repo.local=/path/to/separate/repo to the arguments.  Or even
 -s /path/to/alt-settings.xml if you want completely different
 settings.

 (I went through an exercise recently trying to figure out how to make
 sure official builds don't use anything in the 'sandbox' repository,
 but only the approved third-party artifacts.)

 --
 Wendy

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




--
Gregory Kick
http://kickstyle.net/

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




Re: localRepository

2007-07-06 Thread Wendy Smoak

On 7/6/07, Steven R Brandt [EMAIL PROTECTED] wrote:


I tried to use the localRepository tag in settings.xml to change the
location of my local repository to /home/sbrandt/shared instead of
~/.m2. It seems to be ignoring me.


That should work, however...


My goal was to see if I could create a repository directory that is
shared by a group of users. Thus far, it seems that the
localRepository directive is ignored. What am I doing wrong?


Local repositories are *not* meant to be shared.  Instead, make that a
remote (internal) repository, and deploy things there.  Maven can
handle file:// urls if that directory is visible to everyone, then the
usual next step is to make it available over http:// and deploy with
dav or scp.

--
Wendy

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



[m2] help with ant-run configuration

2007-07-06 Thread Mick Knutson

I am trying to import some bpel ant tasks like:

import file=C:/product/10.1.3.1/OracleAS_1/integration/bpel/utilities/ant-
orabpel.xml/

But when I do this:

   plugin
   artifactIdmaven-antrun-plugin/artifactId
   executions
   execution
   phasegenerate-sources/phase
   configuration
   tasks
   import
file=C:/product/10.1.3.1/OracleAS_1/integration/bpel/utilities/ant-
orabpel.xml/

   bpelc input=${basedir}/bpel/bpel.xml
out=${basedir}/target
  rev=1
home=C:/product/10.1.3.1/OracleAS_1/integration/bpel/


   /tasks
   /configuration
   goals
   goalrun/goal
   /goals
   /execution
   /executions
   /plugin



I get:
=
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) tasks =
[DEBUG] -- end configuration --
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false)
[echo] --
[echo] | Compiling bpel process
C:\viewstore\esp_lynx_dap\esp\dap\c2\bpel\mis-file-intake-bpel, revision 1
[echo]
--
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

Embedded error: java.lang.NullPointerException
[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant
tasks
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:564)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:480)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:459)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
ant tasks
   at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
AbstractAntMojo.java:114)
   at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java
:83)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:420)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
   ... 16 more
Caused by: java.lang.NullPointerException
   at org.apache.tools.ant.Task.perform(Task.java:373)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
AbstractAntMojo.java:108)
   ... 19 more
Caused by: java.lang.NullPointerException
   at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java
:96)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   ... 21 more




--
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


Re: [m2] help with ant-run configuration

2007-07-06 Thread Mick Knutson

When I remove the import ...

I get this:



[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) tasks =
[DEBUG] -- end configuration --
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false)
[echo] --
[echo] | Compiling bpel process
C:\viewstore\esp_lynx_dap\esp\dap\c2\bpel\mis-file-intake-bpel, revision 1
[echo]
--
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

Embedded error: java.lang.NullPointerException
[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant
tasks
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:564)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:480)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:459)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
ant tasks
   at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
AbstractAntMojo.java:114)
   at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java
:83)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:420)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
   ... 16 more
Caused by: java.lang.NullPointerException
   at org.apache.tools.ant.Task.perform(Task.java:373)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
AbstractAntMojo.java:108)
   ... 19 more
Caused by: java.lang.NullPointerException
   at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java
:96)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   ... 21 more






On 7/6/07, Mick Knutson [EMAIL PROTECTED] wrote:


I am trying to import some bpel ant tasks like:

import
file=C:/product/10.1.3.1/OracleAS_1/integration/bpel/utilities/ant-
orabpel.xml/

But when I do this:

plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
tasks
import
file=C:/product/10.1.3.1/OracleAS_1/integration/bpel/utilities/ant-
orabpel.xml /

bpelc input=${basedir}/bpel/bpel.xml
out=${basedir}/target
   rev=1
home=C:/product/10.1.3.1/OracleAS_1/integration/bpel/


/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
/plugin



I get:

=
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) tasks =
[DEBUG] -- end configuration --
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[DEBUG] getProperty(ns=null, name=ant.reuse.loader , user=false)
 [echo] --
 

Re: Which technology stack are you using?

2007-07-06 Thread M. Bitner

Subversion
Ant
Bamboo
Clover
Eclipse with many plugins

My long term goal is to transition us from Ant to Maven, but the road
to best practices has been slower than anticipated. I'm extremely
pleased with the rest of the stack - we just recently got Bamboo and
Clover and both of them are working out well.

On 7/6/07, Jeff Jensen [EMAIL PROTECTED] wrote:

Perforce
Maven
Proximity
CruiseControl
Eclipse and RAD, many plugins

Works great.

Like them all a lot (Perforce is the main commercial dev tool; is great
value, great features, I don't know of a better package and have used a lot
of SCMs).

While CC is pretty good, I would consider changing from CruiseControl to
Hudson, if Hudson supported Perforce.




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



Re: Which technology stack are you using?

2007-07-06 Thread Wendy Smoak

On 7/6/07, Trevor Spackman [EMAIL PROTECTED] wrote:


So here's the question: what are YOU using?  There have been a number of
posts about what CAN be used, but only a couple of people have mentioned
what they DO use.


Maven. Subversion. Continuum. Archiva.  Naturally. :)

IDEA + mvn idea:idea (no real desire for IDE integration)

(Have you asked on the continuum-user llist?  Maven 2 + Subversion is
what Continuum is best at...)

--
Wendy

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



RE: localRepository

2007-07-06 Thread Brian E. Fox
It definitely works for me, I never have my repo in the default
location. It's generally not a best practice to share a local repo
amongst many users though. A remote repository is suggested for that.

http://maven.apache.org/guides/introduction/introduction-to-repositories
.html

-Original Message-
From: Steven R Brandt [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 06, 2007 4:48 PM
To: Maven Users List
Subject: localRepository

I tried to use the localRepository tag in settings.xml to change the 
location of my local repository to /home/sbrandt/shared instead of  
~/.m2. It seems to be ignoring me.

My goal was to see if I could create a repository directory that is 
shared by a group of users. Thus far, it seems that the 
localRepository directive is ignored. What am I doing wrong?

Cheers,
Steve

-
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: Which technology stack are you using?

2007-07-06 Thread Bruno Aranda

On 06/07/07, Wendy Smoak [EMAIL PROTECTED] wrote:

Maven. Subversion. Continuum. Archiva.  Naturally. :)

IDEA + mvn idea:idea (no real desire for IDE integration)


I use this same combination. And by the way, the latest builds for
IDEA 7 (aka Selena) have maven integrated and looks promissing,

Cheers,

Bruno



(Have you asked on the continuum-user llist?  Maven 2 + Subversion is
what Continuum is best at...)

--
Wendy

-
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: [m2] help with ant-run configuration

2007-07-06 Thread Mick Knutson

I have gotten a bit further, but now I get an error like:

[DEBUG] getProperty(ns=null, name=ant.file, user=false)

compile:
[echo]
[echo] --
[echo] | Compiling bpel process MISFileIntakeProcess, revision 1.0
[echo] --
[echo]
validating
C:\viewstore\esp_lynx_dap\esp\dap\c2\bpel\mis-file-intake-bpel\src\main\bpel\MISFileIntakeProcess.bpel
...
java.lang.NoClassDefFoundError: sun/tools/javac/Main
   at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:203)
   at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:174)
   at
com.collaxa.cube.lang.compiler.CubeProcessor.compileGeneratedClasses(
CubeProcessor.java:963)
   at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(
CubeProcessor.java:572)
   at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(
CubeProcessor.java:457)
   at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide
(CubeParserHelper.java:83)
   at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.tools.ant.Target.performTasks(Target.java:369)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java
:1216)
   at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(
SingleCheckExecutor.java:37)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
AbstractAntMojo.java:108)
   at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java
:83)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:420)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:480)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:459)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


C:\Java\jdk1.5.0_08\lib\tools.jar exists and contains my Main.class


How can I ensure this task is using JAVA_HOME 





On 7/6/07, Mick Knutson [EMAIL PROTECTED] wrote:


I am trying to import some bpel ant tasks like:

import
file=C:/product/10.1.3.1/OracleAS_1/integration/bpel/utilities/ant-
orabpel.xml/

But when I do this:

plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
tasks
import
file=C:/product/10.1.3.1/OracleAS_1/integration/bpel/utilities/ant-
orabpel.xml /

bpelc input=${basedir}/bpel/bpel.xml
out=${basedir}/target
   rev=1
home=C:/product/10.1.3.1/OracleAS_1/integration/bpel/


/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
/plugin



I get:

=

RE: Which technology stack are you using?

2007-07-06 Thread Heck, Joe
Maven (2), with a few Ant plugins and custom tidbits added on

Perforce

CruiseControl (bagged Continuum 1.0 because it didn't play well with
Perforce. 1.1alpha is much better, but waiting for a release to not
torque over our developers too much)

Proximity (pending looking at some of the newer caching repository
services/servers)

Eclipse (mostly, also some IDEA) - minimal integration, but looking back
at it again with the recent (past few months) improvement in the
m2eclipse plugin at CodeHaus.

-joe

[EMAIL PROTECTED]
Walt Disney Internet Group

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



How can i release a version of software with the existing version is SNAPSHOT?

2007-07-06 Thread Baz

All,

If the software that i am building is at version 0.1-SNAPSHOT, is it
possible that I can build 1.0.0.0 in official build systems? What is the
best way to handle this situation?

Can I pass a flag to maven and let it change to 1.0.0.0 while compiling?

Thanks.

A.