Bonjour,

Un script qui tourne parfaitement bien sous Linux ne tourne pas sous Windows ....

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<project default="run">
<property file="build.properties" />
 
<target name="run">
	<path id="classpath">
        <fileset dir="${novanet.dir}/WEB-INF/lib" includes="**/*.jar"/>
		<fileset dir="${tomcat.dir}/lib" includes="**/*.jar"/>
    </path>
 
    <java fork="true" classname="batch.MoteurBatchs" maxmemory="512m" output="logs/stdout.txt" error="logs/logs.txt" logError="logs/logsError.txt">
	    <classpath>
            <path refid="classpath"/>
		    <path location="${novanet.dir}/WEB-INF/classes"/>
	    </classpath>
 
	    <arg value="${novanet.dir}/"/>
	    <arg value="${societeuser}"/>
	    <arg value="${date}"/>
	    <arg value="${type}"/>
    </java>
</target>
 
</project>
Sous windows, une fois ma commande ANT lancé, il ne se passe rien ... je dois fermer la fenêtre pour que se lance le processus !!

Avez vous une idée ?

Merci