Re: DJ "Genapp Templates" vs. DJ "Maven site Docs" vs. Paul Oakenfold
Brett Porter wrote: Hi Mykel, The standard on the website is the one we all agreed on about a year ago. Unfortunately, the genapp plugin hasn't caught up yet :) http://maven.apache.org/reference/conventions.html I'm not sure about mevenide: you'd need to task on their lists I think. Cheers, Brett there's already an open issue for that : http://jira.codehaus.org/browse/MEVENIDE-216 -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide Eclipse 0.4.0 release
we will try to backport in the coming weeks because 3.0.x user base is still .important.. -- gd David Jackman wrote: What about those of use who are still on the current release version of Eclipse (3.0.2)? Will you be backporting to support that version? -Original Message- From: Gilles Dodinet [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 4:02 PM To: Maven Users List; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Mevenide Eclipse 0.4.0 release The mevenide team is pleased to announce the Mevenide Eclipse 0.4.0 release! http://mevenide.codehaus.org/mevenide-ui-eclipse This release fixes numerous bugs and the POM Editor has been fixed for Eclipse versions greater than 3.1 M5 - tested against 3.1 RC1. update site for 3.1.x can be found at : http://mevenide.codehaus.org/release/eclipse/update/site.xml Have fun! -The mevenide team - 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]
Mevenide Eclipse 0.4.0 release
The mevenide team is pleased to announce the Mevenide Eclipse 0.4.0 release! http://mevenide.codehaus.org/mevenide-ui-eclipse This release fixes numerous bugs and the POM Editor has been fixed for Eclipse versions greater than 3.1 M5 - tested against 3.1 RC1. update site for 3.1.x can be found at : http://mevenide.codehaus.org/release/eclipse/update/site.xml Have fun! -The mevenide team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide Error Running
Simon, mevenide user list is more approriate for such questions. however in your conf i see : Eclipse Version: 3.0.2 please see http://jira.codehaus.org/browse/MEVENIDE-135 regards, -- gd Richardson, Simon (Treasury) wrote: Apologies... I appear to be answering my own questions! The MAVEN_HOME environment variable *is required* and needs to be set before running a Maven build from Eclipse using the Mevenide plugin. I have now removed the maven.home=c:\maven-1.0.2 from the External Tools / Arguments and my build now completes. However ... Is still get an error launching the Maven build: !ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 12:37:00.704 !MESSAGE An internal error occurred during: "Launching". !STACK 0 java.lang.NoSuchMethodError: org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/e clipse/debug/internal/ui/views/console/ProcessConsoleManager; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] artifact handlers
hi- as part of a m2 csharp plugin i have some custom artifact handlers but i'm not sure how i can register them. providing a components.xml file as part of the plugin distribution doesn't seem to do the trick. thanks for any help. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] dependency properties
Brett Porter wrote: On 5/15/05, Gilles Dodinet <[EMAIL PROTECTED]> wrote: previous plugin version only used the following dependency property (similar to the war.bundle property), as well as a couple of properties defined in project.properties (but those will go under the plugin config section) Yuo hit the nail on the head earlier, that transitive dependencies made the properties problematic. true I think the default bundling is ok, and then something like: groupId:artifactId ... We could add some tools to help filter an artifact list by a list of "groupId:artifactId" strings. however im rewriting it (targeting both m1 and m2) and there's now are several other dependency properties like which indicates if a dependency should be marked as exported in the plugin descriptor; or which is used to override the default library output folder on a per-dependency basis. Some of this is getting quite complicated to define in the above way, and if you look at the Geronimo Maven1 POM's you'll see that listing it on the dependencies starts to get quite confusing also. It's hard to get a single view of what sets these properties define. The alternative I took with the assembly plugin was to build a separate descriptor. It may be worth doing this for some plugins. I'd keep pushing that the defaults for a plugin should cover as many use cases as possible so the amount of configuration needed is minimal. indeed, and if using the defaults, no configuration should be needed at all here. also in this case, using another descriptor doesn't seem to be the way to go as it would be pretty odd : one of the primary goal is indeed to generate/update a pde plugin descriptor. last, while the dependency filtering may be a nice addition, i think there's still a visibility issue here and in some way, doesn't it invalidate the transitivity feature since it would require the user to have an almost complete view on the underlying dependencies ? regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] dependency properties
Jason van Zyl wrote: I'm not familiar with the PDE plugin but can you give me an example of its configuration in m1 and I will give you an example of what could be done in m2. previous plugin version only used the following dependency property (similar to the war.bundle property), as well as a couple of properties defined in project.properties (but those will go under the plugin config section) true however im rewriting it (targeting both m1 and m2) and there's now are several other dependency properties like which indicates if a dependency should be marked as exported in the plugin descriptor; or which is used to override the default library output folder on a per-dependency basis. on another topic is there any plan to upload m2 libs to ibiblio m1 repo ? indeed i now have three modules: core --> m2_api m1 --> core m2 --> core so building m1 plugin seems problematic if m2 libs haven't been priorly installed manually. regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] dependency properties
Jason van Zyl wrote: In the case of m1 all properties defined for a dependency were utilized by the plugin so we decided to allow arbitrary configurations and encapsulate everything a plugin needs within that plugin section. We think this is going to work. Jason i can understand that but not sure of how this can be used to handle per-dependency settings. do we need to have something like : ... myArtifactId1,myArtifactId2 myArtifactId1:bar-renamed_1.0.0,. the above seems to me very tedious and error-prone and i think i'm missing something important here. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] dependency properties
Kenney, thanks. gonna file a jira issue but i also need to think about it a bit more - e.g. see how transitive dependencies should be treated, in regards of properties (we clearly donot want to propagate them). i the mean time i think i can get with the 'scope' workaround. regards, -- gd Kenney Westerhof wrote: On Sat, 14 May 2005, Gilles Dodinet wrote: Allright. Currently the only solution is to specify settings in the section for the specific plugin your settings apply to. Are you aware of any existing plugins that require per-dependency settings? The m2 team has not added support for dependencies on purpose, either because of lack of use-cases, or because the desired approach is to specify those settings in the plugins. You could file a JIRA issue, see what comments they have on this. -- Kenney - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] dependency properties
Kenney, afaiu this cannot possibly work because it's way too limitative. the problematic is somewhat similar to the war plugin (creating archive) but i should also be able to specify other properties than basic exclude/include from archive. for instance i may declare something like the following: ... foo true bar.renamed_1.0.0 i may also want to exclude a dependency from the archive - whose scope actually is Artifact.SCOPE_RUNTIME (f.i. it is already being exported by another archive, which the archive under creation is dependent upon). regards, -- gd Kenney Westerhof wrote: On Sat, 14 May 2005, Gilles Dodinet wrote: hi- i noticed dependencies in m2 don't declare properties anymore. so what is the expected way to implement m1-like treatment depending of dependency properties ? You can define a tag for each dependency. For example, in the war plugin, only dependencies with scope 'runtime' or 'compile' (the only other defined scope is 'test') get included in the war. -- Kenney - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] dependency properties
hi- i noticed dependencies in m2 don't declare properties anymore. so what is the expected way to implement m1-like treatment depending of dependency properties ? thanks. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide problem with eclipse 3.1M6
i've already added a jira entry concerning this issue (http://jira.codehaus.org/browse/MEVENIDE-176). i havent had the time to investigate this so i dont know yet why m6 breaks the editor. -- gd Thomas Van de Velde wrote: In that case I'd log it in JIRA (I had a similar problem when 3.0 first came out; at time they pointed me to the aforementioned link) On 5/6/05, Martin Jäger <[EMAIL PROTECTED]> wrote: The same problem (display of tabs) here... Regards Martin Michael wrote: I just installed mevenide today on Windows XP Pro with Eclipse 3.1M6 and Java 5. I used http://mevenide.codehaus.org/release/eclipse/update/site.xml. Just to make sure, do you have a proxy server on your network? If so, you'll need to set up the proxy in Eclipse. I haven't had much luck with the plugin unfortunately. While it installs no problem and I have menus, I haven't been able to get POM synchronization working and the registeded editor for POM files displays every tab in some corrupted view. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse plugins and maven
the mep plugin needs to be rewritten. ive started the rewriting but seriously lacked of time the past months. however in the yet to come new version theres some code [*] that you may find useful to avoid to declare your eclipse dependencies twice. [*] http://cvs.mevenide.codehaus.org/mojos/pde-plugin/m1/plugin.jelly?rev=1.4&view=auto : adding pde:classpath as a preGoal of build:start should do the trick. -- gd Christopher L Merrill wrote: Duncan Krebs wrote: I want to use Maven to build a plugin but am wondering how to setup my project.xml. For example, do I need to manually add each plugin dependency inside project.xml or does plugin.xml preserve this information? Also, as I do with my other maven projects can I generate the .classpath and .project file using the maven:eclipse for plugin projects or do these files need to be stored in CVS? Thanks - Duncan Have you looked at the MEP plugin? (Maven-Eclipse-Plugin plugin) It builds Eclipse plugins. http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/index.html -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to attain goal [build:end] -- null
Gilles Dodinet wrote: hi- im writing a plugin using mostly java and get a NPE at build:end when, and only when, a specific custom tag is called. ive searched google for this problem but didnot anything helpful (besides xref). i should certainly add that the tag executes normally (values correctly replaced in the specified files and zip files correctly constructed). thanks. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unable to attain goal [build:end] -- null
hi- im writing a plugin using mostly java and get a NPE at build:end when, and only when, a specific custom tag is called. ive searched google for this problem but didnot anything helpful (besides xref). below the jelly scripts and the debug output. i dont think im doing fancy stuff in the tag however i attach it below - maybe is it relevant. also please note that the problem only appears when calling the goal pde:test defined in maven.xml (below). thanks for your help ! -- plugin.jelly -- xmlns:j="jelly:core" xmlns:maven="jelly:maven" xmlns:ant="jelly:ant"> -- maven.xml -- -- debug output -- [snip] Using projectPropertiesFile: E:\mevenide-workspace-HEAD\maven-pde-plugin\m1\test\resources\it.v3\project.properties Using projectBuildPropertiesFile: E:\mevenide-workspace-HEAD\maven-pde-plugin\m1\test\resources\it.v3\build.properties replacing a context when the stack is not empty attaining goal build:end BUILD FAILED java.lang.NullPointerException com.werken.werkz.UnattainableGoalException: Unable to obtain goal [build:end] -- null at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) [snip] -- PdePluginTag -- public void doTag(XMLOutput arg0) throws JellyTagException { try { PdePluginBuilder builder = new PdePluginBuilder(); String artifactName = (String) getContext().getVariable("maven.final.name"); builder.setArtifactName(artifactName); File basedir = new File((String) getContext().getVariable("basedir")); builder.setBasedir(basedir); builder.setClassesLocation((String) getContext().getVariable("maven.build.dir")); builder.setExcludes((String) getContext().getVariable("maven.pde.excludes")); builder.setLibFolder((String) getContext().getVariable("maven.pde.libTargetPath")); builder.setProject(new MavenProjectConverter((Project) getContext().getVariable("pom")).convert()); List includes = getCommonIncludes(basedir); //@todo custom includes builder.setIncludes(includes); builder.build(); } catch (PdePluginException e) { throw new JellyTagException("Unable to build plugin", e); } } -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Mevenide for Eclipse 0.3.0
The mevenide-ui-eclipse team is pleased to announce the Mevenide Eclipse 0.3.0 release! This version adds a few new features : ability to autolaunch maven, and repository browsing and searching. because Eclipse 3.1M2 adds some API changes there are two different update sites : 3.0.x and 3.1M1 users should use the following update site : http://mevenide.codehaus.org/update/3.0/site.xml 3.1M2 users can update through the usual update site : http://mevenide.codehaus.org/update/site.xml More information is available at http://mevenide.codehaus.org/mevenide-ui-eclipse Changes in this version include: New Features: o Add Maven Nature and Builder. Allows to enable/disable goals on a per-pattern basis. Also allows to auto-trigger goals. o Add a remote Maven repository browser and Search Engine based on Mavenzilla Fixed bugs: o Added a preference to control the location of tools.jar. Issue: MEVENIDE-80. o Update site generation now uses zip task instead of jar. Issue: MEVENIDE-73. o Missing ~/build.properties does not cause synchronization to fail anymore. Issue: MEVENIDE-71. o Now checks that maven_home, java_home and tools_jar are correctly defined before trying to launch. Issue: MEVENIDE-70. o Fix odd focus behavior in the Maven Project Wizard. Issue: MEVENIDE-66. o Corrected synchronization behaviour for dependencies specifying <jar/> element. Issue: MEVENIDE-57. o Closing square bracket doesnot break anymore jelly syntax highlighting. Issue: MEVENIDE-56. o Fix NPE if jar override is on but no dependencies are present in POM (typically occured when using inheritance). Issue: MEVENIDE-55. o POM editor pages are now correctly updated. Issue: MEVENIDE-23, MEVENIDE-60, MEVENIDE-85. Changes: o POM Editor Overview page Heading correctly updated when changing POM name. o Dynamic preference pages donot rely anymore on explicit plugin activation. Have fun! -The Mevenide team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ann: Mavenzilla
Moritz Petersen wrote: Its a search tool for remote repositories (that works). Downloading dependencies doesn't make sense, as it is Maven's part. More important is to add tags to the project descriptor. I think some keywords like "last stable" (not snapshot) would be a good help. An Eclipse plugin is already planned (but not yet realized). Integrating into mevenide is a good idea, but I have no idea where to start... For more ideas, in which direction Mavenzilla can develop, consult http://jface.sourceforge.net/mavenzilla/future_development.html -Mo. Moritz, i already looked at the web site before posting the first mail ;) downloading *makes* sense : it allows to populate the repo with missing (for whatever reason) dependencies. and this especially makes sense when you're developping in the context of an ide but donot want to trigger a maven build - f.i. you want to try a new version of some lib, or need a lib but donot know neither the groupid nor the artifactid : just browse the remote repo, pick an artifact and add it to both pom and project classpath. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ann: Mavenzilla
is it yet a search tool or a real browser ? a remote repo browser, capable of downloading dependencies, would be a very helpful. if you dont mind we could integrate it into mevenide ? -- gd Moritz Petersen wrote: Mavenzilla is a browser for Maven repositories. http://jface.sourceforge.net/mavenzilla/ To be honest: it is currently in a very early development stage, and more a prototype than a real application. The question is: is a repository browser neccessary / useful, or am I missing a point with Maven? Often, I browse the ibiblio repository, to take a look at the latest version of a dependency. I would be interested to know the experiences / practices of other users when working with maven. How do you determine the version you will use in your project? Thank you, Moritz. - 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: running app
alternatively, milos wrote a maven plugin that runs a specific class or the primary jar artifact. you can find it there : http://mevenide.codehaus.org/repository under mevenide groupId -- gd Craig S. Cottingham wrote: On Sep 14, 2004, at 23:37, Adam Fisk wrote: It seems like there must be a simple way to actually run my app using Maven, but I can't seem to track it down. Is there anything like a "maven run" command where I can specify a "maven.mainclass" property to just run a main class in my program, something like that? Seems like a silly question, but I've had a heck of a time figuring out how to do this! There's nothing built in that I'm aware of, but I've done something similar by adding a goal to maven.xml: -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C - 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: Should I teach multiproject to climb up?
Jose Gonzalez Gomez wrote: project-root project project.xml maven.xml project.properties [including maven.multiproject.includes=../*/*/project.xml] modules first-module [maven stuff inside, including ${basedir}/../../project/project.xml] second-module [maven stuff inside, including ${basedir}/../../project/project.xml] and found that multiproject was no longer finding the projects under modules/. Is this expected behavior, or have I found a bug? Maybe I'm doing anything silly? Is there any way to make this work? i may be wrong but shouldnot then become : maven.multiproject.includes=../*/project.xml and ${basedir}/../project/project.xml ? perhaps this is just a typo in your mail.. regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: disabling project documentation
Nathan Coast wrote: Hi, When executing the 'site' goal, is there any way to prevent the generation of the "Project Documentation" menu and related reports? I tried adding to maven.xml and to project.xml but the reports are still generated. what about maven.xdoc.includeProjectDocumentation ? -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Mevenide Eclipse 0.2.2
The Mevenide team is pleased to announce the Mevenide for Eclipse 0.2.2 bugfix release. The project's aim to to provide Maven support for Eclipse 3.0. Implemented features include bidirectional pom/ide synchronization, pom and jelly editors, fully integrated maven runners, Maven plugins provider infrastructure, etc. For a complete list of features, see http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html To install or update from 0.2.1 define an update site pointing to : http://mevenide.codehaus.org/release/eclipse/update/ Changes in this version include: New Features: o Allow to import/export maven plugin properties. Fixed bugs: o Fix project wizard o Comments including quotes donot pollute the rendering anymore. Issue: MEVENIDE-42. o Full Description adapts to the page size. Issue: MEVENIDE-44. Changes: o Update maven oriented file icons Have fun! -The Mevenide team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to change artifactId
Arto Pastinen wrote: Hi! How can i temporarly change artifactId from project. I need to change it because i want to deply snapshot jar, which contains only some specific stuff from my project, and org.apache.maven.artifact.deployer.*Deployer's deploySnapshot method need's project object. something similar to the lines below should work. however there may be some unexpected side-effects.. use at your own risk ;) ${projectVar.setArtifactId("newArtifactId")} ${projectVar.setArtifactId(oldId)} -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: best practice to selectively compile a piece of code
Selon Jörg Schaible <[EMAIL PROTECTED]>: > > This is not always possible. We have in a multiproject a subcomponent based > on a piece of properietary software. We allow the customer to build anything > from sources and the special subcopmponent is build, if the customer has that > proprietary piece. Not even all of the project's developers have it. > > Therefore I search myself the best way to remove subprojects from the > multiproject's reactor list. > jorg, we face the same issue in mevenide (say one wants to build against a particular ide). altho i dont know if this the best way to achieve this, what we do to solve this is to declare a specific goal for each part we may want to build, those goals only override maven.multiproject.includes and attain multiproject:goal. this has worked nice so far. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: find all files in given directory and iterate
Vijay V wrote: Hi, I have to figure out from a given directory if a particular type of file exists Say there is a directory by name com/times and say there are files by name Bundle.java Bundle_en.java Bundle_en_us.java I will have to figure out if a file by name say Bundle_en.java exists. So basically is there a way to get all the files present in a given directory and then to iterate over it. Is there a tag which i can use? Vijay, you can use for that , something like the following : -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Mevenide Eclipse 0.2.1 Released
Following the Maven 1.0 release, the mevenide team is pleased to announce the Mevenide Eclipse 0.2.1 release! http://mevenide.codehaus.org/mevenide-ui-eclipse Please note that you may need to uninstall the previous version before installing this one. Changes in this version include: New Features: o Add POM Template management through a preference pages. o All Maven specific dependencies are now bundled as an external plugin. o Maven Plugin Provider Infrastructure allows plugin providers to statically contribute to Mevenide preference pages. o Add new preferences page to manage user defined dependency types. o Add simple POM wizard that can use templates. o Add Pom validation. Supports infinite inheritance scheme. Fixed bugs: o Pages correctly refreshed if they have already been opened (see also MEVENIDE-23) Issue: MEVENIDE-11. o Also fix issue causing two launch configurations to be created. Issue: MEVENIDE-18. o Refresh behaviour now implemented through the use of ILaunchesListener2. Issue: MEVENIDE-20. o Now correctly use MAVEN_REPO Classpath Variable when synchronizing .classpath. Issue: MEVENIDE-24. o Now lookup reports registrar goal name instead of plugin directory name. Issue: MEVENIDE-26. o Tags now allowed within POMs, but still need to be protected with CDATA blocks. Issue: MEVENIDE-28. o Fix NPE when no launch configurations exist. Issue: MEVENIDE-29. o AutoBuild is now set to false prior to adding artifacts to .classpath and is restored after that. Issue: MEVENIDE-31. o Now allow to specify user defined types Issue: MEVENIDE-39. o Propagate Maven global plugin directory change (plugins are now cached in ~/.maven/cache) Issue: MEVENIDE-40. o Mark Argument Tab editor as dirty when a cell loses focus without Enter having been hit. Issue: MEVENIDE-41. Changes: o Preference pages reorganized for better readibility. o Required location preferences can now be regenerated automatically. o Open Property Sheet on List elements double click in POM Editor. o Use Jdom-based unmarshaller to support entities reading. No entities writing yet. o Icons now follow new 3.0 LnF. o Offline mode in maven.xml outline page is now functional. o Pom Creation Action now works on any IContainer. o Pom Creation Action can now use templates. o Mevenide Launch Config Type now has an associated image Have fun! -The mevenide team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xdocs - customize the look and feel of the UI
Jörg Schaible wrote: Just as remark: In a multiproject environment you have to maintain a copy the css in every subproject. generally i have a preGoal on site project that iterates on subprojects and copies common files (css, images, etc.) to the correct locations. i do something like this : - <#> - <#> - <#> -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to create platform-independent dependencies?
Brett Porter wrote: file: (no slashes) seems to work on both. The best thing about standards is there are so many of them! I think the latest xdoc plugin fixes this bug. thanks brett, we'll try that. btw this is the prefix we use for the xml entities ;) so it should work as fine for jelly files.. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to create platform-independent dependencies?
Peter Nabbefeld wrote: Unable to obtain goal [site] -- C:\Dokumente und Einstellungen\user\.maven\plugins\maven-xdoc-plugin-1.7.1\plugin.jelly:364:54: could not include jelly script: file://C:\cvs\mevenide\mevenide-master\..\mevenide-config/../mevenide-master/src/templates/jsl/site.jsl. Reason: org.apache.commons.jelly.JellyException: null:-1:-1: > Could not parse Jelly script Peter, the problem is the url prefix. i found we had some kind of conflict with linux and windows : indeed if i remember milos changed it because it didnot run properly on his box. so url prefix is now encapsulated into a property. in master/project.properties you have something like : # one slash only on winxp fileUrlPrefix = file:// in my ~/build.properties i just add : fileUrlPrefix = file:/ and it works fine. perhaps we should rename the property btw.. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dist.codehaus.org mirror?
Stefan, we are reorganizing our dist folder.. until thats done you can get what you look for here : http://www.ibiblio.org/maven/mevenide/release/ regards, -- gd Stefan Groschupf wrote: Hi, I try to dowload latest meven ide from http://dist.codehaus.org/mevenide/release but this folder does not exist. ;( Has someone a copy of the latest snapshot or a mirror of dist.codehaus.org? Thanks! Stefan --- enterprise information technology consulting 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide wiki : editable? (or not?)
Omair-Inam Abdul-Matin wrote: Just wondering why the mevenide wiki is not editable? Not that I've ever wikied. Just a thought. i think you can edit it if you are logged in. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide: Dialog box q (in UI)
Omair-Inam Abdul-Matin wrote: I'm having a bit of an issue with the plugin. I just installed 3.0RC1 and I was having troubles getting a different plugin to work (Clover) so I deleted it's directory from the plugins directory. Now when I open the preferences window instead of seeing Maven in the options I see the following: %MavenMenu.label Actually this has happened with another plugin as well, and the other plugin (Log4E in case you were wondering) has also decided to do the same thing (so instead of Log4E I see in its place %pluginName) Do you know how I can sort this out? not really sure but i had such similar experiences when doing wild updates of plugins, in particular when upgrading - either eclipse or plugins. eclipse seemed to still references old versions of plugins ; i think such kind of informations are stored in the configuration folder. so perhaps trying to delete can help it out ? -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Mevenide releases
Yura Ivanov wrote: Yes the first pom doesn't declare name element, but I add this element and it nothing changed. Only on one project.xml editor was working, but when I tryied to extend it, eclipse exit with error "OutOfMemory". here is my project.xml well, xml entities are not supported yet. i have no clue about the OutOfMemoryError. do you have any supplementar informations about this ? please also refer to http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html for known issues and limitations. regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Mevenide releases
Yura Ivanov wrote: I have Eclipse M9, when try to open project.xml, I get an error "Unable to create part: Maven" this really shoudnot happen on M9. cannot help much without any more information, however if you upgrade from an earlier version you can try to trash your configuration folder to see if that get rid of that error. And often when I try to do something I've got this - java.lang.NullPointerException at org.mevenide.ui.eclipse.sync.model.MavenProjectNode.equals(MavenProjectNode. java:377) at i think thats because you pom doesnot declare element? can you confirm it ? i believe name is a required element and it is used internally by the synchronizer for project comparison. i guess we could at least for nullity ;) let me know if that helped. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide: Dialog box q (in UI)
Omair-Inam Abdul-Matin wrote: In many of the tabs introduced by Mevenide. E.g. the dependencies tab, it is possible to add, remove dependencies as well as change the order. However when I try to add a new dependency, I get a generic jar file ([artifactId]-[version].jar) which I cannot edit in the same view. I'm assuming that this is expected behavior and that right now it is only possible to edit this in directly in the source. Could someone shed some light on this? Omair, actually you can edit the values in the properties sheet view. i guess we should add a button to open the properties view automatically - or to bring it to the front on double-click. regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Mevenide releases
Gilles Dodinet wrote: - Please refer to http://localhost:8100/mevenide-ui-eclipse/features.html for a complete list of features. if you experience troubles to load the page, you may want to try this one : http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Mevenide releases
The Mevenide Team is pleased to announce the triple release of the following : o Eclipse plugin 0.2.0 === Mevenide for Eclipse integrates Maven into Eclipse, featuring : - Maven launcher - POM Editor and Jelly Editor, - POM/IDE synchronizer - Please refer to http://localhost:8100/mevenide-ui-eclipse/features.html for a complete list of features. To install the eclipse plugin you can define an update pointing to http://dist.codehaus.org/mevenide/release/eclipse/update/site.xml. Alternatively you can download a big archive containing all required plugins and feature here : http://dist.codehaus.org/mevenide/release/eclipse/mevenide.update-0.2.0.zip o maven-nbm-plugin 0.3 = maven-nbm-plugin ensures that your artifacts become Netbeans modules, creates nbm files for easy updating, not only for your project but possibly also for it's dependencies. Please refer to http://mevenide.codehaus.org/maven-nbm-plugin/goals.html for a complete list of goals. To install the plugin add add |http://mevenide.codehaus.org/repository to your maven.repo.remote list and |run : maven -DartifactId=maven-nbm-plugin -DgroupId=mevenide -Dversion=VERSION plugin:download where VERSION is either 0.2 or 0.3 depending on what version of Netbeans you are working with (respectively 3.6 and 4.0). o maven-eclipse-plugin-plugin 0.2 === maven-eclipse-eclipse-plugin aims to simplify management of Eclipse plugin artefacts interdependency. It allows to track required plugin version, and also to automatically generate feature and site update distribution. Please refer to http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/goals.html for a complete list of available goals. To install the plugin add |http://mevenide.codehaus.org/repository to your maven.repo.remote list and |run : maven -DartifactId=maven-eclipse-plugin-plugin -DgroupId=mevenide -Dversion=0.2 plugin:download regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven jar
Brett Porter wrote: Yes, I do see why this is happening. Perhaps what should happen is for the plugins to provide a jar override that specifies ${maven.home}/lib/maven.jar if that works. - Brett well, if that were the case then maven shouldnot try to download it, right ? however i tracked it a bit to pom and release plugins that both declares : maven.jar maven maven 1.0-rc2 seems to be the root of the problem.. the funny thing is that on ibiblio maven.jar is 3 months old - older than rc2 thus. is it something we should consider normal or do i have to enter a jira issue for that ? i personnally find odd that the artifactId-version pattern isnot applied there.. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven jar
Brett Porter wrote: Which part of maven does this? Most plugins use rc2 for compile time at the moment. There should be no runtime dependency as the version you are running is already loaded into memory. not sure exactly where it happens but it seems to be related to multiproject. heres a simple test to reproduce it : delete maven.jar from repo, in an almost empty project run maven multiproject:site (no need to specify the various multiproject properties). maven will then try to download maven.jar. this doesnot happen if running, f.i., custom goals or other goal (e.g. java:compile) -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Mevenide - eclipse 3.0 M8 (was: Plugin built...)
Omair-Inam Abdul-Matin wrote: I see the directory. actually that is useful when upgrading feature - seems 3.0 Mx have some troubles with managing feature versions (ive experimented it and read similar experiences on o.e.platform newsgroup). anyway ive uploaded a zip archive here : http://dist.codehaus.org/mevenide/release/. you can use it to install from a local update site. please report any problems to mevenide user-list. thanks, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven error building mevenide
Omair-Inam Abdul-Matin wrote: I followed the link provided by Gilles and am trying to build the eclipse plugin. All goes well until the final step. I chang into the mevenide-master directory and issue the maven mevenide-eclipse:build command. Maven chugs along for a while, then chokes and dies :( I have attached the final few pages of output given by maven. Can anyone guide me as to what the problem is? Note that my setup environment is correctly set up (I have ECLIPSE_HOME set to point to my Eclipse installation directory) Omair, problem is that youve built against M9. i havent yet committed the changes i made for M9. i just committed changes so it will at least compile, however M9 seems to _really_ break runtime.. if you're interested i can upload a M8 compatible update site. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide working ... ?
Omair-Inam Abdul-Matin wrote: Is mevenide in working condition right now...? Omair there are still some outstanding issues (with the biggest one being to not support entities in the pom editor) but yes its working. please also note the eclipse 3.0 M9 is not supported yet. altho i have not read anything about it, M9 seems to have introduced some changes in the External Tools API, causing some unexpected errors im trying to investigate. M8 is however fully supported. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven jar
hi- this question is troubling me since time now : why does maven depend on maven.jar, i.e. why the artifactId-version naming pattern is not enforced here ? thanks. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mevenide wiki link broken
Omair-Inam Abdul-Matin wrote: I was searching for threads on Mevenide and managed to find one that links to the build instructions for Eclipse. That works fine. However from the main mevenide page the link to the wiki is broken. Could one of the committer fix it please? hi- this is already fixed in cvs. however site has not been updated since then. it will with the next release which has been a bit delayed but should drop in the coming days. in any case heres the link : http://docs.codehaus.org/display/MEVENIDE/Home regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SNAPSHOT and multiproject
Heritier Arnaud wrote: Hello Emmanuel, I don't think that you can do that. pom.currentVersion is directly retreived from the project description and I don't think that it is modifiable. Arnaud, it is possible to modify it through a direct call to the currentVersion setter : ${pom.currentVersion} ${pom.setCurrentVersion("SNAPSHOT")} ${pom.currentVersion} ===> [echo] 1.0 [echo] SNAPSHOT -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven editor 4 eclipse
[EMAIL PROTECTED] wrote: Hi maven friends, i found a interesting issue and just wish to let you know. It a kind of improvement suggestion for the ma(e)ven IDE project. Since I didn't remember the correct syntax of a ant command i was open a build.xml in eclipse. Eclipse has a ant editor with syntax checking and code completion. That brings the idea and i was browsing the code of the eclipse ant editor. Surprise surprise the ant script syntax is described in a dtd file. So i was just editing the dtd file and vola there was a working maven.xml editor with syntax checking and code completion. That could be useful for pom as well. hi- mevenide has now a jelly editor. if you have some time please feel free to build from cvs and report any bug ;) a release should also land shortly. regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Mevenide move
Chad Woolley wrote: The Mevenide team is proud to announce its move to The Codehaus. Website is now hosted at http://mevenide.codehaus.org/. Did you typo the project name this time too??? :) hehe good one ;) you know how history bites us ;) -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [java] [ANN] Mevenide move
Andreas Guther wrote: The following page contains a dead link to a page that should contain eclipse update manager information: http://mevenide.codehaus.org/download.html thanks for reporting. website will be updated in the coming week(s) to reflect cvs head state. ill take care of that prob in the same time. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pom.getPluginContext deprecated
Brett Porter wrote: Besides, I would like to learn more about how maven plugins get resolved (as how maven matches a plugin when 2 versions of the same plugin are installed). Versionining is not well defined in Maven 1.x. All of the plugin installation goals actually remove all previous versions. real problem is when you manually put (most prolly by mistake, without using plugin:install) a new version of a plugin in the plugins dir : maven will still use the old version unless you delete the cache files (deleting the old plugin dir isnot enough). -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Mevenide move
J. Matthew Pryor wrote: I have tried several times to build mevenide from CBS for Eclipse 3.0M8 without any success (following the Wiki instructions) Should I expect to be able to build the current CVS code & deploy into M8 yup, should be straightforward. you can also download the maven-eclipse-eclipse-plugin directly from http://mevenide.codehaus.org/repository/mevenide/plugins/ instead building it (step 3). please report any problem to mevenide user list. reagrds, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Mevenide move
The Mevenide team is proud to announce its move to The Codehaus. Website is now hosted at http://mevenide.codehaus.org/. The Mevenide project's focus is to create IDE tools for the Maven project management and project comprehension tool (http://maven.apache.org). The aim of the project is to make developer's life easier by providing tools for easy creation and maintainance of Maven based projects from the favourite IDE of choice. latest releases can be found at http://dist.codehaus.org/mevenide/release/ -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Noga [WAS: Re: pom.getPluginContext deprecated]
oops, sorry.. my bad.. was intended to be a private mail :/ -- gd Gilles Dodinet wrote: hi guillaume, suis alle sur le site de noga systemes (http://www.noga-systemes.com/, right ? - cf. la vcard) et le site est plutot sobre ;) comment cela se passe-t-il pour vous maintenant ? surbookes ? btw, pour repondre a ta question, il s'agit de org.apache.maven.jelly.tags.maven.PluginVarTag : -- gd - 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]
Noga [WAS: Re: pom.getPluginContext deprecated]
hi guillaume, suis alle sur le site de noga systemes (http://www.noga-systemes.com/, right ? - cf. la vcard) et le site est plutot sobre ;) comment cela se passe-t-il pour vous maintenant ? surbookes ? btw, pour repondre a ta question, il s'agit de org.apache.maven.jelly.tags.maven.PluginVarTag : -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ssh of site:deploy on sf
geoffrey, you can use plink for that : http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html you will have to enable your ssh authentication on sf (upload your public key through the web interface), you will also need to have the agent (pageant) running. regards, -- gd Geoffrey wrote: Hi, I am using win XP and I would like to site:deploy on sourceforge from maven. But I haven't got an ssh command on my shell. Where can I find a compatible ssh client and enable ssh in the command shell? Which other steps do I have to take to make it work in Maven for SourceForge? Is there guide on site:deploy? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto install Mevenide on Eclipse M8 ?
Marc, seems that the building page is quite out-of-date ;) but the wiki is uptodate : http://mevenide.sourceforge.net/cgi-bin/view.pl/HowToBuildMevenide. please note that sources in sf repo are not the most recent. we gonna make announcement very soon. also the mevenide list may be more suitable for this question. regards, -- gd Marc Lustig wrote: Hi, if somebody is out there who has successfully running Mevenede on Eclipse 3.0 M8 I'd appreciate to know how you managed to get it working. I checked Mevede out from cvs.sf.net and followed the instructions from http://mevenide.sourceforge.net/building.html. Unfortunately target mevenide:build-all results in com.werken.werkz.NoSuchGoalException: No goal [mevenide:build-all] Regards Marc - 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: Making A subproject Site
multiproject provides convenient default properties values. you should try to first set maven.multiproject.excludes and maven.multiproject.includes ; also be sure to exclude to top-level pom. once that done just run maven pultiproject:site from the top level directory (if you have parallel project structure you should run it from the master project directory). then you can try to twik the various properties to fit your needs. -- gd Raphael Philipe Mendes da Silva wrote: Thanks, but how it works? I have entered in the multiproject plugin site but i didn't find some docs... Someone can help?? -Original Message- From: Niclas Hedhman [mailto:[EMAIL PROTECTED] Sent: terça-feira, 13 de abril de 2004 12:05 To: Maven Users List Subject: Re: Making A subproject Site On Tuesday 13 April 2004 22:54, Raphael Philipe Mendes da Silva wrote: Hi, I'm new in Maven.. I need do a project site that have subprojects in it... how i can do it??? EIther use the or what I like better the multiproject plugin. http://maven.apache.org/reference/plugins/multiproject/index.html Niclas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jelly] howto loop against files in some dir ?
nicolas, i think something like that should work : hope this helps -- gd nicolas De Loof wrote: Hello, I'm trying to write a maven plugin for the solex webapp test tool. (http://solex.sourceforge.net/) Solex 0.5 defines a ant task to run a solex session. I'm able to use it and run a session from a simple maven plugin. I'd like to run it for all session files found in src/test-solex (something like is done for cactus and junit tests). I don't know how to use ant or jelly tags to build a "foreach" from a fileset or anything else. Can someone help me about that ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Including dependencies from external file
Jason van Zyl wrote: Do you think you could describe that in a patch for this document: http://cvs.apache.org/viewcvs.cgi/maven-components/USE-CASES.txt?rev=1.9&view=auto done under http://jira.codehaus.org/secure/ViewIssue.jspa?key=MCOMPONENTS-12 -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Including dependencies from external file
Jörg Schaible wrote: we use something like that to include external xml fragments : "file:../mevenide-ui-eclipse/pom-fragments/inherited-dependenc ies.xml"> it works under xp and linux. But only if all included POMs (by reactor or extend tag) share the same directory level to the multiproject's basedir. Regards, Jörg indeed. actually this entity is defined in mevenide-ui-eclipse pom. the mevenide-ui-eclipse segment is added to allow the entity to be resolved whether pom is read from parent directory or directly from within basedir (i.e. using rector or not). and you're right : another trick should be applied if using nested projects structure. perhaps something like your locator indirection. it would be cool if a later maven version supported file inclusion in a smoother way. regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Including dependencies from external file
Joern, we use something like that to include external xml fragments : it works under xp and linux. -- gd Quoting Jörn Gebhardt <[EMAIL PROTECTED]>: > Hi, > > we encounter the following very strange problem that occurs only under > Windows XP: > > We have a project.xml that looks like this: > > > > > ]> > > xmlns:j="jelly:core"> > ... > > > &ProductDependencies; > ... > > ... > > > I.e. we want to include some entries in the dependencies section from > another file. As this works perfectly fine under Windows 2000 and Windows NT > it causes the following problem under Windows XP: > > java.net.UnknownHostException: > > > For some strange reasons Xerces tries to open a FTP connection under XP > instead of just reading the file. Has anybody an idea what is going on here > and why this problem occurs only under Windows XP? I've consulted already > the Xerces mailing list, but got no answers. > Or are there any other ways to include the same set of dependencies in > multiple POMs without using inheritance? > > Thanks in advance, > Joern > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dynamic resource properties
With the inner element of course.. sorry. Gilles Dodinet wrote: ${your.resources.folder.name} **/*.properties - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dynamic resource properties
Daniel, something like below (not tested) might work : Project.xml ${your.resources.folder.name} **/*.properties Resource.properties = application.description = @app.description@ Maven.xml === please see http://wiki.codehaus.org/maven/FilteringResources -- gd Daniel Frey wrote: Hi all I just started with maven. I wonder, if during the build process it is possible to complete resources stored as properties with variables. Example: My resource file Resouce.properties contains the following line: application.description = The really full long description of my application This data is set in the project.xml too: … The really full long description of my application ... In my resource file, I would like to be able to do something like: application.description = ${mave.project.description} // or something similar When the original resource file is copied to the target directory, maven should replace these variables. Does somebody know how to do this? Tanks, Daniel Frey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Excluding source in Java builds
Brian, if this is what you actually have in your pom, i think you're the outer sourceModification element : -- gd Brian Enigma wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I seem to be having difficulty getting the tag to work correctly. A few days ago I asked how to best compile multiple jars from a single CVS source repository and was told that it is not unusual to have multiple project.xml files. So, following that path, here is my situation: I have a single CVS project with several Java utility packages. These include things like com.mycompany.util.*, com.mycompany.dao.*, com.mycompany.xml.*, etc. There are about a dozen different packages. The existing Ant script we have been using for several years ends up compiling things and throwing them into separate jar files: mycompany-util.jar, mycompany-xml.jar, etc. In breaking this down from a single Ant file to multiple Maven project files, I thought I could use the tag to exclude code from compilation and jaring, but either this does not seem to work or I am not doing it correctly. For example, my project-util.xml file has a build section that includes: src/java force.modifications.to.occur **/* com/mycompany/util/*.java I then launch Maven with "maven -p project-util.xml java:jar". Unfortunately, it seems this section of the project file is entirely ignored. It still insists on compiling and packaging *everything* in the src/java folder (and ends up failing because some of the classes outside of the com.mycompany.util.* package require build dependencies like ant.jar and j2ee.jar that are not specified in util's project.xml). Does anyone have any good examples of the sourceModifications section? I looked through the source code archives of a few of the Jakarta projects, but nobody seems to be using this particular element. Am I using it correctly? Is it broken? -Brian -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (Darwin) iD8DBQFASMz60dKNWt3rpSURAgIOAKDLV9tC7fbyRpdk0rgBjvIJyG8WLgCaAzQq wtB/Ty4lKgDj27VPgxx/X3U= =8nbc -END PGP SIGNATURE- - 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: AW: copy all jars/deps of sub-projects with
Jens Zastrow wrote: How can I specifiy the projectDescriptor of deploy:copy-deps ?! does something like below not work ? this worked but only the deps of the file (x.getFile()) are used. but I use in these project.xml files with more deps which a want to be copied too. actually maven:pom seems to not read parent file (parameter useParentPom is false) so you might want to process the parent file as well. something like below : Is there a docu for the ${x.getXXX()} stuff ? source xref and javadoc afaik Thanks Jens Zastrow - 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: copy all jars/deps of sub-projects with
> > > projectDescriptor="${x.getFile()}"/> > > everytime I read something like this on this list, I wonder how you can know > that this es even possible. Where do I have to look to find out, that there > is a property defined "reactorProjects" and that a getFile() assumingly gets > the project file (as a java File object, as String, ... ?) > > Do you all read the jelly scripts for all the plugins to learn what is > possible? I started doing that, but I wonder if there is a better way. indeed thats what i do.. reading the ReactorTag source (or the numerous examples available out there) you can know that if postProcessing is set to true in maven:reactor a variable named reactorProjects is set in the context (http://maven.apache.org/xref/org/apache/maven/jelly/tags/maven/ReactorTag.html#335). reading the deploy plugin you can see that deploy:copy-deps passes the projectDescriptor var to the maven:pom tag (maven_home_local/plugins/maven-deploy-plugin-1.1/plugin.jelly#140) ; also maven:pom accepts a file as parameter (http://maven.apache.org/tags.html#maven:reactor) and Project has a property of type File (http://maven.apache.org/xref/org/apache/maven/project/Project.html#194) so you can jump quickly on the conclusion.. as you can see pretty much of the needed information is available online. ive described here the path i personnally take to discover that. that might seem to be a bit complicate, however it needs much less time than writing this mail (about 1 or 2 minutes), then 1 minute to test (creating a simple project structure for that purpose) the assumptions that have been made (for instance testing that the File property has been correctly set and is available). last, im not sure to really understand what you mean by "read the jelly scripts for all the plugins". i dont think that reading all the plugins are actually quite good (assuming is would make sense to read them *all*), instead i prefer to lazyread them. you can know which plugins are available and what they globally do by looking at the plugin doc, that should be enough.. comments about the "process" described here are welcome. please forgive me if replied a bit out of topic. regards, -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Environemtal Vars
Adam, did you set the env variable prior to retrieving the java_home var ? -- gd DeGraff, Adam wrote: I've tried using Or and neither resolves correctly. Is there a namespace I'm missing, beacause env.xx doesn't seem to work. -Original Message- From: matthew.hawthorne [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 1:47 PM To: Maven Users List Subject: Re: Environemtal Vars DeGraff, Adam wrote: In ant I was able to reference my environment vars via something like ${env.JAVA_HOME} Is there a similar way to do this in Jelly/Maven? The above syntax doesn't produce anything. You could do it in a maven.xml goal the same way that you would do it with Ant. - 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: copy all jars/deps of sub-projects with
Jens Zastrow wrote: I have a project with 4sub-modules and use the reactor to build them. My "project maven.xml" should now copy all module-jars and all dependencies of the modules into a single dir. I tried the but this works only when it used in a "module-maven.xml". After that I tried this: basedir="${basedir}/../" postProcessing="true" includes="*/project.xml" excludes="build/*" banner="Generating Site" ignoreFailures="false"/> How can I specifiy the projectDescriptor of deploy:copy-deps ?! Jens, does something like below not work ? -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error when creating a new goal
Tim Chen wrote: You cant do anything but reboot (I've tried killing every windows process that I could and it still wont work). ProcessExplorer can help looking up and closing handles w/o having to kill the process that created them. its a free win tool available at sysinternals.com. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: handling cyclic dependencies
Parsons, David wrote: Using these dependencies, I have succeeded in getting the maven reactor to build the jars in the correct order, i.e. B-interface; A; B-impl. In order to do so, however, I had to suppress the unit tests for component A from running. This is because they require that the B-impl classes be on the classpath, which is not described in the dependencies (and cannot be, since that would reintroduce a cycle). David, since you're testing A, B-impl shouldnot be required for those tests. so cannot you use some dummy implementations of your interfaces or some kind of simple mocks ? -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CVS NT Repo
Tim, if im not wrong you can use any character you want for the delimiter character (This is from Repository.java : String delimiter = "" + connection.charAt(3); - I just gave it a quick look because i remember ever seeing '|' as the delimiter). Also can using a prefix solve your problem ? (never tried it) -- gd Tim Chen wrote: Stupid CVS NT Repos have connection strings such as: [EMAIL PROTECTED]:d:/CVSREPO This causes report errors: BUILD FAILED File.. file:/C:/Documents and Settings/chengt/.maven/plugins/maven-multiproject-plugin-1.1/ Element... maven:reactor Line.. 69 Column 7 Unable to obtain goal [site] -- file:/C:/Documents and Settings/chengt/.maven/plugins/maven-xdoc-plugin-1.4/:399:9: Invocation of method 'getCvsRoot' in class org.apache.maven.project.Repository threw exception class java.lang.IllegalArgumentException : repository connection string contains more than six tokens Total time: 23 seconds Finished at: Tue Feb 03 14:55:30 EST 2004 Anyone have a way around this? Anyone using cvs nt? -Tim - 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: mavenide on mac os x
Stefan, i dont think theres a "prefered solution". i simply wasnt aware of that macosx issue, so i just looked at maven.home/bin/maven script and this issue is handled like this : TOOLS_JAR="${JAVA_HOME}/lib/tools.jar" if $darwin; then TOOLS_JAR="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/classes.jar" fi ill try to fix this mevenide issue asap. in the mean time if copying win tools.jar in the correct location can make things work i guess this cannot hurt. btw mevenide-user list and mevenide bug tracker is the prefered places for mevenide bugs reporting. thanks for reporting. -- gd Stefan Groschupf wrote: Hi, when i start maven with the mavenide i got this exception: File or url '/System/Library/Frameworks/JavaVM.framework/Home/lib/tools.jar' could not be found java.net.MalformedURLException: no protocol: /System/Library/Frameworks/JavaVM.framework/Home/lib/tools.jar at java.net.URL.(URL.java:579) at java.net.URL.(URL.java:476) at java.net.URL.(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:579) It is a known issue that the mac os x java does not have a tools.jar file. This problem is fixable with different workarounds. (use win tools.jar etc.) However is there any preferred solution? Thanks in advanced. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSL applyTemplates Question
Troy Thibodeaux wrote: [Sorry, I accidentally sent an unfinished message before.] I'm having problems using jsl:applyTemplates in a stylesheet called in a Maven goal. When I use two applyTemplates tags in a row, and both tags contain select attributes using relative xpath, only the first tag is applied. It seems that the processor is losing the context for the second tag and the xpath is not being applied to the current node. When I use absolute xpath in the second applyTemplates, it fires as expected. Using applyTemplates without a select attribute applies all templates as expected as well. But in many cases I want to applyTemplates only to certain child nodes of the current node. I can use forEach instead, but for what I'm doing, that would require much redundant code. in site.jsl (xdoc plugin) we can read the code pasted below. i think this is a fix to the issue you're reporting, not ? [snip] -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven jelly tag and build.properties properties
Ebersole, Steven wrote: actually, my bad. it does not work. it is maven.build.dest that works, not maven.test.dest heres my understanding of it, i may be wrong - correct me if am : maven.build.dest should always be available (core behavorial property), maven.test.dest is being made available by the test plugin, so to look it up we have to use the context of the test plugin.. however, if specified in build.properties, this late property becomes always available. the few tests ive just made tend to confirm it (using both ${maven.test.dest} and ${pom.getPluginContext...) and does work just fine for me, returning the expected result. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven jelly tag and build.properties properties
Ebersole, Steven wrote: but this works for me even without the namespacing: m.t.d = ${maven.test.dest} uh ! right.. it works when it is defined in the properties file.. i forgot your original question.. my bad -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven jelly tag and build.properties properties
Ebersole, Steven wrote: Same error message. Tried using a bunch of different plugin contexts (test, java, idea)... do you "import" the test context by declaring the 'test' namespace ? this works for me : m.t.d = ${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.dest')} -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven jelly tag and build.properties properties
Ebersole, Steven wrote: How is it possible to reference a property defined in one of the maven properties files (specifically the ~/build.properties) in one of the maven jelly tags? The tag I am trying to use is . What I have tried so far is: 1) 2) what if you try path='${pom.getPluginContext("maven-test-plugin").getVariable("maven.test.dest")}' ? -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Style of generated site
Jörg Schaible wrote: Yeah, but wait ... how does xdoc know anything about a css file in a xdoc/style directory (still searching for some docs ...)? Looking into my project, xdoc generates three css files out of nowhere (maven-base, maven-theme, print ... OK, I know they're coming from the plugin's resources). But what I have to do, that a xdoc/style/my.css for my project is working? Is it just locating a file there or must it have the name of onw of the files above? What are the used ids from xdoc that I can assign an own style ... ? Jorg, there is three css used (site.jsl), if im not wrong : o maven-base.css (always) o theme - property maven.xdoc.theme.url, defaults to ${relativePath}/style/maven-theme.css o ${maven.docs.src}/style/project.css -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple remote repsitories + proxy settings
Eric, you might want to look at MavenProxy. Ive never used it but it seems you can specify proxy policies per repository. http://wiki.codehaus.org/maven/MavenProxy -- gd Eric Giguere wrote: Hi all A quick one. We're behind a firewall and use a proxy server to go on the Net. And we have a "remote" repository for jars that is on our internal network. Lets say I want to still use the one at ibiblio.org as a fallback repository. I know how to configure multiple remote repositories but, is it possible to specify proxy settings for lets say only the second remote repository in the list? I ask because if I set proxy settings, I can access the default repository, but not our local one. If I don't set proxy properties, then its the fallback (ibiblio.org) that becomes innaccessible because of our proxy server. Is there a work around? thx for any help - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ClassNotFoundException help.
Bartel Runeaxe wrote: Hi, I am new to Maven and got the following error when I attempt to attain a "clean" goal: maven clean:clean Thanks for any help. java.lang.ClassNotFoundException: log adding commons-logging (used by jelly:log taglib) to your dependency list should fix your problem. however if no custom jelly script is being used, then there is probably a more annoying problem than a missing dependency. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject and jelly scripting
Hahne, Ronald wrote: I need to write a jelly script at the top level of the multiproject which will optain the POM id and currentVersion of each of the subordinate projects. Can anyone tell how to obtain this info? you could iterate through all maven.multiproject.includes and instantiate a pom for each subproject : ${maven.multiproject.includes} id: ${currentPom.id} version : ${currentPom.currentVersion} -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jelly expression
Nicolas, i think that the 'and' operator (lower case) does work also : ... -- gd Nicolas De Loof wrote: Sorry, it works with && I got some errors elsewhere. Nico. - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Monday, January 05, 2004 4:49 PM Subject: jelly expression I'm writing a maven plugin, and I need in the jelly script to test two variables to be empty : ... But I need to escape the "&". If I use "&" it doesn't works. How can I set an AND operator in jelly expression language ? Nico. - 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: Invoking a goal in a single subproject
Jefferson K . French wrote: Is that the best way, or is there a tag akin to "attainGoal in subproject". there may be some better way but something like this works with maven-1.0-rc1: -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where and how to set environment variables?
[EMAIL PROTECTED] wrote: Hi gd, would I add the below two lines before my Then I'm taking that I can use ${java.home} within the javacc tag. i have never used javacc, although from the ant task description this seems valid best thing is to try it out.. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Last Sequential File
Jake Ewerdt wrote: I've looked through ant, jelly, and maven documentation, but I couldn't find an easier way to do this. Any ideas? Perhaps you could create a Jelly Tag with one attribute - the directory to look in - that would grab the date thanks a FileFilter and then put it in the context ? -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where and how to set environment variables?
[EMAIL PROTECTED] wrote: Hi, I was wondering, where and how would I set environment variables within Maven? For example, I'm trying to convert the following task attribute within my 'maven.xml': something like that should do it : -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding kawa to repository.
Eric, below are some pointers. Eric Merritt wrote: Is there any chance of getting the kawa java-based scheme added to the repository? http://maven.apache.org/repository-upload.html If its not possible to get this added, how would I set up maven to access a non-repository jar as a dependency? http://maven.apache.org/reference/user-guide.html#Overriding%20Stated%20Dependencies -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PostGoal variable context
Stephen, jar:snapshot (jar-plugin 1.3) calls maven:snapshot that puts a variable named snapshotSignature into the plugin context. then it sets maven.final.name to snapshotSignature. so you can look it up by querying the plugin context : maven.final.name: ${pom.getPluginContext('maven-jar-plugin').findVariable('maven.final.name')}.jar works under 1.0-rc1 with maven-jar-plugin-1.3 -- gd Stephen Colebourne wrote: I am trying to build another jar file as part of the main jar build (commons collections). The following extract maven xml works fine for a normal build. When I do jar:snapshot however, the maven.build.name is reset from the snapshot to the original between the actual jar:jar goal and the postGoal. As a result, the unjar fails. This isn't very useful. Am I doing something wrong?? Stephen - 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: Configuring the remote repository?
maven.repo.remote property (comma separated list) : maven.repo.remote=http://ibiblio.org/maven,http://your.server.1/,http://maven-plugins.sf.net/ http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties -- gd [EMAIL PROTECTED] wrote: Hi, how does one configure the location of the remote repositoty? Thanks, -Conrad - 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: PomTag fails if project.xml references a DTD
David Zeleznik wrote: I have attached an extremely simple test case. Just unzip and try "maven clean". The error I get is: i have tried your test case because im experimenting similar issues with entity references (relative paths not resolved in a multiproject context). if i modify slighty your test case it doesnot fail anymore. the trick is to pass the absolute path to the maven pom tag. in your case : my:test: [echo] Reading other project... [echo] otherPom.id = other-project:other-project [echo] Finished reading other project... hope it helps. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to change Look and Feel?
Verma, Nitin (GECP, OTHER, 529706) wrote: Any links to the documentation for changing all the look and fell? 1. Changing Colors/Fonts you should provide your own xdoc/stylesheets/maven.css (is there a property for this file?) or setting one of the prop listed here : http://maven.apache.org/reference/plugins/xdoc/properties.html 2. Changing Items under "Project Documentation" Menu i may be wrong but i dont think this is possible yet. you can altho customize the reports (http://maven.apache.org/reference/user-guide.html#Reports) and also choose to not display the project documentation at all (maven.xdoc.includeProjectDocumentation=no) 3. project.xml let's you have Company Logo .. but no text appending options. you can provide your own site.jsl. maven.xdoc.jsl=your_own_template.jsl please have a look at : http://maven.apache.org/reference/user-guide.html#Site%20Generation -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: custom site.jsl
perhaps you could try to add the file: protocol before the path : maven.xdoc.jsl=file:${basedir}/xdocs/site.jsl thats what i use and it used to work. -- gd Rajeev Kaul wrote: I am trying to use a custom site.jsl for my project. If I try to use the following property to set it for my project: maven.xdoc.jsl=${basedir}/xdocs/site.jsl I get the following error during site generation: BUILD FAILED File.. file:/E:/maven/maven-1.0-rc2/plugins/maven-xdoc-plugin-1.5-SNAPSHOT/ Element... j:include Line.. 330 Column 54 null:-1:-1: Could not parse Jelly script However, if I replace the site.jsl in the xdoc plugin resources directory, it works fine. Rajeev Kaul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven plugin for Eclipse
Jonathan, theres mevenide.sf.net that aims to integrate maven into eclipse. Jeff has done a great job recently and a M6-compatible version should be released in the near future. -- gd Jonathan Hawkes wrote: Hey all, I've noticed some documentation on the Maven site concerning Eclipse. Is there a Maven plugin for Eclipse yet? Thanks! Jonathan Hawkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven eclipse plugin
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: maven eclipse plugin
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: How do I get java:compile to automatically add dependencies to classpath?
Chad Woolley wrote: bcel 5.1 you should try the following : bcel bcel 5.1 -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I include one xdoc from another?
Brian Burridge wrote: Is there a way to include one xdoc file (../../xdoc/test.xml) from another (subtest.xml)? not sure if this is exactly what you want to achieve but you could use external entitities in your pom that would point to the other xdocs. i do that and havent experimented any troubles so far, however in some cases there seem to be some problems - i havent had the chance to mimic the pc configuration on which the problems have occured so i cannot tell much more about those problems. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Failed to download
Guillaume Barré wrote: Error retrieving artifact from [http://www.ibiblio.org/maven/dom4j/jars/dom4j-1. 3.jar]: java.net.ConnectException: Connection timed out: connect Arent you behind a firewall ? if yes you can try to use ntlm proxy. ive used it successfully with maven some months ago to bypass connection problems. (http://www.geocities.com/rozmanov/ntlm/) -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Properties scope between plugin
[EMAIL PROTECTED] wrote: When defining propert "a.b" in plugin aPlugin, then using the bPlugin, is it possible to access default properties defined in aPlugin (e.g. ${a.b})? I tried, and i faild. Is there a workaround? workaround for what ? what did you try ? something like this should work :from the bPlugin plugin.jelly : or (if the tag is included in rc1) : please note that ive never tested the later. example of the later @ : http://www.mail-archive.com/[EMAIL PROTECTED]/msg06094.html -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need help getting jcoverage to work
vlad, i am using eclipse as well and ive encountered some problem with jcoverage too. i cannot retell precisely what the symptoms were but from what i remember, the main issue was that the testcases were instrumented along with the application classes (and thus the stats were biased). im aware that this problem is quite different from yours, altho i reply in hope it could lead you to some solution. the problem faced came from the fact that i didnt specify different output folders for test and app classes (in eclipse project propeties). also before building the site (or running the report for that matters) the target/ directory wasnot cleaned. so, as jcoverage plugin instruments all classes under ${maven.build.dest}, testcases were instrumented as well. perhaps your problem is related to an eclipse configuration thingie as was mine ? not sure that will help but i hope it will at least give some ideas.. -- gd VLADIMIR TERZIC wrote: i am using eclipse with maven and i get errors when i try to run jcoverage on my project. (i guess i should mention that i am able to run clover maven task just fine) i have my source in src/java and my test source code in src/test i don't have any jcoverage properties set and when i try to run jcoverage only classes from /src/java directory get instrumented (nothing in the package structure bellow). at that point i get IO exception for coverage.xml file missing in target/jcoverage i would appreciate some help ;-) thanks vlad - 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: HELP: collapsible items
Scott, in order for it too work href should be absolute (begin with '/') (for both parent and child items if i remember correctly) : -- gd Scott Tavares wrote: Hi all, I'm trying to create collapsible items as stated in: http://maven.apache.org/reference/plugins/xdoc/faq.html#navigation-collapse this is navigation file (which is only being used for testing at the moment): href="reference-documentation.html"/> This prduces the + glif but when I click on it does not expand. Check it out your self: http://www.thecityside.com/infacts-web-1.0-site/project-charter.html Any help will be great appreciated. -Scott- - 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]