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


when compiling yguard ant target in intellij, there error: "the <yguard> type doesn't support nested text data ("")". on fixing cause of error appreciated.

here yguard ant target:

<target  name="yguard">         <taskdef name="yguard" classname="com.yworks.yguard.yguardtask" classpath="yguard.jar"/>         <yguard>             <inoutpair in="/users/user/ideaprojects/java.jar" out="/users/user/ideaprojects/java_obf.jar"/>         </yguard>     </target> 

the solution seems to change encoding, remove invisible characters aren't being processed ide, come copying , pasting. pasted code komodo editor, changed encoding iso-8859-1, pasted build.xml , error went away.

there more information on correcting error:

convert dos line endings linux line endings in vim

clean source code files of invisible characters

https://superuser.com/questions/560014/vim-remove-bad-hidden-characters


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -