» Home » exec » Page 1
Is it possible to suppress NAnt's exec task's “[exec]” console output prefix
Category : Web Design

I'm trying to integrate Robot Framework (an acceptance testing framework) with TeamCity. In order to do this it needs to send messages to the console output which TeamCity will then read and return realtime test progress/results. I'm doing this by calling the command line to run the tests with a simple exec task. Everything seemed to be working other than I was only getting the results at the e


View Replies


Can you define both an exec and java goal for maven exec plugin?
Category : Java

I'm trying to do a couple tasks with the maven exec plugin. One is to run a script to generate some external data that the app will use. The second is to run a chunk of java code to do some convenience work during the compile phase.


<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version&g

View Replies


find . -exec echo {} ; = missing argument to `-exec'
Category : Network & Servers

Why doesn't this work? (echo is not the real command)


$ find . -type d -exec echo {} ;
find: missing argument to `-exec'

I managed to do that anyway like this:


$ for f in `find . -type d`; do echo $f; done

View Replies


Always run lifecycle phase (e.g. package) before goal (e.g. exec:exec)
Category : Programming Languages

I'm trying to get into maven and started writing just a small library. As part of the library code I want to have a small demo java application one can use to see what the library is doing and how to use it. One thing that really annoys me right now is that in order to execute that demo I have to execute two commands: mvn package and mvn exec:exec or mvn package


View Replies


perform:release calling exec:exec does not work! Bug?
Category : Development Tools & Services

I have the exec-maven-plugin installed. If I do mvn exec:exec it works fine. But if I set the goals of release:perform to install and exec:exec, it fails. Below the pom and the error:


<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.0</version>
<configuration>

View Replies


Calling QApplication::exec() after QDialog::exec()
Category : Programming Languages

in the Qt book, there is an example like:


int main(int argc, char *argv[])
{
QApplication app(argc,argv);
QDialog dialog;
dialog.show();
return app.exec();
}

it's well-functioned, but after a little change below:


int main(int argc, char *argv[])
{
QApplication app

View Replies


How to force Linq 2 SQL to use EXEC instead of EXEC SP_EXECUTESQL
Category : Databases

We are executing stored procedures using L2S and during trace analysis we noticed that LINQ uses SP_EXECUTESQL instead of EXEC.


I do understand that there are advantages of using SP_EXECUTESQL, but we are in the process of troubleshooting a mysterious DB issue and I was wondering if it's possible to force LINQ use EXEC instead of EXEC SP_EXECUTESQL?


Thanks


View Replies


how can exec change the behavior of exec'ed program
Category : Programming Languages

I am trying to track down a very odd crash. What is so odd about it is a workaround that someone discovered and which I cannot explain.


The workaround is this small program which I'll refer to as 'runner':


#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
int main(int argc, char *argv[])
{
View Replies


exec-maven-plugin exec:java failing: Cannot assign configuration values to array of type java.lang.String
Category : Java

When executing mvn exec:java it fails to correctly parse the configuration arguments, throwing the following error:


[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on
project autotest-programmes: Unable to parse configuration of mojo
org.codehaus.mojo:exec-maven-plugin:1.2.1:java: Cannot assign
co


View Replies


PhoneGap.exec to Cordova.exec
Category : Web Design

I'm using a plugin in my Cordova project and it's installed properly, but doesn't work. Upon looking into the JS file I found these two lines


PhoneGap.exec("SMSComposer.showSMSComposer",args);
PhoneGap.addConstructor(function() {

Obviously the problem is that the PhoneGap.exec function no longer exists, it's Cordova.exec now. How can I get this working?


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .