I wonder if this could have anything to do with the libraries themselves
being obfuscated, thus why some stuff can't be found. Is there any way to
prevent these from being obfuscated? I know of the easiest way, and that
would be for all the jar's to sit outside of the main application .jar,
however I would like to keep them inside. Other than that, I can't really
think of why this would be happening...

On Wed, Jul 2, 2008 at 08:51, Mikel Cármenes Cavia <[EMAIL PROTECTED]> wrote:

> Hmm, I am still getting the same error/warning messages after adding that
> to my POM. It seems like the jar's specified in the POM are being included,
> judging from this:
>
> *[INFO] proguard jar: C:\Documents and
> Settings\Mikel\.m2\repository\net\sf\proguard\proguard\4.1\proguard-4.1.jar
>  [proguard] ProGuard, version 4.1
>  [proguard] Reading input...
>  [proguard] Reading program jar
> [C:\iBuilder~Storage\GITSYSTEMS\target\GITSYSTEMS-1.0-jar-with-dependencies.jar]
> (filtered)
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\AbsoluteLayout\AbsoluteLayout\1.0.1\AbsoluteLayout-1.0.1.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\ant\ant\1.6.5\ant-1.6.5.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\org\antlr\antlr\2.7.6\antlr-2.7.6.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\org\apache\ant\ant-antlr\1.6.5\ant-antlr-1.6.5.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\cglib\cglib-nodep\2.1_3\cglib-nodep-2.1_3.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\commons-collections\commons-collections\2.1.1\commons-collections-2.1.1.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\commons-digester\commons-digester\1.7\commons-digester-1.7.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\concurrent\concurrent\1.3.2\concurrent-1.3.2.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\gnujaxp\gnujaxp\1.0.0\gnujaxp-1.0.0.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\org\hibernate\hibernate\3.2.6.ga
> \hibernate-3.2.6.ga.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\net\sf\ehcache\ehcache\1.2.3\ehcache-1.2.3.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\javax\transaction\jta\1.0.1\jta-1.0.1.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\asm\asm-attrs\1.5.3\asm-attrs-1.5.3.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\cglib\cglib\2.1_3\cglib-2.1_3.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\asm\asm\1.5.3\asm-1.5.3.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\ini4j\ini4j\0.3.2\ini4j-0.3.2.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\jacob\jacob\1.14\jacob-1.14.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\net\sf\jasperreports\jasperreports\3.0.0\jasperreports-3.0.0.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\jfree\jfreechart\1.0.9\jfreechart-1.0.9.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\jfree\jcommon\1.0.12\jcommon-1.0.12.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\jna\jna\3.0.3\jna-3.0.3.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\log4j\log4j\1.2.11\log4j-1.2.11.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\mysql-connector-java\mysql-connector-java\5.0.3\mysql-connector-java-5.0.3.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\poi\poi\2.5.1-final-20040804\poi-2.5.1-final-20040804.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\servlet\servlet\4.1.31\servlet-4.1.31.jar]
>  [proguard] Reading library jar [C:\Documents and
> Settings\Mikel\.m2\repository\swingx\swingx\0.9.3\swingx-0.9.3.jar]
>  [proguard] Reading library jar [C:\Program
> Files\Java\jdk1.6.0_06\jre\lib\rt.jar]
>  [proguard] Reading library jar [C:\Program
> Files\Java\jdk1.6.0_06\jre\lib\jsse.jar]
>  [proguard] Initializing...
> *
>
> However, I then get a series of warnings, and then the whole process ends,
> with the following messages:
>
> *...
> [proguard] Warning: there were 33 unresolved references to superclasses or
> interfaces.
>  [proguard]          You may need to specify additional library jars (using
> '-libraryjars'),
>  [proguard]          or perhaps the '-dontskipnonpubliclibraryclasses'
> option.
>  [proguard] Warning: there were 27 unresolved references to program class
> members.
>  [proguard]          Your input classes appear to be inconsistent.
>  [proguard]          You may need to recompile them and try again.
>  [proguard]          Alternatively, you may have to specify the options
>  [proguard]          '-dontskipnonpubliclibraryclasses' and/or
>  [proguard]          '-dontskipnonpubliclibraryclassmembers'.
>  [proguard] java.io.IOException: Please correct the above warnings first.
>  [proguard]     at proguard.Initializer.execute(Initializer.java:277)
>  [proguard]     at proguard.ProGuard.initialize(ProGuard.java:210)
>  [proguard]     at proguard.ProGuard.execute(ProGuard.java:85)
>  [proguard]     at proguard.ProGuard.main(ProGuard.java:499)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Obfuscation failed (result=1)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 2 seconds
> [INFO] Finished at: Wed Jul 02 08:47:01 ADT 2008
> [INFO] Final Memory: 11M/23M
> [INFO]
> ------------------------------------------------------------------------
> *
>
> I have already tried specifying the suggested options, to no avail.
>
> I'm gonna go ahead and post in the pyx4me mailing list. Thanks anyways, and
> if anyone has any idea why this is happening, please let me know!
>
> Cheers.
>
>
> On Wed, Jul 2, 2008 at 06:43, Dirk Olmes <[EMAIL PROTECTED]> wrote:
>
>> Mikel Cármenes Cavia wrote:
>>
>>> Isn't that feature enabled automatically?
>>>
>>
>> It definitely is if you specify it in your POM.
>>
>> > I thought that Maven took care of
>>
>>> the dependencies specified in the POM by passing these over to
>>> ProGuard...
>>> It'd be lovely to get this all to work!
>>>
>>
>> I'm pretty sure that the plugin works as I use at - albeit a little bit
>> different due to different requirements.
>>
>>
>> -dirk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

Reply via email to