[Anthill] anthill fails with IOException
Mirza Abbas Raza
abbasrazam at yahoo.com
Wed May 18 12:24:43 CDT 2005
Appreciate your time and mail. Ok. I navigated to the
my source directory, which anthill has checked out
from cvs. I ran the same target. It works. So, it
doesn't seem to be an issue with env variables. Also,
the batch file doesn't set any env variables. It just
calls build.xml target. Could be a permission issue?
Although I don't set any permission explicitly.
Thanks.
--- Curtis Yanko <curt_yanko at uhc.com> wrote:
> It is a file/path not found error. If it works from
> the command line then
> maybe you are overriding the PAT or some other
> environmental variable that
> is need to properly reference.
>
> - Curtis Yanko
> Sr IS Systems Analyst
> Uniprise Technologies
> 860.702.9059
>
>
>
>
>
> Mirza Abbas Raza <abbasrazam at yahoo.com>
> Sent by: anthill-bounces at lists.urbancode.com
> 2005-05-18 12:45 PM
> Please respond to
> Anthill user list <anthill at lists.urbancode.com>
>
>
> To
> Anthill user list <anthill at lists.urbancode.com>
> cc
>
> Subject
> [Anthill] anthill fails with IOException
>
>
>
>
>
>
> Hi,
>
> I am trying to execute a batch file from the
> build.xml
> using <exec> task. Anthill fails with the following
> message:
> Execute failed: java.io.IOException: CreateProcess:
> build.bat error=2
>
> The same task works fine if I do it from command
> line.
>
>
> Probably this is relevant for fixing the issue. For
> manual build, I have a batch file that invokes ant
> to
> build the project. I had to create this batch file
> because there seems to be a bug with ant. As ant
> tries
> to build the submodules, it messes up the path and
> hence fails. If I manually go to each submodule, it
> builds fine. Now, I added a task inside my build.xml
> to invoke the batch file, which obviously calls the
> build targets in the same build.xml. Kinda circle.
> It
> works from command line manually.
>
> Environment details:
> OS: Win2k
> Ant: 1.5.3 (have to use it, otherwise Weblogic81
> tasks
> won't run.)
> JDK: 1.4.2
>
> Thanks,
> Abbas
>
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
>
> This e-mail, including attachments, may include
> confidential and/or
> proprietary information, and may be used only by the
> person or entity to
> which it is addressed. If the reader of this e-mail
> is not the intended
> recipient or his or her authorized agent, the reader
> is hereby notified
> that any dissemination, distribution or copying of
> this e-mail is
> prohibited. If you have received this e-mail in
> error, please notify the
> sender by replying to this message and delete this
> e-mail immediately.
>
> > _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
More information about the Anthill
mailing list