[ChangeLog plugin] Clearcase output

2003-12-14 Thread Emmanuel Venisse
Hi all,

I want to add some tests for the clearcase changelog plugin. Could you send
me an output of this command :

cleartool lshistory -fmt \NAME:%En\\nDATE:%Nd\\nCOMM:%-12.12o - %o - %c -
Activity: %[activity]p\\nUSER:%-8.8u\\n\ -recurse -nco

This command is use internally by the changelog plugin for generate cleacase
changelog report.

Thanks to clearcase users for collaboration

Emmanuel


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



jboss mbeans

2003-12-14 Thread Stefan Groschupf
Hi,
I'm very new to maven.
How to deploy a *.sar file / folder to jboss with maven?
Should I write my own goal ?
Thanks for any hints.
Stefan
--
open technology: http://www.media-style.com
open source: http://www.weta-group.net
open discussion: http://www.text-mining.org


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


maven eclipse plugin

2003-12-14 Thread Stefan Groschupf
Hi,

i tried to get the maven plugin for eclipse to run but it throws this 
exception.
The thing that confuse me is that i already have the org.aspectj.ajde 
deployed. (org.aspectj.ajde_1.1.4)
Are there any version depedencies?

Thanks for any hints!
Stefan
!SESSION Dec 14, 2003 19:08:06.906 
-
java.version=1.4.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86 -install 
file:C:/Programme/eclipse_3M5/
!ENTRY org.eclipse.core.runtime 2 1 Dec 14, 2003 19:08:06.921
!MESSAGE Problems encountered loading the plug-in registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Dec 14, 2003 19:08:06.921
!MESSAGE Plug-in org.mevenide was disabled due to missing or disabled 
prerequisite plug-in org.aspectj.ajde.
!SESSION Dec 14, 2003 20:10:06.437 
-
java.version=1.4.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86 -install 
file:C:/Programme/eclipse_3M5/
!ENTRY org.eclipse.ui 4 4 Dec 14, 2003 20:10:06.437
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Dec 14, 2003 20:10:06.437
!MESSAGE org/eclipse/debug/core/variables/LaunchVariableUtil
!STACK 0
java.lang.NoClassDefFoundError: 
org/eclipse/debug/core/variables/LaunchVariableUtil
   at 
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchShortcut.getDefaultLaunchConfiguration(MavenLaunchShortcut.java:181)
   at 
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchShortcut.launch(MavenLaunchShortcut.java:128)
   at 
org.mevenide.ui.eclipse.launch.configuration.MavenRunActionDelegate.run(MavenRunActionDelegate.java:67)
   at 
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:270)
   at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:542)
   at 
org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:494)
   at 
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:466)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2187)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1877)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1381)
   at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:237)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
   at 
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
   at 
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
   at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
   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:324)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:299)
   at org.eclipse.core.launcher.Main.run(Main.java:767)
   at org.eclipse.core.launcher.Main.main(Main.java:601)
!ENTRY org.eclipse.ui.workbench 4 2 Dec 14, 2003 20:10:35.578
!MESSAGE Problems occurred when invoking code from plug-in: 
org.eclipse.ui.workbench.
!STACK 0
org.eclipse.swt.SWTException: Class ID not found in registry result = 
-2147221018
   at org.eclipse.swt.ole.win32.OLE.error(OLE.java:317)
   at 
org.eclipse.swt.ole.win32.OleClientSite.init(OleClientSite.java:178)
   at 
org.eclipse.ui.internal.editorsupport.win32.OleEditor.createClientSite(OleEditor.java:227)
   at 
org.eclipse.ui.internal.editorsupport.win32.OleEditor.createPartControl(OleEditor.java:215)
   at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:161)
   at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1127)
   at org.eclipse.core.runtime.Platform.run(Platform.java:464)
   at 
org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:157)
   at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:206)
   at 
org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWorkbook.java:156)
   at org.eclipse.ui.internal.EditorWorkbook.add(EditorWorkbook.java:97)
   at org.eclipse.ui.internal.EditorArea.addEditor(EditorArea.java:57)
   at 
org.eclipse.ui.internal.EditorPresentation.openEditor(EditorPresentation.java:351)
   at org.eclipse.ui.internal.EditorManager$2.run(EditorManager.java:545)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
   at 
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:534)
   at 

Re: maven eclipse plugin

2003-12-14 Thread Gilles Dodinet
Stefan,

