Re: build is not finished if start executable
Emmanuel Venisse wrote: Which server do you want to restart? jboss but even I start simple bat file continuum is not finished until this bat does not mark it's build as finished until this bat is not stopped are you successful in restarting another server? Maksimenko Alexander a écrit : Emmanuel Venisse wrote: Hmm, very strange. Do you have updated your ant script? http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-successful-build yes of cause has anybody tried to restart server in project build? I think it is common task for continues integration Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: BUILD SUCCESSFUL isn't a continuum message but a ant message. it's perhaps a bug in ShellCommandHelper, the exit code is return by Process class and printed in AbstractBuildExecutor (line 189). so if you don't have "Exit code:" in your log, it's because Process objec doesn't return it. Can you try with a non gui app? yes the same result ;( Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: if it's all your logs, the ant process isn't finished because you should have "return code = 0" in log but if it's not finished - what does it mean BUILD SUCCESSFUL message in continuum's log? if I perform this task in shell then ant process will be finished so may be incorrect work in ShellCommandHelper ? ps this log message is appear when I close calculator application Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: Can you send your continuum logs? it's nothing odd in the log : INFO Continuum - Enqueuing 'processbuilder' (Build definition id=1). INFO ContinuumScm - Updating project: id: '1', name 'processbuilder'. INFO ScmManager - Executing: svn --username *** --password * --non-interactive update INFO ScmManager - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 DEBUG ScmManager - At revision 3172. NFO Action:update-project-from-working-directory - Updating project 'processbuilder' from checkout. INFO ShellCommandHelper - Executing: D:\tools\dev\java\jakarta\ant\bin\ant -f build.xml continium INFO ShellCommandHelper - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 my build target: spawn="true"> timeoutproperty="server.is.unavailable"> http://localhost"/> finish build result: Buildfile: build.xml continium: [echo] finish BUILD SUCCESSFUL Total time: 39 seconds but state is "Build In Progess" ;(
Re: build is not finished if start executable
Emmanuel Venisse wrote: Hmm, very strange. Do you have updated your ant script? http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-successful-build yes of cause has anybody tried to restart server in project build? I thought it is common task for continues integration to restart server Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: BUILD SUCCESSFUL isn't a continuum message but a ant message. it's perhaps a bug in ShellCommandHelper, the exit code is return by Process class and printed in AbstractBuildExecutor (line 189). so if you don't have "Exit code:" in your log, it's because Process objec doesn't return it. Can you try with a non gui app? yes the same result ;( Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: if it's all your logs, the ant process isn't finished because you should have "return code = 0" in log but if it's not finished - what does it mean BUILD SUCCESSFUL message in continuum's log? if I perform this task in shell then ant process will be finished so may be incorrect work in ShellCommandHelper ? ps this log message is appear when I close calculator application Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: Can you send your continuum logs? it's nothing odd in the log : INFO Continuum - Enqueuing 'processbuilder' (Build definition id=1). INFO ContinuumScm - Updating project: id: '1', name 'processbuilder'. INFO ScmManager - Executing: svn --username *** --password * --non-interactive update INFO ScmManager - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 DEBUG ScmManager - At revision 3172. NFO Action:update-project-from-working-directory - Updating project 'processbuilder' from checkout. INFO ShellCommandHelper - Executing: D:\tools\dev\java\jakarta\ant\bin\ant -f build.xml continium INFO ShellCommandHelper - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 my build target: spawn="true"> timeoutproperty="server.is.unavailable"> http://localhost"/> finish build result: Buildfile: build.xml continium: [echo] finish BUILD SUCCESSFUL Total time: 39 seconds but state is "Build In Progess" ;(
Re: build is not finished if start executable
Emmanuel Venisse wrote: Hmm, very strange. Do you have updated your ant script? http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-successful-build yes of cause has anybody tried to restart server in project build? I think it is common task for continues integration Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: BUILD SUCCESSFUL isn't a continuum message but a ant message. it's perhaps a bug in ShellCommandHelper, the exit code is return by Process class and printed in AbstractBuildExecutor (line 189). so if you don't have "Exit code:" in your log, it's because Process objec doesn't return it. Can you try with a non gui app? yes the same result ;( Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: if it's all your logs, the ant process isn't finished because you should have "return code = 0" in log but if it's not finished - what does it mean BUILD SUCCESSFUL message in continuum's log? if I perform this task in shell then ant process will be finished so may be incorrect work in ShellCommandHelper ? ps this log message is appear when I close calculator application Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: Can you send your continuum logs? it's nothing odd in the log : INFO Continuum - Enqueuing 'processbuilder' (Build definition id=1). INFO ContinuumScm - Updating project: id: '1', name 'processbuilder'. INFO ScmManager - Executing: svn --username *** --password * --non-interactive update INFO ScmManager - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 DEBUG ScmManager - At revision 3172. NFO Action:update-project-from-working-directory - Updating project 'processbuilder' from checkout. INFO ShellCommandHelper - Executing: D:\tools\dev\java\jakarta\ant\bin\ant -f build.xml continium INFO ShellCommandHelper - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 my build target: spawn="true"> timeoutproperty="server.is.unavailable"> http://localhost"/> finish build result: Buildfile: build.xml continium: [echo] finish BUILD SUCCESSFUL Total time: 39 seconds but state is "Build In Progess" ;(
Re: build is not finished if start executable
Emmanuel Venisse wrote: BUILD SUCCESSFUL isn't a continuum message but a ant message. it's perhaps a bug in ShellCommandHelper, the exit code is return by Process class and printed in AbstractBuildExecutor (line 189). so if you don't have "Exit code:" in your log, it's because Process objec doesn't return it. Can you try with a non gui app? yes the same result ;( Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: if it's all your logs, the ant process isn't finished because you should have "return code = 0" in log but if it's not finished - what does it mean BUILD SUCCESSFUL message in continuum's log? if I perform this task in shell then ant process will be finished so may be incorrect work in ShellCommandHelper ? ps this log message is appear when I close calculator application Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: Can you send your continuum logs? it's nothing odd in the log : INFO Continuum - Enqueuing 'processbuilder' (Build definition id=1). INFO ContinuumScm - Updating project: id: '1', name 'processbuilder'. INFO ScmManager - Executing: svn --username *** --password * --non-interactive update INFO ScmManager - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 DEBUG ScmManager - At revision 3172. NFO Action:update-project-from-working-directory - Updating project 'processbuilder' from checkout. INFO ShellCommandHelper - Executing: D:\tools\dev\java\jakarta\ant\bin\ant -f build.xml continium INFO ShellCommandHelper - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 my build target: spawn="true"> timeoutproperty="server.is.unavailable"> http://localhost"/> finish build result: Buildfile: build.xml continium: [echo] finish BUILD SUCCESSFUL Total time: 39 seconds but state is "Build In Progess" ;(
Re: build is not finished if start executable
Emmanuel Venisse wrote: if it's all your logs, the ant process isn't finished because you should have "return code = 0" in log but if it's not finished - what does it mean BUILD SUCCESSFUL message in continuum's log? if I perform this task in shell then ant process will be finished so may be incorrect work in ShellCommandHelper ? ps this log message is appear when I close calculator application Emmanuel Maksimenko Alexander a écrit : Emmanuel Venisse wrote: Can you send your continuum logs? it's nothing odd in the log : INFO Continuum - Enqueuing 'processbuilder' (Build definition id=1). INFO ContinuumScm - Updating project: id: '1', name 'processbuilder'. INFO ScmManager - Executing: svn --username *** --password * --non-interactive update INFO ScmManager - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 DEBUG ScmManager - At revision 3172. NFO Action:update-project-from-working-directory - Updating project 'processbuilder' from checkout. INFO ShellCommandHelper - Executing: D:\tools\dev\java\jakarta\ant\bin\ant -f build.xml continium INFO ShellCommandHelper - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 my build target: timeoutproperty="server.is.unavailable"> http://localhost"/> finish build result: Buildfile: build.xml continium: [echo] finish BUILD SUCCESSFUL Total time: 39 seconds but state is "Build In Progess" ;(
Re: build is not finished if start executable
Emmanuel Venisse wrote: Can you send your continuum logs? it's nothing odd in the log : INFO Continuum - Enqueuing 'processbuilder' (Build definition id=1). INFO ContinuumScm - Updating project: id: '1', name 'processbuilder'. INFO ScmManager - Executing: svn --username *** --password * --non-interactive update INFO ScmManager - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 DEBUG ScmManager - At revision 3172. NFO Action:update-project-from-working-directory - Updating project 'processbuilder' from checkout. INFO ShellCommandHelper - Executing: D:\tools\dev\java\jakarta\ant\bin\ant -f build.xml continium INFO ShellCommandHelper - Working directory: D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 my build target: timeoutproperty="server.is.unavailable"> http://localhost"/> finish build result: Buildfile: build.xml continium: [echo] finish BUILD SUCCESSFUL Total time: 39 seconds but state is "Build In Progess" ;(
build is not finished if start executable
hi! I spent 2 days to the following problem : I start executable in ant script the execution of ant script has been finished but continuum build is not marked finished until I close calculator application I look at continuum's log file and find out that it starts ant script by following shell command: ant -f build.xml continium So I perform this command in shell and everything is ok - ant script has been finished just after calculator is launched Did I miss something or is it a bug?
build is not finished if start executable
hi! I spent 2 days to the following problem : I start executable in ant script the execution of ant script has been finished but continuum build is not marked finished until I close calculator application I look at continuum's log file and find out that it starts ant script by following shell command: ant -f build.xml continium So I perform this command in shell and everything is ok - ant script has been finished just after calculator is launched Did I miss something or is it a bug?
wrong status of ant project
hi! I've got some strange behavior : after building mine ant project I've got "success" status but in output i see deploy: [delete] Deleting directory jboss-3.2.7\server\default\deploy\workflow.ear BUILD FAILED working-directory\1\build.xml:140: The following error occurred while executing this line: working-directory\1\build.xml:123: Unable to delete file jboss-3.2.7\server\default\deploy\workflow.ear\processbuilder.war\WEB-INF\lib\activation.jar Total time: 19 seconds so the build is actually failed here is the scartch from ant file: - am I missed something?
ajax request
Hi! I have to make ajax request which affect to many components in the page. For example,lets consider mail web application. It has list of messages (data table) and tree of folders(tree). When user clicks on message which is unread after ajax request we should 1) change style of the corresponding message in data table and image near it 2) decrease amount of unread messages near correspond folder name in tree I have only one solution now - change corresponding dom elements in java script after successful ajax response. But in this case I have two places where I specify how display unread message - in element of the table and in the script. I want avoid this duplication because seem such ajax request will be more enough. So it's desirable to specify displaying only in tag But I haven't any idea how to do this ;( Hope I was clear enough ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ajax request
Hi! I have to make ajax request which affect to many components in the page. For example, consider mail web application. It has list of messages (data table) and tree of folders(tree). When user clicks on message which is unread after ajax request we should 1) change style of the corresponding message in data table and image near it 2) decrease amount of unread messages near correspond folder name in tree I have only one solution now - change corresponding dom elements in java script after successful ajax response. But in this case I have two places where I specify how display unread message - in element of the table and in the script. I want avoid this duplication because seem such ajax request will be more enough. So it's desirable to specify displaying only in tag But I haven't any idea how to do this ;( Hope I was clear enough ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven parallel/sequential
use xmlns:threads="jelly:threads" service:weblogic-deploy"; /> perhaps you also need to add dependency : commons-jelly commons-jelly-tags-threads 20030211.143515 Hello all, I been trying to get the ant parallel task to work with no success :( In my goal I have: "http://localhost:7001/console/login/LoginForm.jsp"/> service:weblogic-deploy"; /> The "weblogic:server-start" uses the java task to startup a weblogic server (fork=true) The starts up fine but nothing more happens - I never get to the "selfservice:weblogic-deploy"; - the server blocks the process... Can anybody tell me what I might be doing wrong? I also tried prepending "ant" to the tags () but this makes no difference... Best regards Jesper Linvald MAERSK DATA TRANSPORT Tel no.: +45 3911 1891 e-mail: [EMAIL PROTECTED] -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: config files dependencies
Thanks for answers ! So we all go on the correct way :) I keep all the conf files in each project's src/conf directory and we do not put them in our jars because that's not practical for production (the sysadmin doesn't know how to find the jar, unzip it, modify, rezip, etc.). So I wrote some goals in my maven.xml to copy the jars from all dependent projects. I copy them into src/conf.dep. I then take src/conf.dep and copy to src/conf.dev, and then copy src/conf to src/conf.dev. Sounds complicated but it's not too bad: src/conf - original, unfiltered resources src/conf.dep - filtered dependency resources src/conf.dev - filtered original & dependency resources (original can override dependency) The maven.xml code is very ugly, but it works and I haven't had time to optimize it: Copying dependency resources for project ${pom.artifactId} ${depItem} ${depItemItem} ${depProject} is available Yes, I know, it actually copies the resources for each project twice. But it's so fast I haven't bothered to fix this (tough deadlines here) Michael -Message d'origine- De : Göschl,Siegfried [mailto:[EMAIL PROTECTED] Envoyé : lundi 28 juin 2004 16:08 À : Maven Users List Objet : RE: config files dependencies Hi Alexander, I have the same problems with Torque.properties, log4j.properties and spy.properties. I keep a folder for each set of configuration files for each build mode. To determine the build mode I pass a 'maven.build.mode' for building all project but I'm not using the reactor (yet) Cheers, Siegfried Goeschl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Montag, 28. Juni 2004 14:09 To: [EMAIL PROTECTED] Subject: config files dependencies Hi! I need some advice. I need to copy config file from one subproect to another. I know one way to solve this problem. I can spesify this cofig files as resourses in one subproject and spesify the second subproject as being dependent from the first one. But I have two problems: 1. This config files have to be unjared. (P6SpyDriver wants its config file - spy.properties - not to be in jar) 2. To test the second subprojct I need to use testing version of the config files from the first one. I'm going to copy config files and their testing versions from the first subproject to the second one: basedir="${basedir}/.." includes="firstProject/project.xml" goals="test:test-resources" postProcessing="true" /> <>Would it be the right desision? -- Maksimenko Alexander Softwarium, www.softwarium.net -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: start server in another jvm
Jefferson K. French wrote: A while back I did something like this with the Jelly threads package. Roughly: Maybe you can do something similar, but use Ant's exec instead of java task? More info on Jelly thread tags can be found here: http://jakarta.apache.org/commons/jelly/libs/threads/tags.html Jeff Yes! It works! Thank you! I really appreciate you :) -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: start server in another jvm
Göschl,Siegfried wrote: Hi Alexander, I'm not sure but is it possible to start the HTTP server in a plugin taking care of the internals?! Cheers, Siegfried Goeschl I've looked at jetty plugin but it simply calls this action suspends execution of ant script Hi! I need to start my http server in another jvm before starting my tests. I noticed that stops execution of the ant script until the java process finishes, so I can't use it to reach my goal. works properly only for . :( Is there any solution for my problem? - Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
start server in another jvm
Hi! I need to start my http server in another jvm before starting my tests. I noticed that stops execution of the ant script until the java process finishes, so I can't use it to reach my goal. works properly only for . :( Is there any solution for my problem? -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]