You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/02/02 22:49:45 UTC

DO NOT REPLY [Bug 52589] New: Apache version 1.8.2 build.xml gives warning message:'includeantruntime' was not set efaulting to build.sysclasspath=last; set to false for repeatable builds

https://issues.apache.org/bugzilla/show_bug.cgi?id=52589

             Bug #: 52589
           Summary: Apache version 1.8.2 build.xml gives warning
                    message:'includeantruntime' was not set efaulting to
                    build.sysclasspath=last; set to false for repeatable
                    builds
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build Process
        AssignedTo: notifications@ant.apache.org
        ReportedBy: wisdompays50@yahoo.com
    Classification: Unclassified


Issue:-
----------
Using version 1.8.2,when build.xml file is run,compile target gives following
warning message:-
 [javac] C:\AntExample\build.xml:20: warning: 'includeantruntime' was not set
defaulting to build.sysclasspath=last; set to false for repeatable builds.

Possible cause:-
Javac expects attribute includeruntime.

Solution:-

This can be solved if we add attribute includeruntime having value false in
javac.

 <javac srcdir="${src.dir}" destdir="${classes.dir}"
includeantruntime="false"/>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52589] Apache version 1.8.2 build.xml gives warning message:'includeantruntime' was not set defaulting to build.sysclasspath=last; set to false for repeatable builds

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52589

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52589] Apache version 1.8.2 build.xml gives warning message:'includeantruntime' was not set defaulting to build.sysclasspath=last; set to false for repeatable builds

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52589

--- Comment #2 from Pooja <wi...@yahoo.com> 2012-02-03 04:43:03 UTC ---
(In reply to comment #1)
> Your description is correct.
> 
> Starting with 1.8.0 Ant warns users about the default settings in javac that
> cause problems.
> 
> What exactly do you want to see changed with this bug report?

 Thanks for looking into this.
I was not aware that this setting is done and thought that version 1.8.2 needs
parameter declaration in javac.When I declared parameter in javac,this warning
message was no more visible.
In that case it is not a issue.You can close this bug.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52589] Apache version 1.8.2 build.xml gives warning message:'includeantruntime' was not set defaulting to build.sysclasspath=last; set to false for repeatable builds

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52589

Pooja <wi...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Apache version 1.8.2        |Apache version 1.8.2
                   |build.xml gives warning     |build.xml gives warning
                   |message:'includeantruntime' |message:'includeantruntime'
                   |was not set efaulting to    |was not set defaulting to
                   |build.sysclasspath=last;    |build.sysclasspath=last;
                   |set to false for repeatable |set to false for repeatable
                   |builds                      |builds

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52589] Apache version 1.8.2 build.xml gives warning message:'includeantruntime' was not set defaulting to build.sysclasspath=last; set to false for repeatable builds

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52589

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2012-02-03 04:36:15 UTC ---
Your description is correct.

Starting with 1.8.0 Ant warns users about the default settings in javac that
cause problems.

What exactly do you want to see changed with this bug report?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.