Source code analyzer for unused method detection?
Hi, does anyone know of a code analyzer which can detect unused methods? The PMD plugin only reports on unused private methods - I'm looking for one which can also do public or protected methods. Thanks, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: regarding id/artifactId/groupId in dependency
Actually, the syntax is deprecated. It was the old way of doing things, and ultimately didn't provide the grouping mechanisms desired by some of the more popular framework projects (read Jelly, etc.). I think it will still work, but I don't know for how long, since I've heard rumblings about another overhaul to the dependency structures in the future. Using deprecation once removed is one thing, but two is pretty undesirable... Cheers, John On Sat, 2003-10-04 at 14:40, Paul Libbrecht wrote: > > Jason van Zyl wrote: > > > > foo > > bar > > 1.0 > > > > > > Is the way to declare dependencies. > > Cool. > > Do I interpret correctly that: > > > blop > 13.123231 > > > Is a kind of shortcut for the following ? > > > blop > blop > 13.123231 > > > > at least it seems so in b10. > > Paul > > > - > 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: No records in Change Log, File Activity and Developer Activity reports, anything wrong?
It works. Thank you Andy :-) Regards Joel Guo -Original Message- From: Andy Jefferson [mailto:[EMAIL PROTECTED] Sent: Saturday, October 04, 2003 12:59 AM To: Maven Users List Subject: Re: No records in Change Log, File Activity and Developer Activity reports, anything wrong? On Saturday 04 Oct 2003 06:52, [EMAIL PROTECTED] wrote: > Account is OK, SSH works well. > Should maven.username be anonymous or my account name? You need to do a cvs login (manually) first ... and *then* run these reports. If that doesnt help, try posting your project.xml so people can understand a bit better the context of your question. -- Andy - 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]
Bit more project-data... where should it go ?
Hi, I am producing applets with a little more XML-encoded data. This data is parsed in my maven.xml and, currently, the data is also in the maven.xml... what should be the best place to put such an XML ? I don't like too much putting it in the project.xml as long as the schema would complain to me... Here is the data which allows me to copy dependencies and create a little html file to test-chew on. These functionalities could go into a plugin one day (I would be happy to contribute this), but I guess it's another question. width="300" height="200" dependencies="tests,Jome,inria-openmath,commons-logging"> width="300" height="200" dependencies="tests,commons-logging"> Thanks Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Input from Maven Users
I am now converted to Maven and I have partially converted our largest codebase to maven (still as a single project), it is still mostly based on ant. (the project is named ActiveMath, http://www.activemath.org/). The funny thing that happened is that people were afraid that I remove the ant building. Ant has gone into a real stable well documented thing that it will take some fame to maven to become really loved by everyone (including probably good IDE integration). For some of the tasks, however, using Maven is just ten thousand times better. A good example was a merge of all the jars... For newer smaller projects, maven is simply superiour. In these projects, I was, previously symbolic-linking to dependencies in the big project... not really portable... Maybe it helps answering to these answers... All in all, the transition can be done pretty smoothly... Paul Timothy Fisher wrote: Pat, Based on your experience with Maven: - would you recommend its use to others? - Under what circumstances would you recommend its use? - In what circumstances would you recommending avoiding Maven? Tim Bateman Pat UK MYT <[EMAIL PROTECTED]> wrote: The multiproject report for divergent dependencies has been a life saver in a 10+ project environment. The next step is getting POM multiple inheritance. -Original Message- From: Robles, Rogelio [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 20:22 To: 'Maven Users List' Subject: RE: Input from Maven Users -Original Message- From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] ... +) Maintaining the JAR dependencies and versions across more than 10 subprojects is a pain in the ass. Nothing wrong with MAVEN here but I'm still thinking of a maven plugin doing the stuff from the command line such us looking for conflicting versions of a JAR and replacing the version number of a JAR across multiple projects ... I think this is the next step for effective POM mgmt in a mavenized environment with dozens of projects: * merges POMs generating the minimum common denominator POM to be used as the parent POM for reactor based projects, I have done this manually and it's slooow * diffs between POMs, something like: diff -u pomx pomy > pom.diff (in pom format) Rogelio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: regarding id/artifactId/groupId in dependency
Jason van Zyl wrote: foo bar 1.0 Is the way to declare dependencies. Cool. Do I interpret correctly that: blop 13.123231 Is a kind of shortcut for the following ? blop blop 13.123231 at least it seems so in b10. Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to change width of nav column? (xdoc)
In a mail from 22:24 -0700 10/3/03 khote wrote: After this suggestion and Joel's about doing my own site.jsl, I decided to inspect the existing site.jsl. I found out that what is described below can be accomplished by creating a style override in style/project.css. Just adding: #navcolumn { width: 250px; } in there will do the trick. For simple layout changes like this, it is preferred to do it this way, as modifying the site.jsl to create one's own is much more complex. If you look in the .css styles used in the xdoc, your navcolum takes place inside a you can provide your own stylesheet, keeping in xdocs/style/yourstylesheet.css for example, and override what leftcol means: give it a different width, see if that works. Look in the docs directory that is generated by xdoc, look at the stylesheets in the style subdirectory: maven.css, tigris.css, and some others. If xdoc finds a style subdirectory it copies over the contents, invoking your stylesheet last in the include list. So your settings can override the stuff in maven.css I use a person stylesheet in this manner, but only for other kinds of things. I don't know if (for example) #leftcol { width: 250px; } will override the td width="20%" , but it's worth a try. - Original Message - From: "Andy Jefferson" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 10:12 PM Subject: Re: How to change width of nav column? (xdoc) On Saturday 04 Oct 2003 01:14, Dolf Starreveld wrote: > At 16:57 -0700 10/3/03, Alexey Krasnoriadtsev spoke thusly: > > I could, but the drawback is that on every update of the plugin I > would have to do this again. In addition, it forces me to use the > same width on every project. > > >You Can always hack the site.jsl, that is in the > >maven-xdoc-plugin/plugin-resources Better would be to update the xdoc plugin making that attribute a parameter that the user can input ... so then people can specify it as a parameter. -- Andy - 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: StatCVS
Askren, Jay wrote: I upgraded my version of maven to release candidate 1 and StatCVS stopped working. When I run maven, I get the following. Any ideas why it isn't working. I was getting the same error when I did not specify the project/repository/url element in project.xml. This element should point to where the web access to CVS is available. If you don't have CVS web access, just put anything there -- it still works. The problem is in line 52 of StatCVS's plugin.jelly file, which says: So, alternatively to the above, you could also delete this line. Cheers, Klemen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
StatCVS
I upgraded my version of maven to release candidate 1 and StatCVS stopped working. When I run maven, I get the following. Any ideas why it isn't working. Jay C:\Eclipse\workspace\ERAWeb>maven site:generate __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Attempting to download maven-SNAPSHOT.jar. site: xdoc:register-reports: statcvs:init: maven-statcvs-plugin:register: maven-jdepend-plugin:register: maven-simian-plugin:register: maven-pmd-plugin:register: maven-checkstyle-plugin:register: maven-changelog-plugin:register: maven-changes-plugin:register: maven-file-activity-plugin:register: maven-developer-activity-plugin:register: maven-junit-report-plugin:register: maven-clover-plugin:register: maven-jcoverage-plugin:register: maven-tasklist-plugin:register: maven-javadoc-plugin:register: maven-jxr-plugin:register: site:run-reports: [echo] Generating the StatCvs Report... statcvs:init: statcvs:generate: [echo] fetching cvs logs... [cvs] Using cvs passfile: C:\Documents and Settings\Owner\.cvspass [java] StatCvs-XML - CVS statistics generation [java] [java] Usage: java -jar statcvs-xml-0.9.0.jar [options] [java] [java] Required parameters: [java] Cannot recognize web repository type. Please select it explicitly [java] path to the cvs logfile of the module [java] path to the directory of the checked out module [java] [java] Some options: [java] -version print the version information and exit [java] -output-dir directory where HTML suite will be saved [java] -include include only files matching pattern, e.g. **/*.c ;**/*.h [java] -exclude exclude matching files, e.g. tests/**;docs/** [java] -title Project title to be used in reports [java] -weburl integrate with web repository installation at [java] -verbose print extra progress information [java] -output-suite [class] use the xml renderer [java] -use-history use history file for proper loc counts [java] -generate-history regenerates history file (use with 'use-history' ) [java] [java] If statcvs cannot recognize the type of your web repository, please u se the [java] following switches: [java] -viewcvs integrate with viewcvs installation at [java] -cvsweb integrate with cvsweb installation at [java] -choraintegrate with chora installation at [java] [java] [java] [ERROR] Java Result: 1 statcvs: statcvs:report: [echo] Generating the Metrics... maven-jdepend-plugin:report: Overriding previous definition of reference to clover.classpath java:prepare-filesystem: java:compile: [echo] Compiling to C:\Eclipse\workspace\ERAWeb/target/classes [echo] Generating the Simian Report...
properties in repository
Hi all, has it ever been discussed to include a section in the repository for properties? I find this idea quite nice. It would be possible to have a dependency (or a dedicated resources section for this purpose) to properties like log4j.properties/checkstyle.xml or even project wide common properties for layout and report settings. This solves some of the issues which wrecks my brain. I have several individual projects in the repository: CVS | -- ProjectA -- ProjectB -- master Each of them is in general a multiproject. All projects have some settings in common like the ones mentioned before (log4j, checkstyle, layout, report settings). Right now, I have a master configuration directory which contains these properties. Thus developers have to checkout their project they are working on and additionally the master configuration directory. This would not be the case if there were the possibility to have dependencies/resources to properties files. If there are better solutions for what I try to achieve, please let me know. Cheers, Dominik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sourceModifications
ERROR org.apache.commons.jelly.tags.ant.AntTag - The task doesn't support the nested "available" element. A bug in the java-plugin, I filed http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-891 has anybody else encountered this, and more specifically: fixed it? - Original Message - From: "khote" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Saturday, October 04, 2003 5:21 AM Subject: sourceModifications > I'm looking for some examples on how to use the > element in the project descriptor. > It seems that it is replacing , rather than adding to it. > What am I doing wrong? > > > src/java > > > > > com.chronicle.om.Volume > > > > > > > > > > > > - > 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]
sourceModifications
I'm looking for some examples on how to use the element in the project descriptor. It seems that it is replacing , rather than adding to it. What am I doing wrong? src/java com.chronicle.om.Volume - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Powered by additions
On Thursday 02 October 2003 12:16 am, [EMAIL PROTECTED] wrote: > Done. Thankyou Tim Pizey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: junitreport and xalan
seems that setting the system property doesn't work either: ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apac he.xalan.processor.TransformerFactoryImpl')} still gives this error: BUILD FAILED File.. file:/C:/home/project/v2/stroll/ Element... ant:junitreport Line.. 49 Column 42 Could not find xalan2 nor xalan1 in the classpath. Check http://xml.apache.org/xalan-j > -Original Message- > From: Jamie McCrindle [mailto:[EMAIL PROTECTED] > Sent: 03 October 2003 11:06 > To: 'Maven Users List' > Subject: junitreport and xalan > > > hi, > > i'm trying to use ant:junitreport to generate test reports instead of > maven-junit-report, because it displays the more information > about the test > failures. i'm using this in my maven.xml: > > > > > > >todir="${report.dir}/html" /> > > > > but it fails because junitreport claims that Xalan 1 or 2 isn't on the > classpath. I've tried putting it into %MAVEN_HOME%\lib and > \lib\endorsed but > that didn't work. I've tried putting it in as a project > dependency and that > didn't work either. I won't be able to convince everyone in > our team to put > Xalan on their classpath. Does anyone have any other suggestions? > > attached would be my maven log except that our overenthusiastic virus > scanner thinks that it's a vbscript virus *sigh*. > > regards, > jamie. > > > __ > __ > > This e-mail message (including any attachment) is intended > only for the personal > use of the recipient(s) named above. This message is > confidential and may be > legally privileged. If you are not an intended recipient, > you may not review, copy or > distribute this message. If you have received this > communication in error, please notify > us immediately by e-mail and delete the original message. > > Any views or opinions expressed in this message are those of > the author only. > Furthermore, this message (including any attachment) does not > create any legally > binding rights or obligations whatsoever, which may only be > created by the exchange > of hard copy documents signed by a duly authorised > representative of Hutchison > 3G UK Limited. > __ > __ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This e-mail message (including any attachment) is intended only for the personal use of the recipient(s) named above. This message is confidential and may be legally privileged. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify us immediately by e-mail and delete the original message. Any views or opinions expressed in this message are those of the author only. Furthermore, this message (including any attachment) does not create any legally binding rights or obligations whatsoever, which may only be created by the exchange of hard copy documents signed by a duly authorised representative of Hutchison 3G UK Limited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Insert / include contents of files as in xdoc
Hi, I would like to insert the contents of some files in the xdoc documentation. the files I mean are in located somewhere in the source tree. Wat I would like to do is something like: Tomcat Configuration Is this possible? Regards, Joel -- Joël Wijngaarde - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]