im not sure about this ajde problem (since you indicate that it is 
already present), however the main issue here is the api changes 
introduced with the M5 release. mevenide now supports M4 (in cvs at 
least) but not M5 yet.

last, about the ajde dependency version : it is not required anymore ; 
so the simplest is to comment the require element in the plugin 
descriptor ;)

-- gd

Stefan Groschupf wrote:

Hi,

i tried to get the maven plugin for eclipse to run but it throws this 
exception.
The thing that confuse me is that i already have the org.aspectj.ajde 
deployed. (org.aspectj.ajde_1.1.4)
Are there any version depedencies?

Thanks for any hints!
Stefan




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


RE: Tasklist / vdoclet report exception

2003-12-14 Thread Steve Garcia
Hi, I tracked down this problem to a problem initializing the
VelocityEngine, specifically it is this line that is raising the exception:

 InputStream inputStream = getClass()
.getResourceAsStream('/' + DEFAULT_RUNTIME_PROPERTIES);

configuration.load( inputStream );

where DEFAULT_RUNTIME_PROPERTIES =
org/apache/velocity/runtime/defaults/velocity.properties

I can create a simple project (one class and one test) and Maven
site:generate works fine.  However with a big project, I can't run that same
goal because the code above doesn't work.  

I'm still stuck, any advice?

-Original Message-
From: Steve Garcia
To: 'Maven Users List'
Sent: 12/13/2003 11:45 AM
Subject: Tasklist / vdoclet report exception

I'm running the site:generate goal on my project and my tasklist report
fails with the following exception (and relevant stack trace info):  Has
anyone seen this error before?  Does anyone know how I can fix it?

I'm able to do other things like compile, test, javadoc, etc.  I have
seen
site:generation work in the past on other projects I've used, but this
is
the largest one I've tried mavenizing.  I'm using Maven 1.0 rc1, and the
plugin version should be a part of the stack trace.

Thanks for your help.

[echo] Generating the Task List...
xdoc:init:

maven-tasklist-plugin:report:
[echo] Generating tasklist ...

BUILD FAILED
File.. file:/C:/Documents and
Settings/SGarcia/.maven/plugins/maven-vdoclet-pl
ugin-1.1-SNAPSHOT/
Element... vdoclet:vdocletBean
Line.. 21
Column 11
vdoclet.GeneratorException
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site]
--
file:/
C:/Documents and
Settings/SGarcia/.maven/plugins/maven-vdoclet-plugin-1.1-SNAPSHOT
/:21:11: vdoclet:vdocletBean null
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
[snip]
org.apache.commons.jelly.JellyTagException: file:/C:/Documents and
Settings/SGarci
a/.maven/plugins/maven-vdoclet-plugin-1.1-SNAPSHOT/:21:11:
vdoclet:vdocletBean n
ull
at
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:
243)
at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:
145)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
[snip]
Caused by: vdoclet.GeneratorException
at vdoclet.Generator.initVelocityEngine(Generator.java:89)
at vdoclet.Generator.init(Generator.java:71)
at
org.apache.maven.vdoclet.VDocletBean.generate(VDocletBean.java:145)
at
org.apache.maven.vdoclet.VDocletBean.execute(VDocletBean.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[snip]
Caused by: java.lang.NullPointerException
at java.io.Reader.init(Reader.java:61)
at java.io.InputStreamReader.init(InputStreamReader.java:55)
at
org.apache.commons.collections.ExtendedProperties.load(Unknown
Source)
at
org.apache.commons.collections.ExtendedProperties.load(Unknown
Source)
at
org.apache.velocity.runtime.RuntimeInstance.setDefaultProperties(Runtim
eInstance.java:356)
at
org.apache.velocity.runtime.RuntimeInstance.initializeProperties(Runtim
eInstance.java:481)
at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:2
63)
at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:4
99)
at
org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:144)
at vdoclet.Generator.initVelocityEngine(Generator.java:87)
... 59 more
Root cause
vdoclet.GeneratorException
at vdoclet.Generator.initVelocityEngine(Generator.java:89)
at vdoclet.Generator.init(Generator.java:71)
at
org.apache.maven.vdoclet.VDocletBean.generate(VDocletBean.java:145)
at
org.apache.maven.vdoclet.VDocletBean.execute(VDocletBean.java:103)


-
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: maven eclipse plugin

2003-12-14 Thread Stefan Groschupf
Hi,



