You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2006/08/17 21:26:00 UTC

DO NOT REPLY [Bug 40280] New: - [Patch] Enable java 1.5 specific language features to be used in source files.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40280

           Summary: [Patch] Enable  java 1.5 specific language features to
                    be used in source files.
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Keywords: PatchAvailable
          Severity: minor
          Priority: P2
         Component: Build System
        AssignedTo: dev@lenya.apache.org
        ReportedBy: paloma.gz@gmail.com


I have added an entry in the build.properties file that allows setting the
-source compiler option to either 1.4 or 1.5.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40280] - [Patch] Enable java 1.5 specific language features to be used in source files.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40280





------- Additional Comments From paloma.gz@gmail.com  2006-08-17 19:30 -------
Created an attachment (id=18729)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18729&action=view)
Build system files changed


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40280] - [Patch] Enable java 1.5 specific language features to be used in source files.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40280


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From andreas@apache.org  2006-08-23 07:13 -------

Josias Thoeny on dev@lenya:

> Modified: lenya/trunk/src/resources/build/modules2build.xsl
> > URL:
http://svn.apache.org/viewvc/lenya/trunk/src/resources/build/modules2build.xsl?rev=433597&r1=433596&r2=433597&view=diff
> > ==============================================================================
> > --- lenya/trunk/src/resources/build/modules2build.xsl (original)
> > +++ lenya/trunk/src/resources/build/modules2build.xsl Tue Aug 22 04:19:29 2006
> > @@ -159,7 +159,7 @@
> >          deprecation="${{deprecation}}"
> >          target="${{target.vm}}"
> >          nowarn="${{nowarn}}"
> > -        source="1.4">
> > +        source="${{src.java.version}}">
> >          <src path="{$src}/java/src"/>
> >          <classpath refid="module.classpath.{$id}"/>
> >        </javac>
> > @@ -282,7 +282,7 @@
> >          deprecation="${{deprecation}}"
> >          target="${{target.vm}}"
> >          nowarn="${{nowarn}}"
> > -        source="1.4">
> > +        source="${{java.version}}">

Here the property is called java.version, and above it's
src.java.version. Is this intended, or is it a typo?

It might have something to do with the error J�rn mentioned:
javac: invalid source release: 1.5.0_07

This problem doesn't occur on my machine, though.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40280] - [Patch] Enable java 1.5 specific language features to be used in source files.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40280


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From andreas@apache.org  2006-09-08 15:39 -------
This has been fixed.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40280] - [Patch] Enable java 1.5 specific language features to be used in source files.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40280


andreas@apache.org changed:

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




------- Additional Comments From andreas@apache.org  2006-08-22 11:17 -------
I applied the patch, thanks a lot.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org