» Home » exec » Page 1
Is it possible to suppress NAnt's exec task's “[exec]” console output prefix
by KompuKare in 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

Can you define both an exec and java goal for maven exec plugin?
by Brandan in 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.


perform:release calling exec:exec does not work! Bug?
by Blunc in 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:


Always run lifecycle phase (e.g. package) before goal (e.g. exec:exec)
by MD. in 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

find . -exec echo {} ; = missing argument to `-exec'
by Erwin in 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

Calling QApplication::exec() after QDialog::exec()
by Paratus in Programming Languages

in the Qt book, there is an example like:

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

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

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

How to force Linq 2 SQL to use EXEC instead of EXEC SP_EXECUTESQL
by ThF in 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?


how can exec change the behavior of exec'ed program
by DeadFred in 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[])
exec-maven-plugin exec:java failing: Cannot assign configuration values to array of type java.lang.String
by Coder Blues in 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

PhoneGap.exec to Cordova.exec
by picamiolo in 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.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?

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .