So I want a build.xml file that I can invoke from Hudson to run my jsUnit tests. However, the build.xml file has a few things that it needs to ... I guess run the unit tests. One of things it needs are these browser files such as ie.exe or firefox.exe. However on Ubuntu I have no clue as to where these browser files are.
If anyone can help me, I would really appreciate perhaps
- a sample build.xml file that can run multiple tests (through Hudson).
- OR a way to reference the "browser files"
- OR a description of a simpler/better alternative of jsUnit
Thanks so much in advance!
From your question it sounds like you are looking for the firefox executable. On Ubuntu, I believe that is located at:
/usr/bin/firefox
There is no ".exe" extension.
Related
my question my look silly but I'm complete yellow bird in programming.
Have challenge to compile using waf.io. I went thru basic instructions https://waf.io/apidocs/tutorial.html?highlight=start. But there is missing basic information: where I should put all these commands?
You must put these commands in a file named wscript. This file should be in the directory where your other project files are.
Then you will use the waf command in the same directory to run it.
Look at the waf book.
I have recorded a UI test with selenium builder (firefox plugin) and have saved it as a .json file.
Now I am trying to run this through commandline using SeInterpreter jar.
My command is this:
java -jar SeInterpreter.jar <path of .json test file>
I have found information here.
I have downloaded the project but have not found SeInterpreter.jar file anywhere, I have searched exclusively for the jar file as well but could not get it.
Is there any other better way to achieve this?
After some analysis and searching i finally found the SeInterpreter.jar here:
http://seleniumbuilder.github.io/se-builder/tools.html
Hope will be helpful for others with similar query.
So in my log file of my symfony project I have errors for inexistant files then after a small time I have a big log file > 50 Mb,I don't know what I can do to resolve this problem??I never work with this kind of problem?
php symfony log:rotate [--history="..."] [--period="..."] application env
You can find this documented at:
http://www.symfony-project.org/reference/1_4/en/16-Tasks
On Unix's, you can run this as a cron job, with the same formatting that you would do for any task.
When managing a grails plugin in Intellij Idea (I'm using version 10.5.2 on OSX, if it matters), I can't get it to add the *GrailsPlugin.groovy file to the classpath in a way that it can be recognized by unit tests run from the IDE. The tests run fine from the command line using grails test-app; I just want IDEA to be able to run them too.
The problem is that the *GrailsPlugin.groovy file is at the top level directory in the plugin, which is not marked as a source directory in IDEA. I definitely don't want to make it a source folder, since that will screw up lots of things such as the package path to all of my regular source files (amongst many other issues).
I've tried adding *GrailsPlugin.groovy to my Settings->Compiler Resource Patterns, but to no avail. Since the file isn't in a source folder, it's ignored.
I tried creating a source folder that has a symlink to the *GrailsPlugin.groovy file, but that introduces all kinds of synchronization issues.
Anyone have any ideas?
My issue is to make ant logging in the way I need. So that I decided to use Log4j. As I has read from this article I set the ANT_OPTS:
set ANT_OPTS=-Dlog4j.debug -Dlog4j.configuration=file:///d:/ant_dir/lib/log4j.xml
When I try to execute the build.xml by the command:
D:/ant_dir>ant -listener org.apache.tools.ant.listener.Log4jListener
I catch an error: Class org.apache.tools.ant.listener.Log4jListener could not be loaded because of an invalid dependency.
The log4j.jar and log4j.xml are located in the ANT_HOME/lib directory.
I have been searching for a tutorial but found nothing.
Can somebody, please, help me with an advice or give a useful link?
Well, I found a solution. The problem was in log4j.jar. This file was corrupted. I have changed it and everithing is working now.