You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "J. Joseph Felten" <jj...@googlemail.com> on 2010/03/29 15:17:09 UTC

Does ant 1.8.0 compile on Solaris 10 SPARC?

Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4,
sun4u)?  I actually wanted to compile the latest Tomcat on a server on
a private network, but building Tomcat requires ant >= 1.6 and the ant
that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8
source and moved it over but get 51 errors from build.sh.  I thought
perhaps it was due to the Java 1.5.0 JDK on that server so I installed
the latest 1.6 JDK but get the same errors.  JAVA_HOME is set.  Am I
missing some libraries?  I just want to get Tomcat compiled so I know
little about ant and have never had to try to build it before.  I also
tried the bootstrap.sh script which yields the same errors.  Thanks in
advance and I apologize if this is not the correct forum for this
question.

I won't include all 51 errors (available if it would help) but here
are the first and last two.:

bash-3.00$ sh build.sh -Ddist.dir=/opt/ant.1.8.0 dist
... Bootstrapping Ant Distribution
... Compiling Ant Classes
src/main/org/apache/tools/ant/types/AbstractFileSet.java:52: cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                             ^
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:23:
cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                             ^

 . . . .

src/main/org/apache/tools/ant/taskdefs/Sync.java:401: operator ==
cannot be applied to
org.apache.tools.ant.types.resources.Restrict,<nulltype>
            if (resources == null) {
                          ^
src/main/org/apache/tools/ant/taskdefs/Sync.java:404: cannot find symbol
symbol  : method add(org.apache.tools.ant.types.resources.Restrict)
location: class org.apache.tools.ant.taskdefs.Sync.MyCopy
                myCopy.add(resources);
                      ^

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by "J. Joseph Felten" <jj...@googlemail.com>.
Permission denied:  I probably tried to build it earlier with a
different user id.  I'm sure I didn't have that permission error the
first time(s).  I was extremely rushed Friday and didn't notice.

Tar I'll have to check in to Monday.  It has been long enough I can't
swear whether I typed tar or gtar when I extracted it.  I could have
easily typed 'tar' out of habit.  Good catch, I'll try that Monday.
Thanks.

On Sat, Apr 3, 2010 at 7:28 AM, Stefan Bodewig <bo...@apache.org> wrote:
> On 2010-04-02, J. Joseph Felten <jj...@googlemail.com> wrote:
>
>> -bash-3.00$ ./build.sh
>> ... Bootstrapping Ant Distribution
>> rm: Unable to remove directory build/classes: Permission denied
>
> sounds suspicious.  Why is that?
>
>> ... Compiling Ant Classes
>> src/main/org/apache/tools/ant/types/AbstractFileSet.java:52: cannot find symbol
>> symbol  : class ModifiedSelector
>> location: package org.apache.tools.ant.types.selectors.modifiedselector
>> import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
>>                                                             ^
>
> you should have a file
> src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
> is it there?  If not, it is a pretty long path, probably one of the
> files you are missing if you use our tar archive and extract it with
> anything other than GNU tar.  From the download page:
>
> ,----
> | Ant is distributed as zip, tar.gz and tar.bz2 archives - the contents
> | are the same. Please note that the tar.* archives contain file names
> | longer than 100 characters and have been created using GNU tar
> | extensions. Thus they must be untarred with a GNU compatible version of
> | tar.
> `----
>
> Unless you have GNU tar around you better use the ZIP file (jar should
> be able to extract them): <http://ant.apache.org/faq.html#no-gnu-tar>
>
> If this is not the issue, what do your JAVA_HOME, ANT_HOME and CLASSPATH
> env variables look like (if they are set at all) and is there anything
> in $HOME/.ant/ ?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-04-05, J. Joseph Felten <jj...@googlemail.com> wrote:

> That must have been it.  I guntarred a fresh source tree and was able
> to build ant on Solaris 10 SPARC.

Great.

> I had to go find junit before it would build.  I thought that was
> optional but apparently not, or at least not with just taking the
> defaults.

This is probably true since we build a test support jar in the default
build process.  JUnit is checked into our source tree but we don't
distribute it - I'll look into our documentation on building Ant to make
sure this is documented properly.

Thanks

        Stefan

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by "J. Joseph Felten" <jj...@googlemail.com>.
That must have been it.  I guntarred a fresh source tree and was able
to build ant on Solaris 10 SPARC.  I had to go find junit before it
would build.  I thought that was optional but apparently not, or at
least not with just taking the defaults.

Thanks

Now on to the dependency hell of building the latest tomcat . . .

On Sat, Apr 3, 2010 at 7:28 AM, Stefan Bodewig <bo...@apache.org> wrote:
> On 2010-04-02, J. Joseph Felten <jj...@googlemail.com> wrote:
>
>> -bash-3.00$ ./build.sh
>> ... Bootstrapping Ant Distribution
>> rm: Unable to remove directory build/classes: Permission denied
>
> sounds suspicious.  Why is that?
>
>> ... Compiling Ant Classes
>> src/main/org/apache/tools/ant/types/AbstractFileSet.java:52: cannot find symbol
>> symbol  : class ModifiedSelector
>> location: package org.apache.tools.ant.types.selectors.modifiedselector
>> import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
>>                                                             ^
>
> you should have a file
> src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
> is it there?  If not, it is a pretty long path, probably one of the
> files you are missing if you use our tar archive and extract it with
> anything other than GNU tar.  From the download page:
>
> ,----
> | Ant is distributed as zip, tar.gz and tar.bz2 archives - the contents
> | are the same. Please note that the tar.* archives contain file names
> | longer than 100 characters and have been created using GNU tar
> | extensions. Thus they must be untarred with a GNU compatible version of
> | tar.
> `----
>
> Unless you have GNU tar around you better use the ZIP file (jar should
> be able to extract them): <http://ant.apache.org/faq.html#no-gnu-tar>
>
> If this is not the issue, what do your JAVA_HOME, ANT_HOME and CLASSPATH
> env variables look like (if they are set at all) and is there anything
> in $HOME/.ant/ ?
>
> Stefan

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-04-02, J. Joseph Felten <jj...@googlemail.com> wrote:

> -bash-3.00$ ./build.sh
> ... Bootstrapping Ant Distribution
> rm: Unable to remove directory build/classes: Permission denied

sounds suspicious.  Why is that?

> ... Compiling Ant Classes
> src/main/org/apache/tools/ant/types/AbstractFileSet.java:52: cannot find symbol
> symbol  : class ModifiedSelector
> location: package org.apache.tools.ant.types.selectors.modifiedselector
> import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
>                                                             ^

you should have a file
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
is it there?  If not, it is a pretty long path, probably one of the
files you are missing if you use our tar archive and extract it with
anything other than GNU tar.  From the download page:

,----
| Ant is distributed as zip, tar.gz and tar.bz2 archives - the contents
| are the same. Please note that the tar.* archives contain file names
| longer than 100 characters and have been created using GNU tar
| extensions. Thus they must be untarred with a GNU compatible version of
| tar.
`----

Unless you have GNU tar around you better use the ZIP file (jar should
be able to extract them): <http://ant.apache.org/faq.html#no-gnu-tar>

If this is not the issue, what do your JAVA_HOME, ANT_HOME and CLASSPATH
env variables look like (if they are set at all) and is there anything
in $HOME/.ant/ ?

Stefan

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by "J. Joseph Felten" <jj...@googlemail.com>.
Here you go.  Hot off the press.

-bash-3.00$ ./build.sh
... Bootstrapping Ant Distribution
rm: Unable to remove directory build/classes: Permission denied
rm: Unable to remove directory build: File exists
... Compiling Ant Classes
src/main/org/apache/tools/ant/types/AbstractFileSet.java:52: cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                            ^
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:23:
cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                            ^
src/main/org/apache/tools/ant/types/selectors/BaseSelectorContainer.java:30:
cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                            ^
src/main/org/apache/tools/ant/types/AbstractFileSet.java:780: cannot find symbol
symbol  : class ModifiedSelector
location: class org.apache.tools.ant.types.AbstractFileSet
    public void addModified(ModifiedSelector selector) {
                            ^
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:178:
cannot find symbol
symbol  : class ModifiedSelector
location: interface org.apache.tools.ant.types.selectors.SelectorContainer
    void addModified(ModifiedSelector selector);
                     ^
src/main/org/apache/tools/ant/types/selectors/BaseSelectorContainer.java:310:
cannot find symbol
symbol  : class ModifiedSelector
location: class org.apache.tools.ant.types.selectors.BaseSelectorContainer
    public void addModified(ModifiedSelector selector) {
                            ^
src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java:29:
cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                            ^
src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java:304:
cannot find symbol
symbol  : class ModifiedSelector
location: class org.apache.tools.ant.types.selectors.AbstractSelectorContainer
    public void addModified(ModifiedSelector selector) {
                            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:29: cannot
find symbol
symbol  : class ResourceSelectorContainer
location: package org.apache.tools.ant.types.resources.selectors
import org.apache.tools.ant.types.resources.selectors.ResourceSelectorContainer;
                                                     ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:38: cannot
find symbol
symbol: class ResourceSelectorContainer
    extends ResourceSelectorContainer implements ResourceCollection {
            ^
src/main/org/apache/tools/ant/types/resources/Sort.java:31: cannot find symbol
symbol  : class DelegatedResourceComparator
location: package org.apache.tools.ant.types.resources.comparators
import org.apache.tools.ant.types.resources.comparators.DelegatedResourceComparator;
                                                       ^
src/main/org/apache/tools/ant/types/resources/Sort.java:44: cannot find symbol
symbol  : class DelegatedResourceComparator
location: class org.apache.tools.ant.types.resources.Sort
    private DelegatedResourceComparator comp = new
DelegatedResourceComparator();
            ^
src/main/org/apache/tools/ant/taskdefs/MatchingTask.java:48: cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                            ^
src/main/org/apache/tools/ant/taskdefs/MatchingTask.java:424: cannot find symbol
symbol  : class ModifiedSelector
location: class org.apache.tools.ant.taskdefs.MatchingTask
    public void addModified(ModifiedSelector selector) {
                            ^
src/main/org/apache/tools/ant/taskdefs/Delete.java:61: cannot find symbol
symbol  : class ModifiedSelector
location: package org.apache.tools.ant.types.selectors.modifiedselector
import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
                                                            ^
src/main/org/apache/tools/ant/taskdefs/Delete.java:496: cannot find symbol
symbol  : class ModifiedSelector
location: class org.apache.tools.ant.taskdefs.Delete
    public void addModified(ModifiedSelector selector) {
                            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:49: cannot
find symbol
symbol: method getSelectors()
                for (Iterator i = getSelectors(); i.hasNext();) {
                                  ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:65: cannot
find symbol
symbol  : method isReference()
location: class org.apache.tools.ant.types.resources.Restrict
        if (isReference()) {
            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:66: cannot
find symbol
symbol  : method noChildrenAllowed()
location: class org.apache.tools.ant.types.resources.Restrict
            throw noChildrenAllowed();
                  ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:72: cannot
find symbol
symbol  : method setChecked(boolean)
location: class org.apache.tools.ant.types.resources.Restrict
        setChecked(false);
        ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:99: cannot
find symbol
symbol  : variable super
location: class org.apache.tools.ant.types.resources.Restrict
        super.add(s);
        ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:100:
invalidate(java.lang.Object) in
org.apache.tools.ant.types.resources.FailFast cannot be applied to
(org.apache.tools.ant.types.resources.Restrict)
        FailFast.invalidate(this);
                ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:108:
cannot find symbol
symbol  : method isReference()
location: class org.apache.tools.ant.types.resources.Restrict
        if (isReference()) {
            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:109:
cannot find symbol
symbol  : method getCheckedRef()
location: class org.apache.tools.ant.types.resources.Restrict
            return ((Restrict) getCheckedRef()).iterator();
                               ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:111:
dieOnCircularReference(java.util.Stack,org.apache.tools.ant.Project)
in org.apache.tools.ant.types.resources.Restrict cannot be applied to
()
        dieOnCircularReference();
        ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:120:
cannot find symbol
symbol  : method isReference()
location: class org.apache.tools.ant.types.resources.Restrict
        if (isReference()) {
            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:121:
cannot find symbol
symbol  : method getCheckedRef()
location: class org.apache.tools.ant.types.resources.Restrict
            return ((Restrict) getCheckedRef()).size();
                               ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:123:
dieOnCircularReference(java.util.Stack,org.apache.tools.ant.Project)
in org.apache.tools.ant.types.resources.Restrict cannot be applied to
()
        dieOnCircularReference();
        ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:132:
cannot find symbol
symbol  : method isReference()
location: class org.apache.tools.ant.types.resources.Restrict
        if (isReference()) {
            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:133:
cannot find symbol
symbol  : method getCheckedRef()
location: class org.apache.tools.ant.types.resources.Restrict
            return ((Restrict) getCheckedRef()).isFilesystemOnly();
                               ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:135:
dieOnCircularReference(java.util.Stack,org.apache.tools.ant.Project)
in org.apache.tools.ant.types.resources.Restrict cannot be applied to
()
        dieOnCircularReference();
        ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:144:
cannot find symbol
symbol  : method isReference()
location: class org.apache.tools.ant.types.resources.Restrict
        if (isReference()) {
            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:145:
cannot find symbol
symbol  : method getCheckedRef()
location: class org.apache.tools.ant.types.resources.Restrict
            return getCheckedRef().toString();
                   ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:147:
dieOnCircularReference(java.util.Stack,org.apache.tools.ant.Project)
in org.apache.tools.ant.types.resources.Restrict cannot be applied to
()
        dieOnCircularReference();
        ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:152:
cannot find symbol
symbol  : method isChecked()
location: class org.apache.tools.ant.types.resources.Restrict
        if (isChecked()) {
            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:157:
cannot find symbol
symbol  : variable super
location: class org.apache.tools.ant.types.resources.Restrict
        super.dieOnCircularReference(stk, p);
        ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:159:
cannot find symbol
symbol  : method isReference()
location: class org.apache.tools.ant.types.resources.Restrict
        if (!isReference()) {
             ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:160:
cannot find symbol
symbol  : method
pushAndInvokeCircularReferenceCheck(org.apache.tools.ant.types.resources.BaseResourceCollectionWrapper,java.util.Stack,org.apache.tools.ant.Project)
location: class org.apache.tools.ant.types.resources.Restrict
            pushAndInvokeCircularReferenceCheck(w, stk, p);
            ^
src/main/org/apache/tools/ant/types/resources/Restrict.java:161:
cannot find symbol
symbol  : method setChecked(boolean)
location: class org.apache.tools.ant.types.resources.Restrict
            setChecked(true);
            ^
src/main/org/apache/tools/ant/types/resources/Sort.java:44: cannot find symbol
symbol  : class DelegatedResourceComparator
location: class org.apache.tools.ant.types.resources.Sort
    private DelegatedResourceComparator comp = new
DelegatedResourceComparator();
                                                   ^
src/main/org/apache/tools/ant/taskdefs/Checksum.java:291: operator ==
cannot be applied to
org.apache.tools.ant.taskdefs.Checksum.FileUnion,<nulltype>
        resources = (resources == null) ? new FileUnion() : resources;
                               ^
src/main/org/apache/tools/ant/taskdefs/Checksum.java:327: operator ==
cannot be applied to
org.apache.tools.ant.taskdefs.Checksum.FileUnion,<nulltype>
        if (file == null && (resources == null || resources.size() == 0)) {
                                       ^
src/main/org/apache/tools/ant/taskdefs/Checksum.java:331: operator ==
cannot be applied to
org.apache.tools.ant.taskdefs.Checksum.FileUnion,<nulltype>
        if (!(resources == null || resources.isFilesystemOnly())) {
                        ^
src/main/org/apache/tools/ant/taskdefs/Checksum.java:349: operator !=
cannot be applied to
org.apache.tools.ant.taskdefs.Checksum.FileUnion,<nulltype>
            if (resources != null) {
                          ^
src/main/org/apache/tools/ant/taskdefs/Checksum.java:395: operator !=
cannot be applied to
org.apache.tools.ant.taskdefs.Checksum.FileUnion,<nulltype>
            if (resources != null) {
                          ^
src/main/org/apache/tools/ant/taskdefs/Concat.java:877: incompatible types
found   : org.apache.tools.ant.types.resources.Restrict
required: org.apache.tools.ant.types.ResourceCollection
        return result;
               ^
src/main/org/apache/tools/ant/taskdefs/Delete.java:662: cannot find symbol
symbol  : method add(org.apache.tools.ant.types.resources.Restrict)
location: class org.apache.tools.ant.types.resources.Sort
            s.add(exists);
             ^
src/main/org/apache/tools/ant/taskdefs/DependSet.java:231:
logMissing(org.apache.tools.ant.types.ResourceCollection,java.lang.String)
in org.apache.tools.ant.taskdefs.DependSet cannot be applied to
(org.apache.tools.ant.taskdefs.DependSet.NonExistent,java.lang.String)
            logMissing(missingTargets, "target");
            ^
src/main/org/apache/tools/ant/taskdefs/DependSet.java:243:
logMissing(org.apache.tools.ant.types.ResourceCollection,java.lang.String)
in org.apache.tools.ant.taskdefs.DependSet cannot be applied to
(org.apache.tools.ant.taskdefs.DependSet.NonExistent,java.lang.String)
            logMissing(missingSources, "source");
            ^
src/main/org/apache/tools/ant/taskdefs/Sync.java:401: operator ==
cannot be applied to
org.apache.tools.ant.types.resources.Restrict,<nulltype>
            if (resources == null) {
                          ^
src/main/org/apache/tools/ant/taskdefs/Sync.java:404: cannot find symbol
symbol  : method add(org.apache.tools.ant.types.resources.Restrict)
location: class org.apache.tools.ant.taskdefs.Sync.MyCopy
                myCopy.add(resources);
                      ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
51 errors
... Failed compiling Ant classes !
Bootstrap FAILED
-bash-3.00$ uname -a
SunOS u45jjf 5.10 Generic_141414-08 sun4u sparc SUNW,A70
-bash-3.00$ cat /etc/release
                       Solaris 10 8/07 s10s_u4wos_12b SPARC
           Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 16 August 2007
-bash-3.00$ javac -version
javac 1.6.0_18
-bash-3.00$


On Thu, Apr 1, 2010 at 3:01 PM,  <Ja...@rzf.fin-nrw.de> wrote:
> I think the whole output (from your command until Ant has finished) could be helpful.
>
> Jan

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


AW: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by Ja...@rzf.fin-nrw.de.
I think the whole output (from your command until Ant has finished) could be helpful.

Jan

>-----Ursprüngliche Nachricht-----
>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com] 
>Gesendet: Donnerstag, 1. April 2010 08:35
>An: Ant Developers List
>Betreff: Re: Does ant 1.8.0 compile on Solaris 10 SPARC?
>
>I posted the first 2 and last 2 errors in the original message.  The
>rest are similar.  I can post them all if that would help?

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by "J. Joseph Felten" <jj...@googlemail.com>.
I posted the first 2 and last 2 errors in the original message.  The
rest are similar.  I can post them all if that would help?

On Thu, Apr 1, 2010 at 5:40 AM,  <Ja...@rzf.fin-nrw.de> wrote:
> Could you post the output?
>
> Jab
>
>>-----Ursprüngliche Nachricht-----
>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>Gesendet: Mittwoch, 31. März 2010 17:45
>>An: Ant Developers List
>>Betreff: Re: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>
>>Thanks.  That is what I did.  I downloaded the latest ant source.  I
>>just tried the build the basic ant without any auxiliary jars.  All I
>>need ant for at this point is compiling Apache Tomcat, but when I try
>>to build ant I get those errors I reported.  51 of them total.  I've
>>tried it with both JDK 1.5 and the latest JDK 1.6.
>>
>>Sounds like ant simply won't build on Solaris 10 SPARC?
>>
>>On Wed, Mar 31, 2010 at 5:50 AM,  <Ja...@rzf.fin-nrw.de> wrote:
>>> I never had tried to build Ant on Solaris - because I have
>>no such system ;-)
>>> So these are my opinions:
>>> - Ant should be buildable on Solaris too
>>> - Ant requires Java 1.4+
>>> - Ant does not require any external libs for building - if
>>not present it skips these classes/jars
>>>
>>> So
>>> - download the sources
>>> - hava a JDK 1.4+ on your PATH (or the Solaris equivalent ;-)
>>> - place the external jars in your ANT_SOURCES/lib directory
>>> - open a shell in your ANT_SOURCES directory (the dir where
>>Ants buildfile is)
>>> - start "build dist"
>>>
>>> This uses the "build.sh" wrapper which
>>> - starts "bootstrap.sh" for compiling the most required Ant
>>classes directly via javac
>>> - builds a distribution using these compiled classes
>>>
>>>
>>> Jan
>>>
>>>>-----Ursprüngliche Nachricht-----
>>>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>>>Gesendet: Dienstag, 30. März 2010 16:27
>>>>An: Ant Developers List
>>>>Betreff: Re: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>>>
>>>>Security concerns; otherwise personally I would love to.
>>>>
>>>>On Tue, Mar 30, 2010 at 1:09 PM,  <Ja...@rzf.fin-nrw.de> wrote:
>>>>> Why cant you use the binary version?
>>>>> http://ant.apache.org/bindownload.cgi
>>>>>
>>>>>
>>>>> Jan
>>>>>
>>>>>>-----Ursprüngliche Nachricht-----
>>>>>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>>>>>Gesendet: Montag, 29. März 2010 15:17
>>>>>>An: dev@ant.apache.org
>>>>>>Betreff: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>>>>>
>>>>>>Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4,
>>>>>>sun4u)?  I actually wanted to compile the latest Tomcat on a
>>>>server on
>>>>>>a private network, but building Tomcat requires ant >= 1.6
>>>>and the ant
>>>>>>that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8
>>>>>>source and moved it over but get 51 errors from build.sh.
>>I thought
>>>>>>perhaps it was due to the Java 1.5.0 JDK on that server so I
>>>>installed
>>>>>>the latest 1.6 JDK but get the same errors.  JAVA_HOME is
>>set.  Am I
>>>>>>missing some libraries?  I just want to get Tomcat
>>compiled so I know
>>>>>>little about ant and have never had to try to build it
>>>>before.  I also
>>>>>>tried the bootstrap.sh script which yields the same errors.
>>> Thanks in
>>>>>>advance and I apologize if this is not the correct forum for this
>>>>>>question.
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>>>For additional commands, e-mail: dev-help@ant.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: dev-help@ant.apache.org
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


AW: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by Ja...@rzf.fin-nrw.de.
Could you post the output?

Jab 

>-----Ursprüngliche Nachricht-----
>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com] 
>Gesendet: Mittwoch, 31. März 2010 17:45
>An: Ant Developers List
>Betreff: Re: Does ant 1.8.0 compile on Solaris 10 SPARC?
>
>Thanks.  That is what I did.  I downloaded the latest ant source.  I
>just tried the build the basic ant without any auxiliary jars.  All I
>need ant for at this point is compiling Apache Tomcat, but when I try
>to build ant I get those errors I reported.  51 of them total.  I've
>tried it with both JDK 1.5 and the latest JDK 1.6.
>
>Sounds like ant simply won't build on Solaris 10 SPARC?
>
>On Wed, Mar 31, 2010 at 5:50 AM,  <Ja...@rzf.fin-nrw.de> wrote:
>> I never had tried to build Ant on Solaris - because I have 
>no such system ;-)
>> So these are my opinions:
>> - Ant should be buildable on Solaris too
>> - Ant requires Java 1.4+
>> - Ant does not require any external libs for building - if 
>not present it skips these classes/jars
>>
>> So
>> - download the sources
>> - hava a JDK 1.4+ on your PATH (or the Solaris equivalent ;-)
>> - place the external jars in your ANT_SOURCES/lib directory
>> - open a shell in your ANT_SOURCES directory (the dir where 
>Ants buildfile is)
>> - start "build dist"
>>
>> This uses the "build.sh" wrapper which
>> - starts "bootstrap.sh" for compiling the most required Ant 
>classes directly via javac
>> - builds a distribution using these compiled classes
>>
>>
>> Jan
>>
>>>-----Ursprüngliche Nachricht-----
>>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>>Gesendet: Dienstag, 30. März 2010 16:27
>>>An: Ant Developers List
>>>Betreff: Re: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>>
>>>Security concerns; otherwise personally I would love to.
>>>
>>>On Tue, Mar 30, 2010 at 1:09 PM,  <Ja...@rzf.fin-nrw.de> wrote:
>>>> Why cant you use the binary version?
>>>> http://ant.apache.org/bindownload.cgi
>>>>
>>>>
>>>> Jan
>>>>
>>>>>-----Ursprüngliche Nachricht-----
>>>>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>>>>Gesendet: Montag, 29. März 2010 15:17
>>>>>An: dev@ant.apache.org
>>>>>Betreff: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>>>>
>>>>>Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4,
>>>>>sun4u)?  I actually wanted to compile the latest Tomcat on a
>>>server on
>>>>>a private network, but building Tomcat requires ant >= 1.6
>>>and the ant
>>>>>that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8
>>>>>source and moved it over but get 51 errors from build.sh.  
>I thought
>>>>>perhaps it was due to the Java 1.5.0 JDK on that server so I
>>>installed
>>>>>the latest 1.6 JDK but get the same errors.  JAVA_HOME is 
>set.  Am I
>>>>>missing some libraries?  I just want to get Tomcat 
>compiled so I know
>>>>>little about ant and have never had to try to build it
>>>before.  I also
>>>>>tried the bootstrap.sh script which yields the same errors.
>> Thanks in
>>>>>advance and I apologize if this is not the correct forum for this
>>>>>question.
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>>For additional commands, e-mail: dev-help@ant.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by "J. Joseph Felten" <jj...@googlemail.com>.
Thanks.  That is what I did.  I downloaded the latest ant source.  I
just tried the build the basic ant without any auxiliary jars.  All I
need ant for at this point is compiling Apache Tomcat, but when I try
to build ant I get those errors I reported.  51 of them total.  I've
tried it with both JDK 1.5 and the latest JDK 1.6.

Sounds like ant simply won't build on Solaris 10 SPARC?

On Wed, Mar 31, 2010 at 5:50 AM,  <Ja...@rzf.fin-nrw.de> wrote:
> I never had tried to build Ant on Solaris - because I have no such system ;-)
> So these are my opinions:
> - Ant should be buildable on Solaris too
> - Ant requires Java 1.4+
> - Ant does not require any external libs for building - if not present it skips these classes/jars
>
> So
> - download the sources
> - hava a JDK 1.4+ on your PATH (or the Solaris equivalent ;-)
> - place the external jars in your ANT_SOURCES/lib directory
> - open a shell in your ANT_SOURCES directory (the dir where Ants buildfile is)
> - start "build dist"
>
> This uses the "build.sh" wrapper which
> - starts "bootstrap.sh" for compiling the most required Ant classes directly via javac
> - builds a distribution using these compiled classes
>
>
> Jan
>
>>-----Ursprüngliche Nachricht-----
>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>Gesendet: Dienstag, 30. März 2010 16:27
>>An: Ant Developers List
>>Betreff: Re: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>
>>Security concerns; otherwise personally I would love to.
>>
>>On Tue, Mar 30, 2010 at 1:09 PM,  <Ja...@rzf.fin-nrw.de> wrote:
>>> Why cant you use the binary version?
>>> http://ant.apache.org/bindownload.cgi
>>>
>>>
>>> Jan
>>>
>>>>-----Ursprüngliche Nachricht-----
>>>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>>>Gesendet: Montag, 29. März 2010 15:17
>>>>An: dev@ant.apache.org
>>>>Betreff: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>>>
>>>>Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4,
>>>>sun4u)?  I actually wanted to compile the latest Tomcat on a
>>server on
>>>>a private network, but building Tomcat requires ant >= 1.6
>>and the ant
>>>>that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8
>>>>source and moved it over but get 51 errors from build.sh.  I thought
>>>>perhaps it was due to the Java 1.5.0 JDK on that server so I
>>installed
>>>>the latest 1.6 JDK but get the same errors.  JAVA_HOME is set.  Am I
>>>>missing some libraries?  I just want to get Tomcat compiled so I know
>>>>little about ant and have never had to try to build it
>>before.  I also
>>>>tried the bootstrap.sh script which yields the same errors.
> Thanks in
>>>>advance and I apologize if this is not the correct forum for this
>>>>question.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


AW: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by Ja...@rzf.fin-nrw.de.
I never had tried to build Ant on Solaris - because I have no such system ;-)
So these are my opinions:
- Ant should be buildable on Solaris too
- Ant requires Java 1.4+
- Ant does not require any external libs for building - if not present it skips these classes/jars

So 
- download the sources
- hava a JDK 1.4+ on your PATH (or the Solaris equivalent ;-)
- place the external jars in your ANT_SOURCES/lib directory
- open a shell in your ANT_SOURCES directory (the dir where Ants buildfile is)
- start "build dist"

This uses the "build.sh" wrapper which
- starts "bootstrap.sh" for compiling the most required Ant classes directly via javac
- builds a distribution using these compiled classes


Jan

>-----Ursprüngliche Nachricht-----
>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com] 
>Gesendet: Dienstag, 30. März 2010 16:27
>An: Ant Developers List
>Betreff: Re: Does ant 1.8.0 compile on Solaris 10 SPARC?
>
>Security concerns; otherwise personally I would love to.
>
>On Tue, Mar 30, 2010 at 1:09 PM,  <Ja...@rzf.fin-nrw.de> wrote:
>> Why cant you use the binary version?
>> http://ant.apache.org/bindownload.cgi
>>
>>
>> Jan
>>
>>>-----Ursprüngliche Nachricht-----
>>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>>Gesendet: Montag, 29. März 2010 15:17
>>>An: dev@ant.apache.org
>>>Betreff: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>>
>>>Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4,
>>>sun4u)?  I actually wanted to compile the latest Tomcat on a 
>server on
>>>a private network, but building Tomcat requires ant >= 1.6 
>and the ant
>>>that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8
>>>source and moved it over but get 51 errors from build.sh.  I thought
>>>perhaps it was due to the Java 1.5.0 JDK on that server so I 
>installed
>>>the latest 1.6 JDK but get the same errors.  JAVA_HOME is set.  Am I
>>>missing some libraries?  I just want to get Tomcat compiled so I know
>>>little about ant and have never had to try to build it 
>before.  I also
>>>tried the bootstrap.sh script which yields the same errors.  
Thanks in
>>>advance and I apologize if this is not the correct forum for this
>>>question.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Re: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by "J. Joseph Felten" <jj...@googlemail.com>.
Security concerns; otherwise personally I would love to.

On Tue, Mar 30, 2010 at 1:09 PM,  <Ja...@rzf.fin-nrw.de> wrote:
> Why cant you use the binary version?
> http://ant.apache.org/bindownload.cgi
>
>
> Jan
>
>>-----Ursprüngliche Nachricht-----
>>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com]
>>Gesendet: Montag, 29. März 2010 15:17
>>An: dev@ant.apache.org
>>Betreff: Does ant 1.8.0 compile on Solaris 10 SPARC?
>>
>>Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4,
>>sun4u)?  I actually wanted to compile the latest Tomcat on a server on
>>a private network, but building Tomcat requires ant >= 1.6 and the ant
>>that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8
>>source and moved it over but get 51 errors from build.sh.  I thought
>>perhaps it was due to the Java 1.5.0 JDK on that server so I installed
>>the latest 1.6 JDK but get the same errors.  JAVA_HOME is set.  Am I
>>missing some libraries?  I just want to get Tomcat compiled so I know
>>little about ant and have never had to try to build it before.  I also
>>tried the bootstrap.sh script which yields the same errors.  Thanks in
>>advance and I apologize if this is not the correct forum for this
>>question.

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


AW: Does ant 1.8.0 compile on Solaris 10 SPARC?

Posted by Ja...@rzf.fin-nrw.de.
Why cant you use the binary version?
http://ant.apache.org/bindownload.cgi


Jan 

>-----Ursprüngliche Nachricht-----
>Von: J. Joseph Felten [mailto:jjfelten@googlemail.com] 
>Gesendet: Montag, 29. März 2010 15:17
>An: dev@ant.apache.org
>Betreff: Does ant 1.8.0 compile on Solaris 10 SPARC?
>
>Has anyone successfully built ant 1.8.0 on Solaris 10 SPARC (u4,
>sun4u)?  I actually wanted to compile the latest Tomcat on a server on
>a private network, but building Tomcat requires ant >= 1.6 and the ant
>that comes with Solaris 10 is 1.5.4, so I downloaded the ant 1.8
>source and moved it over but get 51 errors from build.sh.  I thought
>perhaps it was due to the Java 1.5.0 JDK on that server so I installed
>the latest 1.6 JDK but get the same errors.  JAVA_HOME is set.  Am I
>missing some libraries?  I just want to get Tomcat compiled so I know
>little about ant and have never had to try to build it before.  I also
>tried the bootstrap.sh script which yields the same errors.  Thanks in
>advance and I apologize if this is not the correct forum for this
>question.
>
>I won't include all 51 errors (available if it would help) but here
>are the first and last two.:
>
>bash-3.00$ sh build.sh -Ddist.dir=/opt/ant.1.8.0 dist
>... Bootstrapping Ant Distribution
>... Compiling Ant Classes
>src/main/org/apache/tools/ant/types/AbstractFileSet.java:52: 
>cannot find symbol
>symbol  : class ModifiedSelector
>location: package org.apache.tools.ant.types.selectors.modifiedselector
>import 
>org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
>                                                             ^
>src/main/org/apache/tools/ant/types/selectors/SelectorContainer
>.java:23:
>cannot find symbol
>symbol  : class ModifiedSelector
>location: package org.apache.tools.ant.types.selectors.modifiedselector
>import 
>org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
>                                                             ^
>
> . . . .
>
>src/main/org/apache/tools/ant/taskdefs/Sync.java:401: operator ==
>cannot be applied to
>org.apache.tools.ant.types.resources.Restrict,<nulltype>
>            if (resources == null) {
>                          ^
>src/main/org/apache/tools/ant/taskdefs/Sync.java:404: cannot 
>find symbol
>symbol  : method add(org.apache.tools.ant.types.resources.Restrict)
>location: class org.apache.tools.ant.taskdefs.Sync.MyCopy
>                myCopy.add(resources);
>                      ^
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>

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