im not sure about this ajde problem (since you indicate that it is 
already present), however the main issue here is the api changes 
introduced with the M5 release. mevenide now supports M4 (in cvs at 
least) but not M5 yet.
You know what was changed? I can do a patch with a tiny hint where 
something was changed.

last, about the ajde dependency version : it is not required anymore ; 
so the simplest is to comment the require element in the plugin 
descriptor ;) 
Could be part of a patch. ;)

Thanks for the hints.
Stefan
--
open technology: http://www.media-style.com
open source: http://www.weta-group.net
open discussion: http://www.text-mining.org


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


Re: maven eclipse plugin

2003-12-14 Thread Gilles Dodinet
Stefan Groschupf wrote:

im not sure about this ajde problem (since you indicate that it is 
already present), however the main issue here is the api changes 
introduced with the M5 release. mevenide now supports M4 (in cvs at 
least) but not M5 yet.


You know what was changed? I can do a patch with a tiny hint where 
something was changed. 


i didnt have the time yet to look into it but it seems that the 
org.eclipse.debug.core.variables.LaunchVariableUtil class has been 
dropped between m4 and m5. a  patch would of course be welcome ;) i 
imagine there is now a similar helper somewhere. i just dont know 
where.. im still using m4.

last, about the ajde dependency version : it is not required anymore ; 
so the simplest is to comment the require element in the plugin 
descriptor ;)
Could be part of a patch. ;)
this altho has been fixed for long in cvs. anyhow thanks !

-- gd

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


Re: multiproject:site and project interdependencies (gather fails)

2003-12-14 Thread John Casey
Sorry, wrong list!!!

I'm cross-posting to the correct list...

-john

On Sun, 2003-12-14 at 14:59, John Casey wrote:
 Here is my scenario: I'm trying to run multiproject:site on a collection
 of mavenized projects in which some projects depend upon others. The
 multiproject plugin sorts them correctly in order of dependency, but
 then launches into some sort of gathering process (specified in the
 multiproject:site-init goal of the multiproject plugin)...which promptly
 breaks, since these projects have not yet been compiled. When I run
 multiproject:install, everything is fine. By reading the multiproject
 plugin's plugin.jelly file a little bit, I assume the point is to create
 a collection of project objects for future use, to avoid having to
 re-collect them over and over.
 
 Is there any way to avoid this problem?  Should I add a bug to JIRA and
 begin finding a solution?
 
 I appreciate any advice anyone can give.
 
 Regards,
 John Casey
 
 
 -
 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: Building J2EE project

2003-12-14 Thread enghoe

Thanks for the many helps offered to me regarding how to build a J2EE
project.

However, can someone also tell me how to add the global security role
information into the application.xml generated from the ear-plugin?  I
browse throught the jelly codes and realised that it is not included as
part of the plugin.  I don't understand why it is not supported as
security-role is part of the application.xml file.  Do I have to write a
postGoal to append the security roles?  Any suggestion on how to do that,
and what if I want to extract the roles directly from web.xml and
ejb-jar.xml?


Regards,
Eng Hoe
App Dev-DCS
SGX-IT Division

DID: (65) 62368963
FAX: (65) 64388840
email: [EMAIL PROTECTED]


   

Ralf   

Quebbemann   To: Maven Users List [EMAIL PROTECTED]  
   
[EMAIL PROTECTED]   cc:   

nn.de   Subject: Re: Building J2EE project

   

13/12/2003 

12:55 AM   

Please respond 

to Maven  

Users List

   

   





Try this article:
http://www.theserverside.com/resources/article.jsp?l=MavenMagic

It helped me a lot when I switched from ant to maven. Also check out the
maven wiki. There are a couple of great docs covering J2EE projects.

Ralf

Lester Ward wrote:
What is the best way to build a J2EE project?


 There is a fairly decent sample on doing this, though it was written
before
 the multiproject plugin existed:

 http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf
 http://blogs.codehaus.org/people/vmassol/archives/everest.zip

 Wordman

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



--
~

Email: [EMAIL PROTECTED]   Address: Ralf Quebbemann
Web:   http://www.quebbemann.de  Damm 39
ICQ:   25803866  26135 Oldenburg
 Germany
Check out my SRV trade list:
http://www.quebbemann.de/ralf
http://quebbemann.kicks-ass.net/~peter (slow mirror)
~




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




