I should have tried that first.  I did and I get some errors, so that's not
quite it.  Any advice?

 

Thanks!

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jose Blanco
Sent: Friday, April 06, 2007 3:12 PM
To: [email protected]
Subject: [Dspace-tech] compilation warning.

 

As of my upgrade to 1.4.1, I get the following warning when I build the war
file:

 

    [javac]
/l1/dspace/build/prod/dspace/src/org/dspace/app/oai/DIDLCrosswalk.java:55:
warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in
a future release

    [javac] import sun.misc.BASE64Encoder;

    [javac]                ^

    [javac]
/l1/dspace/build/prod/dspace/src/org/dspace/app/oai/DIDLCrosswalk.java:238:
warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in
a future release

    [javac]                                     BASE64Encoder
encoder=(BASE64Encoder)
Class.forName("sun.misc.BASE64Encoder").newInstance();

    [javac]                                     ^

    [javac]
/l1/dspace/build/prod/dspace/src/org/dspace/app/oai/DIDLCrosswalk.java:238:
warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in
a future release

    [javac]                                     BASE64Encoder
encoder=(BASE64Encoder)
Class.forName("sun.misc.BASE64Encoder").newInstance();

    [javac]                                                            ^

    [javac] Note: Some input files use or override a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

[javac] 3 warnings

 

Should I change my build command to include  -Xlint:deprecation, like shown
below?

 

/l/local/bin/ant -Xlint:deprecation -Dconfig=/a_directory/dspace.cfg
build_wars

 

 

Many thanks!

 

Jose

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to