-Jay!!
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.
java ... -jar C:\some\dir\blah.jar ...
do this:
java ... -classpath C:\some\dir\blah.jar com.example.package.mainClass ...
You need to peek inside the JAR's manifest file to learn the starting class name, but other than that it's simple.
Ross
-----Original Message-----
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of Mike Riley
Sent: Tuesday, March 27, 2012 12:11 PM
To: Selenium Users
Subject: [selenium-users] Re: Selenium Java class file Execution from Command Prompt
...
You problem with your imports is likely an issue with your CLASSPATH.
Something to note about CLASSPATH: If you are using a JAR file it is
ignored! The Manifest file in the JAR file supersedes any CLASSPATH
setting. If you are executing an actual .class file then CLASSPATH
will be used.
...
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b71cc86e-62c6-4ffd-86f5-932bc875a73f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
java -jar filename.jar doesn't work for me, as it is looking for main() class in the jar. I do not have Main.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/FeKGnbBkQ7I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/4ee8e682-158a-46f3-92ba-2c4368e199e0%40googlegroups.com.
I want to Run my Eclipse selenium demo project from command line and i want to make Jar file of that
how can i achieve this i have attached my project structure here...
Src->
Congif pkg
-> Control.java
->Variable.java
OR path
-> Xpath properties file
Testcase pkg
->4 different file include main file
utility pkg
-> common files here
Thank you