You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Rajesh Kumar <ra...@gmail.com> on 2010/07/01 12:55:45 UTC

Urgent Help: Strange Error During Build.

Hi,

I am apache-ant-1.6.5 with jdk 1.6 and getting strange error during build
process.. Any body can explain me or guide me what is going wrong?

I could not get any solution myself.


filterTemplates:
    [mkdir] Created dir:
D:\WorkSpace\Perforce\Harrier9.01-branch\stg-dev\elance\template-stg
     [copy] Copying 1 file to
D:\WorkSpace\Perforce\Harrier9.01-branch\stg-dev\elance\template-stg\config\elance
     [copy] Infinite loop in tokens. Currently known tokens : [JBOSS_HOME]
     [copy] Problem token : @JBOSS_HOME@ called from @JBOSS_HOME@
     [copy] Infinite loop in tokens. Currently known tokens : [JAVA_HOME]
     [copy] Problem token : @JAVA_HOME@ called from @JAVA_HOME@
     [copy] Copying 197 files to
D:\WorkSpace\Perforce\Harrier9.01-branch\stg-dev\elance\template-stg\config\elance

     [copy] Infinite loop in tokens. Currently known tokens : [HOSTNAME]
     [copy] Problem token : @HOSTNAME@ called from @HOSTNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [JBOSS_PORT]
     [copy] Problem token : @JBOSS_PORT@ called from @JBOSS_PORT@
     [copy] Infinite loop in tokens. Currently known tokens : [HOSTNAME]
     [copy] Problem token : @HOSTNAME@ called from @HOSTNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [JBOSS_PORT]
     [copy] Problem token : @JBOSS_PORT@ called from @JBOSS_PORT@
     [copy] Infinite loop in tokens. Currently known tokens : [OWNER_ID]
     [copy] Problem token : @OWNER_ID@ called from @OWNER_ID@
     [copy] Infinite loop in tokens. Currently known tokens : [OWNER_ID]
     [copy] Problem token : @OWNER_ID@ called from @OWNER_ID@
     [copy] Infinite loop in tokens. Currently known tokens : [OWNER_ID]
     [copy] Problem token : @OWNER_ID@ called from @OWNER_ID@
     [copy] Infinite loop in tokens. Currently known tokens : [OWNER_ID]
     [copy] Problem token : @OWNER_ID@ called from @OWNER_ID@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVER]
     [copy] Problem token : @DBSERVER@ called from @DBSERVER@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERPORT]
     [copy] Problem token : @DBSERVERPORT@ called from @DBSERVERPORT@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERNAME]
     [copy] Problem token : @DBSERVERNAME@ called from @DBSERVERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBUSERNAME]
     [copy] Problem token : @DBUSERNAME@ called from @DBUSERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBPASSWORD]
     [copy] Problem token : @DBPASSWORD@ called from @DBPASSWORD@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVER]
     [copy] Problem token : @DBSERVER@ called from @DBSERVER@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERPORT]
     [copy] Problem token : @DBSERVERPORT@ called from @DBSERVERPORT@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERNAME]
     [copy] Problem token : @DBSERVERNAME@ called from @DBSERVERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBUSERNAME]
     [copy] Problem token : @DBUSERNAME@ called from @DBUSERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBPASSWORD]
     [copy] Problem token : @DBPASSWORD@ called from @DBPASSWORD@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVER]
     [copy] Problem token : @DBSERVER@ called from @DBSERVER@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERPORT]
     [copy] Problem token : @DBSERVERPORT@ called from @DBSERVERPORT@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERNAME]
     [copy] Problem token : @DBSERVERNAME@ called from @DBSERVERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBUSERNAME]
     [copy] Problem token : @DBUSERNAME@ called from @DBUSERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBPASSWORD]
     [copy] Problem token : @DBPASSWORD@ called from @DBPASSWORD@
     [copy] Infinite loop in tokens. Currently known tokens :
[JBOSS_NAMING_SERVICE_PORT]
     [copy] Problem token : @JBOSS_NAMING_SERVICE_PORT@ called from
@JBOSS_NAMING_SERVICE_PORT@
     [copy] Infinite loop in tokens. Currently known tokens : [DBUSERNAME]
     [copy] Problem token : @DBUSERNAME@ called from @DBUSERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVER]
     [copy] Problem token : @DBSERVER@ called from @DBSERVER@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERPORT]
     [copy] Problem token : @DBSERVERPORT@ called from @DBSERVERPORT@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERNAME]
     [copy] Problem token : @DBSERVERNAME@ called from @DBSERVERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [HOSTNAME]
     [copy] Problem token : @HOSTNAME@ called from @HOSTNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVER]
     [copy] Problem token : @DBSERVER@ called from @DBSERVER@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERPORT]
     [copy] Problem token : @DBSERVERPORT@ called from @DBSERVERPORT@
     [copy] Infinite loop in tokens. Currently known tokens : [DBSERVERNAME]
     [copy] Problem token : @DBSERVERNAME@ called from @DBSERVERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBUSERNAME]
     [copy] Problem token : @DBUSERNAME@ called from @DBUSERNAME@
     [copy] Infinite loop in tokens. Currently known tokens : [DBPASSWORD]
     [copy] Problem token : @DBPASSWORD@ called from @DBPASSWORD@
     [copy] Infinite loop in tokens. Currently known tokens : [WEBURL,
HOSTNAME]
     [copy] Problem token : @HOSTNAME@ called from @HOSTNAME@

BUILD FAILED
D:\WorkSpace\Perforce\Harrier9.01-branch\deploy\build\build_body.xml:1535:
The following error occurred while execu
ting this line:
java.lang.StackOverflowError

-- 
===========================
Rajesh Kumar
Configuration, Build and Release Engineer
Blog: http://www.scmGalaxy.com

Email: rajesh@scmGalaxy.com

Re: Urgent Help: Strange Error During Build.

Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-07-01, Rajesh Kumar wrote:

> Hi,

> I am apache-ant-1.6.5 with jdk 1.6 and getting strange error during build
> process.. Any body can explain me or guide me what is going wrong?

>      [copy] Copying 1 file to
> D:\WorkSpace\Perforce\Harrier9.01-branch\stg-dev\elance\template-stg\config\elance
>      [copy] Infinite loop in tokens. Currently known tokens : [JBOSS_HOME]
>      [copy] Problem token : @JBOSS_HOME@ called from @JBOSS_HOME@

Either you really have a loop of tokens that recurse infinitely or
you've hit a bug in Ant

Most likely it is the latter, my guess is
<https://issues.apache.org/bugzilla/show_bug.cgi?id=44226> which has
been fixed in Ant 1.8.0.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Urgent Help: Strange Error During Build.

Posted by Michael Ludwig <mi...@gmx.de>.
Rajesh Kumar schrieb am 01.07.2010 um 16:25 (+0530):
> 
> I am apache-ant-1.6.5 with jdk 1.6 and getting strange error during
> build process.. Any body can explain me or guide me what is going
> wrong?
> 
> I could not get any solution myself.

>      [copy] Infinite loop in tokens. Currently known tokens : [JBOSS_HOME]
>      [copy] Problem token : @JBOSS_HOME@ called from @JBOSS_HOME@
>      [copy] Infinite loop in tokens. Currently known tokens : [JAVA_HOME]
>      [copy] Problem token : @JAVA_HOME@ called from @JAVA_HOME@

> BUILD FAILED

> java.lang.StackOverflowError

Looks like a text replacement loop, which shouldn't be run. Look here:

http://marc.info/?l=ant-dev&m=113864631015957

Upgrade Ant.

-- 
Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org