Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 16420 invoked from network); 12 Jul 2006 17:18:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 17:18:05 -0000 Received: (qmail 62364 invoked by uid 500); 12 Jul 2006 17:18:03 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 62325 invoked by uid 500); 12 Jul 2006 17:18:03 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 62313 invoked by uid 500); 12 Jul 2006 17:18:03 -0000 Delivered-To: apmail-incubator-directory-dev@incubator.apache.org Received: (qmail 62310 invoked by uid 99); 12 Jul 2006 17:18:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 10:18:03 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.73.178.213] (HELO web60725.mail.yahoo.com) (209.73.178.213) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Jul 2006 10:18:01 -0700 Received: (qmail 53634 invoked by uid 60001); 12 Jul 2006 17:17:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yZs2IEm3BqGdqzFVN1dfHvoinGT+/3mueNSOTrjtOtGW6WhsjrGg3EvLKjiQnhaLGNSNvISMvo7s+MR242prA90GWVsz9w5uowC9YRJkkPPMzte/d+SvS6GGnfjmUIO8coiemgDA6stm5s9Hy36AIM7EZdo/HC5qq7GHAiTRKzo= ; Message-ID: <20060712171737.53632.qmail@web60725.mail.yahoo.com> Received: from [67.173.89.3] by web60725.mail.yahoo.com via HTTP; Wed, 12 Jul 2006 10:17:37 PDT Date: Wed, 12 Jul 2006 10:17:37 -0700 (PDT) From: Ole Ersoy Subject: Re: [jira] Commented: (DIR-188) Maven Archetype for Performance Testing To: "Alex Karasulu \(JIRA\)" In-Reply-To: <25925295.1152722010952.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes I know - Very impressive isn't it? OK - Somehow I managed to put archetype.xml descriptor is in src/main/resources/META-INF/maven/archetype.xml and it should be in src/main/resources/META-INF/archetype.xml So if you just move the archetype.xml file to META-INF and delete the maven directory, then run mvn clean install and then mvn archetype:create -DarchetypeVersion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.ads.archetypes -DgroupId=mavenComplainsIfWeDontGiveOneButWeDontNeedOne -DarchetypeArtifactId=ads.performance.testing -DartifactId=ads.sample.performance.testing It should work. --- "Alex Karasulu (JIRA)" wrote: > [ > http://issues.apache.org/jira/browse/DIR-188?page=comments#action_12420668 > ] > > Alex Karasulu commented on DIR-188: > ----------------------------------- > > Failed to generate the new project. Here's my > output: > > akarasulu@newton:~/projects/apache/directory/sandbox/oersoy$ > mvn archetype:create -DarchetypeVersion=1.0-SNAPSHOT > -DarchetypeGroupId=org.apache.ads.archetypes > -DgroupId=mavenComplainsIfWeDontGiveOneButWeDontNeedOne > -DarchetypeArtifactId=ads.performance.testing > -DartifactId=ads.sample.performance.testing > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: > 'archetype'. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Maven Default Project > [INFO] task-segment: [archetype:create] > (aggregator-style) > [INFO] > ---------------------------------------------------------------------------- > [INFO] Setting property: > classpath.resource.loader.class => > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: resource.loader => > 'classpath'. > [INFO] > ************************************************************** > [INFO] Starting Jakarta Velocity v1.4 > [INFO] RuntimeInstance initializing. > [INFO] Default Properties File: > org/apache/velocity/runtime/defaults/velocity.properties > [INFO] Default ResourceManager initializing. (class > org.apache.velocity.runtime.resource.ResourceManagerImpl) > [INFO] Resource Loader Instantiated: > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader > [INFO] ClasspathResourceLoader : initialization > starting. > [INFO] ClasspathResourceLoader : initialization > complete. > [INFO] ResourceCache : initialized. (class > org.apache.velocity.runtime.resource.ResourceCacheImpl) > [INFO] Default ResourceManager initialization > complete. > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Literal > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Macro > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Parse > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Include > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Foreach > [INFO] Created: 20 parsers. > [INFO] Velocimacro : initialization starting. > [INFO] Velocimacro : adding VMs from VM library > template : VM_global_library.vm > [ERROR] ResourceManager : unable to find resource > 'VM_global_library.vm' in any resource loader. > [INFO] Velocimacro : error using VM library > template VM_global_library.vm : > org.apache.velocity.exception.ResourceNotFoundException: > Unable to find resource 'VM_global_library.vm' > [INFO] Velocimacro : VM library template macro > registration complete. > [INFO] Velocimacro : allowInline = true : VMs can be > defined inline in templates[INFO] Velocimacro : > allowInlineToOverride = false : VMs defined inline > may NOT replace previous VM definitions > [INFO] Velocimacro : allowInlineLocal = false : VMs > defined inline will be global in scope if allowed. > [INFO] Velocimacro : messages on : VM system will > output logging messages > [INFO] Velocimacro : autoload off : VM system will > not automatically reload global library macros > [INFO] Velocimacro : initialization complete. > [INFO] Velocity successfully started. > [INFO] [archetype:create] > [INFO] Defaulting package to group ID: > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > [INFO] > ---------------------------------------------------------------------------- > [INFO] Using following parameters for creating > Archetype: ads.performance.testing:1.0-SNAPSHOT > [INFO] > ---------------------------------------------------------------------------- > [INFO] Parameter: groupId, Value: > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > [INFO] Parameter: outputDirectory, Value: > /home/akarasulu/projects/apache/directory/sandbox/oersoy/ads.sample.performance.testing > [INFO] Parameter: packageName, Value: > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > [INFO] Parameter: package, Value: > mavenComplainsIfWeDontGiveOneButWeDontNeedOne > [INFO] Parameter: version, Value: 1.0-SNAPSHOT > [INFO] Parameter: artifactId, Value: > ads.sample.performance.testing > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error creating from archetype > > Embedded error: Error reading the > META-INF/archetype.xml descriptor. > The META-INF/archetype.xml descriptor cannot be > found. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e > switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Wed Jul 12 12:33:23 EDT 2006 > [INFO] Final Memory: 4M/7M > [INFO] > ------------------------------------------------------------------------ > > > > Maven Archetype for Performance Testing > > --------------------------------------- > > > > Key: DIR-188 > > URL: > http://issues.apache.org/jira/browse/DIR-188 > > Project: Directory > > Type: New Feature > > > Environment: Java > > Reporter: Ole Ersoy > > Assignee: Alex Karasulu > > Priority: Minor > > Attachments: ads.performance.testing.zip, > documentation.apt > > > > OK - Here's the ADS Performance Testing archetype > > start (server.xml and performance.ldif need data). > > For this to work maven has to be installed of > coarse. > > Just unzip, cd into ads.performance.testing and > type > > maven install > > The archetype is now installed in your local maven > > repository. > > For the documentation on how this archetype was > > created see the directory > > src/site/apt/documentation. > > This is the documentation in apt format. > > For the html version see the directory > > target/site/documentation.html > > Maven generated this file from the apt document. > > Now run this command: > > mvn archetype:create > -DarchetypeVersion=1.0-SNAPSHOT > -DarchetypeGroupId=org.apache.ads.archetypes > -DgroupId=mavenComplainsIfWeDontGiveOneButWeDontNeedOne > -DarchetypeArtifactId=ads.performance.testing > -DartifactId=ads.sample.performance.testing > > This will create the project > > ads.sample.performance.testing > > cd into it and type mvn eclipse:eclipse > > Now you can import it into eclipse. > > There's a todo in the documentation. > > This is just the baseline starting point I talked > > about in the other emails. > > One future enhancement that could easily be added > is a > > directory containing a configuration file for > > generating the performance.ldif file. Once the > > documentation is reviewed, everyone should know > how to > > add that. > > Cheers, > > - Ole > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of > the administrators: > > http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com