Thank you.. my settings.xml was name incorrectly...hence going to default repo1.

Regards,

Manoj


>
>From: Jian Fang <[email protected]>
>To: [email protected]
>Sent: Tuesday, July 14, 2009 1:24:11 PM
>Subject: Re: AOST - Beginner
>
>>BTW, 0.7.0 snapshot may have not been uploaded. You better use the 0.6.0 
>>release.
>
>
>On Tue, Jul 14, 2009 at 4:22 PM, Jian Fang <[email protected]> wrote:
>
>Since Tellurium artifacts are hosted on Kungfuters.org, not repo1.maven.org, 
>You need to add the Kungfuters.org repositories 
>>
>>
>>to your HOME/.m2/settings.xml or you project super POM file, i.e.,
>>
>>                 <repository>  
>>                    <id>kungfuters-public-snapshots-repo</id>
>>
>>
>>                    <name>Kungfuters.org Public Snapshot Repository</name>
>>                    <releases>          
>>
>>                        <enabled>false</enabled>
>>                    </releases>         
>>
>>                    <snapshots>         
>>                        <enabled>true</enabled>
>>
>>                    </snapshots>        
>>                    
>> <url>http://kungfuters.org/nexus/content/repositories/snapshots</url>
>>
>>
>>                </repository>   
>>                <repository>    
>>                    <id>kungfuters-public-releases-repo</id>
>>
>>
>>                    <name>Kungfuters.org Public Releases Repository</name>
>>                    <releases>          
>>
>>                        <enabled>true</enabled>
>>                    </releases>         
>>
>>                    <snapshots>         
>>                        <enabled>false</enabled>
>>
>>                    </snapshots>        
>>                    
>> <url>http://kungfuters.org/nexus/content/repositories/releases</url>
>>
>>
>>                </repository>   
>>Alternatively, you can specify the Maven repository directly in Maven command 
>>without the above step.
>>
>>For example, to use 0.6.0 release, use the following command,
>>
>>
>>mvn archetype:create -DgroupId=your_group_id -DartifactId=your_artifact_id 
>>-DarchetypeArtifactId=tellurium-junit-archetype -DarchetypeGroupId=tellurium 
>>-DarchetypeVersion=0.6.0-DarchetypeRepository=http://kungfuters.org/nexus/content/repositories/releases
>>
>>Do the same for the 0.7.0 snapshot repo.
>>
>>Thanks,
>>
>>Jian
>>
>>
>>
>>On Tue, Jul 14, 2009 at 4:16 PM, Manoj Chavan <[email protected]> wrote:
>>
>>>>>Hi,
>>>>>>  I am trying to create a new project on a different machine and running 
>>>>>> into problems with archetype versions.
>>>Below is the dump from the session.. I tried version 0.6.0 and 
>>>0.7.0-SNAPSHOT i keep getting the NotFoundException.
>>>
>>>Regards,
>>>
>>>Manoj
>>>
>>>
>>>D:\workspace>mvn archetype:create -DgroupId=example -DartifactId=demo 
>>>-Darchetyp
>>>eArtifactId=tellurium-junit-archetype -DarchetypeGroupId=tellurium 
>>>-DarchetypeVe
>>>rsion=0.7.0
>>>>>>
>>>[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: velocimacro.messages.on => 'false'.
>>>[INFO] Setting property: resource.loader => 'classpath'.
>>>[INFO] Setting property: resource.manager.logwhenfound => 'false'.
>>>>>>
>>>[INFO] [archetype:create]
>>>[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
>>>[INFO] Defaulting package to group ID: example
>>>Downloading: 
>>>http://repo1.maven.org/maven2/tellurium/tellurium-junit-archetype/0
>>>>>>
>>>.7.0/tellurium-junit-archetype-0.7.0.jar
>>>[INFO] 
>>>------------------------------------------------------------------------
>>>[ERROR] BUILD ERROR
>>>[INFO]
>>> ------------------------------------------------------------------------
>>>[INFO] Error creating from archetype
>>>
>>>Embedded error: 
>>>org.apache.maven.archetype.downloader.DownloadNotFoundException:
>>> Requested download does not exist.
>>>>>>
>>>Unable to download the artifact from any repository
>>>[INFO] 
>>>------------------------------------------------------------------------
>>>[INFO] For more information, run Maven with the -e switch
>>>[INFO] 
>>>------------------------------------------------------------------------
>>>>>>
>>>[INFO] Total time: 5 seconds
>>>[INFO] Finished at: Tue Jul 14 13:13:14 PDT 2009
>>>[INFO] Final Memory: 8M/14M
>>>[INFO] 
>>>------------------------------------------------------------------------
>>>
>>>
>>>>
>>>>From: Jian Fang <[email protected]>
>>>>To: [email protected]
>>>>Sent: Wednesday, May 13, 2009 2:01:25 PM
>>>>Subject: Re: AOST - Beginner
>>>>
>>>>
>>>>>>>>Sounds like a Groovy version problem. Could you try Groovy 1.6.0 first?
>>>>
>>>>The best way to create Tellurium project is to use Tellurium Maven 
>>>>archetypes, please see
>>>>
>>>>http://code.google.com/p/aost/wiki/TelluriumMavenArchetypes
>>>>
>>>>for details. The generated project includes a Tellurium test case for 
>>>>Google start page.
>>>>
>>>>If you are not familiar with Maven, you can download one of our Reference 
>>>>projects. 
>>>>
>>>>Or you can download the demo file for the presentation "10 minutes to 
>>>>Tellurium" from
>>>>
>>>>http://tellurium-users.googlegroups.com/web/demo.tar.gz?gda=iDKIRz0AAAD5mhXrH3CK0rVx4StVj0LYX-G77OBBcii9dCDKObpTUBlX3Fx9UEqM2hr2qeRv5GDlNv--OykrTYJH3lVGu2Z5&gsc=gTmdLSEAAAA1VzjU--gqc9_cubhWdIxHTSGPmsFZFSPyaHoWbGfcNUzfKN-m9S9niuHrq-IEXAE
>>>>
>>>>Here is the introduction of the demo project
>>>>
>>>>http://code.google.com/p/aost/wiki/TenMinutesToTellurium
>>>>
>>>>>>>>
>>>>Let us know if you still have problem to compile.
>>>>
>>>>Thanks,
>>>>
>>>>Jian
>>>>
>>>>
>>>>On Wed, May 13, 2009 at 4:52 PM, poweroftesting <[email protected]> 
>>>>wrote:
>>>>
>>>>
>>>>>>>>>>Hi,
>>>>>
>>>>>>>>>>   I am a beginner to Tellurium but am a Selenium user, I am doing
>>>>>>>>>>something fundamentally wrong
>>>>>>>>>>trying to script Tellurium tests.
>>>>>
>>>>>>>>>>   Where can I find some complete sample code for creating Tellurium
>>>>>>>>>>Test cases?
>>>>>>>>>>I am using Eclipse IDE to develop my tests. I am able to develop
>>>>>>>>>>Selenium Tests using JUnit.
>>>>>>>>>>But when I create GoogleStartPage.java I get syntax errors. My source
>>>>>>>>>>is below (taken from the
>>>>>>>>>>project home). Some of the errors I have documented in the source
>>>>>>>>>>below as comments.
>>>>>>>>>>I am using tellurium-core.0.6.0.RC1.jar in my class path. Any help is
>>>>>>>>>>greatly appreciated.
>>>>>
>>>>>>>>>>Regards,
>>>>>
>>>>>>>>>>Manoj
>>>>>
>>>>>>>>>>---------------------------------------------
>>>>>>>>>>GoogleStartPage.java-------------------------------------------------
>>>>>
>>>>>
>>>>>>>>>>import org.tellurium.dsl.DslContext;
>>>>>
>>>>>>>>>>class GoogleStartPage extends DslContext
>>>>>>>>>>{                                // I am groovy-1.6.3.jar in class
>>>>>>>>>>path and it
>>>>>>>>>>                                                                      
>>>>>>>>>>                           //
>>>>>>>>>>wants me to declare this class as abstract
>>>>>>>>>>                                                                      
>>>>>>>>>>                           //
>>>>>>>>>>or add required setMetaClass abstract
>>>>>>>>>>                                                                      
>>>>>>>>>>                           //
>>>>>>>>>>methods.
>>>>>>>>>>        public void defineUi() {
>>>>>>>>>>        ui.Container(uid: "GooglePage")
>>>>>>>>>>{                                         // Unable to recognize 'ui'
>>>>>>>>>>which pkg should I
>>>>>>>>>>                                                                      
>>>>>>>>>>                          //
>>>>>>>>>>import?
>>>>>>>>>>            InputBox(uid: "InputBox", locator: "//input
>>>>>>>>>>[...@name='q']")    // uid(String) undefined
>>>>>>>>>>            Button(uid: "GoogleSearch", locator: "//input
>>>>>>>>>>[...@name='btnG']")  // change to getLocator()
>>>>>>>>>>            Button(uid: "FeelingLucky", locator: "//input
>>>>>>>>>>[...@name='btnI']")
>>>>>>>>>>        }
>>>>>>>>>>   }
>>>>>
>>>>>>>>>>   public void doGoogleSearch(String input){
>>>>>>>>>>        type "GooglePage.InputBox", input
>>>>>>>>>>        click "GooglePage.GoogleSearch"
>>>>>>>>>>        waitForPageToLoad 30000
>>>>>>>>>>   }
>>>>>
>>>>>>>>>>   public void doFeelingLucky(String input){
>>>>>>>>>>        type "GooglePage.InputBox", input
>>>>>>>>>>        click "GooglePage.FeelingLucky"
>>>>>>>>>>        waitForPageToLoad 30000
>>>>>>>>>>   }
>>>>>>>>>>}
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>
>>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to