Sorry it got away…

Don't hard code paths in your build.xml file. Either put the selenium jar in 
your project (and your repository, 
so it's checked out with the rest of your project. Then use the relative path 
to your jar. 

--
David Weintraub
da...@weintraub.name

On Aug 27, 2012, at 2:20 PM, praneeth <praneeth.ku...@rediffmail.com> wrote:

> Hi David..
> 
> I have tried leaving the build file filed empty..it worked ,but i got another 
> problem regarding the jar files. I have use few jar file including the 
> selenium server to run my tests in my local machine..how can I make use of 
> them while running through a source repository?? 
> 
> here is the error im getting:
> Started by user :*******
> Building in workspace /var/lib/jenkins/jobs/moveon4/workspace
> Updating https://svn.qsu-dev.com/svn/moveon4-javatests/trunk/moveon4tests1
> D         build.xml
> A         build.xml
> At revision 111
> [workspace] $ ant run
> Buildfile: /var/lib/jenkins/jobs/moveon4/workspace/build.xml
> 
> setClassPath:
> 
> BUILD FAILED
> /var/lib/jenkins/jobs/moveon4/workspace/build.xml:27: 
> /var/lib/jenkins/jobs/moveon4/workspace/C:/selenium server does not exist.
> 
> Total time: 0 seconds
> Build step 'Invoke Ant' marked build as failure
> Finished: FAILURE
> 
> can you please suggest me how can i change the jar files location ? i have 
> attached the build.xml file for your reference
> 
> Regards
> Praneeth
> 
> On Monday, 27 August 2012 12:37:34 UTC+1, praneeth wrote:
> Hi
> 
> Can you please let me know how can i set ant as a global environment variable 
> in jenkins configuration..?
> 
> Regards
> praneeth
> <build.xml>

Reply via email to