Confidentiality Caution
===
Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Opinions, conclusions and other
information in this message that is not of an official nature shall be
deemed as neither given nor endorsed by SGX unless indicated by an
authorised representative independent of this message.


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



RE: How to include jars and add them into the MANIFEST.MF/Class-Path attribute?

2003-12-14 Thread J. Matthew Pryor
As far as I can see, the CVS HEAD version of the war plugin does not support
manifest classpaths for webapps

Now I can see how for a small project, it is convenievnt to use WEBAPP\lib
for webapps, but if I have a lot of webapps that use the same library, i get
one copy of it in the ear for each webapp

For large projects, this will significantly increase the size of the ear
(unecessarily)

IMO manifest classpath is the best way to deal with shared libraries from
both webapps and ejbjars, so I am wondeirng if there is any plan to support
manifest classpath for webapps

I have a modified local version of the war plugin that works correctly with

war.manifest.classpathtrue/war.manifest.classpath

Anyone interested. It was a simple copy  paste job from the ejb plugin.

Interestingly the serverside maven j2e tutorial uses
war.manifest.classpathtrue/war.manifest.classpath even though AFAICT
there is no support for it currently

Matthew

 -Original Message-
 From: Rademacher Tobias [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 21, 2003 10:04 PM
 To: 'Maven Users List'
 Subject: AW: How to include jars and add them into the
 MANIFEST.MF/Class-Path attribute?


 For WAR you only only have to provide lib directory within the
 WAR File. It can contain any depending JAR you need. This is
 standard for WAR files (startig at 2.3 Servlet Spec I think). For
 EJB-JARS and EAR we don't have such a standard currently. You
 have to provide the relative path in the Manifest of the EJB-JAR
 if you want to force containers to load the dependent JAR Files.
  -Ursprüngliche Nachricht-  Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  Gesendet am: Freitag, 21. November 2003 11:48 
An: [EMAIL PROTECTED]  Betreff: RE: How to include jars and add them
into the  MANIFEST.MF/Class-Path attribute?Problem with the
ear.bundle is, that the jar is installed as   java module  (which is
reserved for e.g. ejb client jars). I can manually copy the jar via
the copy-deps task, but that doesn't  solve the problem of the classpath
(escpecially for war's, because  there's no war.manifest.classpath
property).Cheers,  simon  -Original Message-  From: R
a n e s [mailto:[EMAIL PROTECTED]   Sent: Freitag, 21. November 2003
10:51  To: Maven Users List  Subject: Re: How to include jars and add them
into the  MANIFEST.MF/Class-Path attribute?  Hi,  You can set the
ear.bundle to true.  dependency idcommon/id 
typejar/type properties  ear.bundletrue/ear.bundle 
/properties/dependencyRegards,   Ranes.- Original
Message -  From: [EMAIL PROTECTED]  To: [EMAIL PROTECTED] 
Sent: Friday, November 21, 2003 2:57 PM  Subject: How to include jars and
add them into the  MANIFEST.MF/Class-Path  attribute?  When
building an ear, i'd like to include the dependent jar   files in the  lib
dir of the ear and add them to the Class-Path of the including 
applications.  Is there any easy way to do so?  Cheers,  simon 
  - 
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]   
  - 
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]


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



RE: How to include jars and add them into the MANIFEST.MF/Class-Path attribute?

2003-12-14 Thread J. Matthew Pryor
 Now I can see how for a small project, it is convenievnt to use WEBAPP\lib
 for webapps, but if I have a lot of webapps that use the same 
 library, i get
 one copy of it in the ear for each webapp

Sorry I meant to say WEB-INF/lib


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



RE: How to include jars and add them into the MANIFEST.MF/Class-Path attribute?

2003-12-14 Thread enghoe

Hi Matthew,

I also had the same problem, because I include some common jar files in the
ear file.  Hence I fully support your suggestion.  However, I seems to read
from somewhere that the manifest classpaths is not supported in certain
apps server, so I kind of wonder if this is a standard J2EE specification.

Anyway, would appreciate if you could send me the codes of your modified
war-plugin.  Lazy to do the cut and paste :)

Regards,
Eng Hoe
App Dev-DCS
SGX-IT Division

DID: (65) 62368963
FAX: (65) 64388840
email: [EMAIL PROTECTED]


   
 
J. Matthew
 
PryorTo: Maven Users List [EMAIL 
PROTECTED]   
jmatthewpryor@   cc:  
 
