Questions tagged [yguard]

41 questions
1
vote
1 answer

Spring boot :unable to open nested entry 'WEB-INF/lib-provided/ecj-3.12.3.jar'

I am trying to obfuscate the spring boot application. Package : war I was following the ant script approach with yguard Link : http://codeaweso.me/2009/02/obfuscating-a-webapp-war-file-with-yguard-and-ant/ Project…
mahesh
  • 909
  • 2
  • 18
  • 37
1
vote
1 answer

When adding a YGuard Target to an ANT build in NetBeans, exactly where in the build.xml file should the YGuard Ant Target be placed?

When adding YGuard Ant Target xml to build.xml in NetBeans, exactly where in the build.xml file should the YGuard Ant Target xml be placed? Or, should the YGuard Ant Target xml be placed somewhere else? I've placed the YGuard Ant Target xml in the…
65535
  • 523
  • 1
  • 10
  • 32
1
vote
1 answer

When compiling a Yguard Ant target in IntelliJ, there is an Error: The type doesn't support nested text data ("")

When compiling a Yguard Ant target in IntelliJ, there is an Error: "The type doesn't support nested text data ("")". Any help on fixing the cause of this error would be greatly appreciated. Here is the YGuard Ant Target:
65535
  • 523
  • 1
  • 10
  • 32
1
vote
0 answers

Intelliguard, the YGuard based Obfuscation plugin for IntelliJ, seems totally awesome, but fails to work, and gives "Icon cannot be found" error

Intelliguard, the YGuard based Obfuscation plugin for IntelliJ, seems totally awesome, but fails to work, and gives "Icon cannot be found" error. https://plugins.jetbrains.com/plugin/4511?pr=idea https://code.google.com/p/intelliguard/ After…
65535
  • 523
  • 1
  • 10
  • 32
1
vote
1 answer

How obfuscate part of code?

I try to obfuscate my project, but not all code. I try obfuscate only code from 1 package. How can i do it in yguard (or somewhere else, proguard?)? Thanks!
EK.
  • 2,890
  • 9
  • 36
  • 49
1
vote
1 answer

Converting yGuard Ant task to gradle

I am porting a project build from ANT to Gradle. Everything has been done exception the obfuscation part, the obfuscation task in build.xml is as:
Amir Pashazadeh
  • 7,170
  • 3
  • 39
  • 69
1
vote
1 answer

yGuard Obfuscate code in case insensitive file system as Windows

I try to obfuscase my JAR file in Windows by yGuard but classes in the same package are renamed to the same name (ignored case). Ex.: MyCookieUtils.class => A.class MyFormatterUtils.class => a.class Windows can recognize only one file with name…
Loi Cao
  • 503
  • 4
  • 7
1
vote
1 answer

NoSuchMapping exception while trying to obfuscate

I'm trying to obfuscate some jar files with yGuard. The shrink task seems to work fine, but the first rename throws an exception. Obfuscating Jar C:\work\jars\yguard_temp_8318169257227053930.jar to base_obf.jar [rename] An error ('No mapping…
Mare Infinitus
  • 8,024
  • 8
  • 64
  • 113
1
vote
1 answer

Java obfuscation using yGuard with a Service Provider Interface in the mix

I'm having trouble obfuscating a java library with yGuard. A part of this library is supposed to be an implementation of a Service Provider Interface (SPI) and as such needs to be excluded from the obfuscation process. The non-obfuscated version of…
predi
  • 5,528
  • 32
  • 60
1
vote
1 answer

yguard remove default type constructor

I have some problem with the yguard library when i make an obfuscated jar. Yguard remove default contructor type like this (no parameters, no visibility) : Test(){ } Do you know why it remove this type of constructor ? And do you have…
Delildor
  • 346
  • 4
  • 13
0
votes
1 answer

Is it possible to manage logs through Obfuscation with yGuard?

I obfuscated a java web application and I ran into some trouble as below: I have alot of uresolved external classes even though I have included in the ant build xml the external jar this way:
GingerHead
  • 8,130
  • 15
  • 59
  • 93
0
votes
1 answer

yguard keep can't specify more than 1 class element

After keep for public api, I can't include classes belonging to a sub package, see com.example.protocol.* below