0

Possible Duplicate:
Proper usage of Java -D command-line parameters

I am trying to launch this command from Eclipse:

mvn test -Dtest=com.yyy.xxx.myTest

So to configure the command in the "Run Configurations" I need an Eclipse variable to get com.yyy.xxx.myTest

My idea is to launch the command after to select the class.

Here, I have not found the variable:

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-exttools.htm

Any idea about the variable?

Community
  • 1
  • 1
Javi Pedrera
  • 2,075
  • 4
  • 21
  • 29
  • As I understand answer on your question [here](http://stackoverflow.com/questions/5045608/proper-usage-of-java-d-command-line-parameters "Proper usage of Java -D command-line parametersr") – CAMOBAP Sep 24 '12 at 10:05
  • 1
    It seems that my previous answer is not quite correct. Looks like you need **${java_type_name}** variable – CAMOBAP Sep 24 '12 at 10:18
  • Using ${java_type_name} the behaviour is not correct. The command launches all tests. Thanks – Javi Pedrera Sep 24 '12 at 10:35
  • Sorry, the behaviour is not correct but your Answer YES. I have inspected the launched command and I have got: -Dtest=com.yyy.xxx.myTest – Javi Pedrera Sep 24 '12 at 10:39
  • Please CAMOBAP, replace your original answer with the correct one, to avoid the duplicate question. Thanks – Javi Pedrera Sep 24 '12 at 11:00

0 Answers0