yahoo.comSubject: RE: How to include jars and add 
them into the
   MANIFEST.MF/Class-Path attribute?   
 
15/12/2003 
 
11:06 AM   
 
Please respond 
 
to Maven Users
 
List  
 
   
 
   
 




As far as I can see, the CVS HEAD version of the war plugin does not
support
manifest classpaths for webapps

Now I can see how for a small project, it is convenievnt to use WEBAPP\lib
for webapps, but if I have a lot of webapps that use the same library, i
get
one copy of it in the ear for each webapp

For large projects, this will significantly increase the size of the ear
(unecessarily)

IMO manifest classpath is the best way to deal with shared libraries from
both webapps and ejbjars, so I am wondeirng if there is any plan to support
manifest classpath for webapps

I have a modified local version of the war plugin that works correctly with

war.manifest.classpathtrue/war.manifest.classpath

Anyone interested. It was a simple copy  paste job from the ejb plugin.

Interestingly the serverside maven j2e tutorial uses
war.manifest.classpathtrue/war.manifest.classpath even though AFAICT
there is no support for it currently

Matthew

 -Original Message-
 From: Rademacher Tobias [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 21, 2003 10:04 PM
 To: 'Maven Users List'
 Subject: AW: How to include jars and add them into the
 MANIFEST.MF/Class-Path attribute?


 For WAR you only only have to provide lib directory within the
 WAR File. It can contain any depending JAR you need. This is
 standard for WAR files (startig at 2.3 Servlet Spec I think). For
 EJB-JARS and EAR we don't have such a standard currently. You
 have to provide the relative path in the Manifest of the EJB-JAR
 if you want to force containers to load the dependent JAR Files.
  -Ursprüngliche Nachricht-  Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  Gesendet am: Freitag, 21. November 2003 11:48

An: [EMAIL PROTECTED]  Betreff: RE: How to include jars and add them
into the  MANIFEST.MF/Class-Path attribute?Problem with the
ear.bundle is, that the jar is installed as   java module  (which is
reserved for e.g. ejb client jars). I can manually copy the jar via
the copy-deps task, but that doesn't  solve the problem of the classpath
(escpecially for war's, because  there's no war.manifest.classpath
property).Cheers,  simon  -Original Message-  From:
R
a n e s [mailto:[EMAIL PROTECTED]   Sent: Freitag, 21. November 2003
10:51  To: Maven Users List  Subject: Re: How to include jars and add
them
into the  MANIFEST.MF/Class-Path attribute?  Hi,  You can set the
ear.bundle to true.  dependency idcommon/id 
typejar/type properties  ear.bundletrue/ear.bundle 
/properties/dependencyRegards,   Ranes.- Original
Message -  From: [EMAIL PROTECTED]  To: [EMAIL PROTECTED] 
Sent: Friday, November 21, 2003 2:57 PM  Subject: How to include jars and
add them into the  MANIFEST.MF/Class-Path  attribute?  When
building an ear, i'd like to include the dependent jar   files in the 
lib
dir of the ear and add them to the Class-Path of the including 

RE: How to include jars and add them into the MANIFEST.MF/Class-Path attribute?

2003-12-14 Thread J. Matthew Pryor
FYI, not from maven, but using custom Ant tasks, we have relied on manifest
classpath in webapps  ejbjars in

* was 4
* was 5
* weblogic 7
* weblogic 8
* jboss 3.2.X

It definitely works, and since it this proposed maven support would be
optional, even if there are aplication servers or web containers that don't
support it, that shouldn't prevent it being a feature (i.e. just don't use
war.manifest.classpath if your container doesn't support it)

NB AFAIK this is only relevant for applications servers since the manifest
classpath is relative to the ear so for standalone webapps I dont think this
is relevant (but I could be wrong)

Matthew

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 15, 2003 2:17 PM
 To: Maven Users List
 Subject: RE: How to include jars and add them into the
 MANIFEST.MF/Class-Path attribute?



 Hi Matthew,

 I also had the same problem, because I include some common jar
 files in the
 ear file.  Hence I fully support your suggestion.  However, I
 seems to read
 from somewhere that the manifest classpaths is not supported in certain
 apps server, so I kind of wonder if this is a standard J2EE specification.

 Anyway, would appreciate if you could send me the codes of your modified
 war-plugin.  Lazy to do the cut and paste :)

 Regards,
 Eng Hoe
 App Dev-DCS
 SGX-IT Division

 DID: (65) 62368963
 FAX: (65) 64388840
 email: [EMAIL PROTECTED]




 J. Matthew

 PryorTo: Maven Users
 List [EMAIL PROTECTED]
 jmatthewpryor@   cc:

 yahoo.comSubject: RE: How to
 include jars and add them into the
MANIFEST.MF/Class-Path
 attribute?
 15/12/2003

 11:06 AM

 Please respond

 to Maven Users

 List









 As far as I can see, the CVS HEAD version of the war plugin does not
 support
 manifest classpaths for webapps

 Now I can see how for a small project, it is convenievnt to use WEBAPP\lib
 for webapps, but if I have a lot of webapps that use the same library, i
 get
 one copy of it in the ear for each webapp

 For large projects, this will significantly increase the size of the ear
 (unecessarily)

 IMO manifest classpath is the best way to deal with shared libraries from
 both webapps and ejbjars, so I am wondeirng if there is any plan
 to support
 manifest classpath for webapps

 I have a modified local version of the war plugin that works
 correctly with

 war.manifest.classpathtrue/war.manifest.classpath

 Anyone interested. It was a simple copy  paste job from the ejb plugin.

 Interestingly the serverside maven j2e tutorial uses
 war.manifest.classpathtrue/war.manifest.classpath even though AFAICT
 there is no support for it currently

 Matthew

  -Original Message-
  From: Rademacher Tobias [mailto:[EMAIL PROTECTED]
  Sent: Friday, November 21, 2003 10:04 PM
  To: 'Maven Users List'
  Subject: AW: How to include jars and add them into the
  MANIFEST.MF/Class-Path attribute?
 
 
  For WAR you only only have to provide lib directory within the
  WAR File. It can contain any depending JAR you need. This is
  standard for WAR files (startig at 2.3 Servlet Spec I think). For
  EJB-JARS and EAR we don't have such a standard currently. You
  have to provide the relative path in the Manifest of the EJB-JAR
  if you want to force containers to load the dependent JAR Files.
   -Ursprüngliche Nachricht-  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]  Gesendet am: Freitag, 21. November 2003 11:48
 
 An: [EMAIL PROTECTED]  Betreff: RE: How to include jars and add them
 into the  MANIFEST.MF/Class-Path attribute?Problem with the
 ear.bundle is, that the jar is installed as   java module  (which is
 reserved for e.g. ejb client jars). I can manually copy the jar via
 the copy-deps task, but that doesn't  solve the problem of the classpath
 (escpecially for war's, because  there's no war.manifest.classpath
 property).Cheers,  simon  -Original Message-  From:
 R
 a n e s [mailto:[EMAIL PROTECTED]   Sent: Freitag, 21. November 2003
 10:51  To: Maven Users List  Subject: Re: How to include jars and add
 them
 into the  MANIFEST.MF/Class-Path attribute?  Hi,  You can set the
 ear.bundle to true.  dependency idcommon/id 
 typejar/type properties  ear.bundletrue/ear.bundle 
 /properties/dependencyRegards,   Ranes.   
 - Original
 Message -  From: [EMAIL PROTECTED]  To: [EMAIL PROTECTED] 
 Sent: Friday, November 21, 2003 2:57 PM  Subject: How to include jars and
 add them into the  MANIFEST.MF/Class-Path  attribute?  When
 building an ear, i'd like to include the dependent jar   files in the 
 lib
 dir of the ear and add them to the Class-Path of the including 
 applications.  Is there any easy way to do so?

RE: How do I get java:compile to automatically add dependencies to classpath?

2003-12-14 Thread dion
Cool, that'd be great!
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Chad Woolley [EMAIL PROTECTED] wrote on 14/12/2003 03:46:39 PM:

 Thanks, that's it.  I knew it was something dumb.
 
 It would probably be useful to have a NotSoSimple java example in the 
examples 
 plugin.  Still basic, but with a dependency section (some simple 
HelloWorld that 
 uses commons-lang, for example), and some other things that are common 
on any 
 java project of good size.  Maybe I'll try to write one if I find time.
 
 Thanks again,
 Chad
 
 Tim Chen wrote:
  Dependency
  Needs to be wrapped in a dependencies tag.
  Ex:
  dependencies
   dependency
   idbcel/id
   version5.1/version
   /dependency
  /dependencies
 
 
 
 
 
 -
 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]