Menu

#13 resource file copy does not work

closed-fixed
None
5
2003-01-11
2003-01-07
Daniel Grob
No

When I have as outjar a filename from the injars then I
get the following messages:

[java] ProGuard, version 1.4
[java] Reading program jar [dist-trial/ulc-
5.1.1/environment/standalone/lib/ulc-standalone-
client.jar]
[java] Reading library jar
[/usr/local/java/jdk1.3.1/jre/lib/rt.jar]
[java] Reading library jar [dist-trial/ulc-
5.1.1/base/lib/ulc-base-development.jar]
[java] Reading library jar [dist-trial/ulc-
5.1.1/container/servlet/lib/ulc-servlet-client.jar]
[java] Writing output jar [dist-trial/ulc-
5.1.1/environment/standalone/lib/ulc-standalone-
client.jar]...
[java] Can't write [dist-trial/ulc-
5.1.1/environment/standalone/lib/ulc-standalone-
client.jar]

The last message states that ulc-standalone-client.jar
could not be written. What really happens is that all
class files are obfuscated but the resource files have
been removed!

Related

Bugs: #650

Discussion

  • Eric Lafortune

    Eric Lafortune - 2003-01-07
    • assigned_to: nobody --> lafortune
     
  • Eric Lafortune

    Eric Lafortune - 2003-01-07

    Logged In: YES
    user_id=555208

    As you may have guessed, the output jar must be different
    from all input jars. I've updated the manual and added a
    check in the code.

    ProGuard reads all class files from the input jars,
    processes them, and writes them to the output jar, reading
    and appending any resource files along the way. Of course,
    things go wrong if the input jar containing the resource
    files is already being overwritten by the output jar.

    Eric.

     
  • Eric Lafortune

    Eric Lafortune - 2003-01-11
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB