jocky 代码混淆失败

sinat_34045734 2016-04-15 09:26:54
公司里的java项目,是spring+mybatis+maven 建的项目, 使用jocky 显示编译成功,可是没有找到相应的编译后的文件。研究了好几天不知道咋回事,自己建了各项目是可以的,为什么公司的项目不可以。大神门 求解啊~~

这是公司的项目,混淆后找不到文件:



下面是自己建的项目,这个项目就有混淆之后的文件,我反编译看过没问题:

...全文
207 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
lxq200811 2017-03-14
  • 打赏
  • 举报
回复
我也出现了这个问题 不知楼主解决了吗
sinat_34045734 2016-04-15
  • 打赏
  • 举报
回复
这是项目生产的 XML文件: <?xml version="1.0" encoding="gbk" standalone="no"?> <!-- WARNING: Jocky autogenerated file. Any modifications will be overwritten. --><project basedir="." default="build" name="CloudTop.jocky"> <property name="jocky.jar" value="E:\eclipse\plugins\org.apusic.jocky_1.0.3\jocky.jar"/> <property name="jocky.output.dir" value="jocky"/> <property name="jocky.scramble.level" value="package"/> <property name="target" value="1.5"/> <property name="CloudTop.location" value="E:/toplion/CloudTop"/> <path id="project.classpath"> <pathelement location="target/classes"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-web/4.0.6.RELEASE/spring-web-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-aop/4.0.6.RELEASE/spring-aop-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-beans/4.0.6.RELEASE/spring-beans-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-context/4.0.6.RELEASE/spring-context-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-core/4.0.6.RELEASE/spring-core-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/net/sf/json-lib/json-lib/2.4/json-lib-2.4-jdk15.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/cglib/cglib/2.2.2/cglib-2.2.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/junit/junit/4.11/junit-4.11.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-aspects/4.0.6.RELEASE/spring-aspects-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-webmvc/4.0.6.RELEASE/spring-webmvc-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-expression/4.0.6.RELEASE/spring-expression-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-context-support/4.0.6.RELEASE/spring-context-support-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/freemarker/freemarker/2.3.20/freemarker-2.3.20.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-mock/2.0.8/spring-mock-2.0.8.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/mybatis/mybatis/3.3.0/mybatis-3.3.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/mybatis/mybatis-spring/1.2.2/mybatis-spring-1.2.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/javax/persistence/persistence-api/1.0.2/persistence-api-1.0.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/mybatis/generator/mybatis-generator-core/1.3.2/mybatis-generator-core-1.3.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/mysql/mysql-connector-java/5.1.32/mysql-connector-java-5.1.32.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-tx/4.0.6.RELEASE/spring-tx-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-jdbc/4.0.6.RELEASE/spring-jdbc-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/apache/commons/commons-collections4/4.0/commons-collections4-4.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/springframework/spring-test/4.0.6.RELEASE/spring-test-4.0.6.RELEASE.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/quartz-scheduler/quartz/2.2.1/quartz-2.2.1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/aspectj/aspectjweaver/1.6.12/aspectjweaver-1.6.12.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-net/commons-net/3.3/commons-net-3.3.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/jstl/jstl/1.2/jstl-1.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/codehaus/jackson/jackson-core-lgpl/1.9.6/jackson-core-lgpl-1.9.6.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/com/jcraft/jsch/0.1.53/jsch-0.1.53.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/codehaus/jackson/jackson-mapper-lgpl/1.9.6/jackson-mapper-lgpl-1.9.6.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.5/jackson-mapper-asl-1.9.5.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/xom/xom/1.0/xom-1.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/jvnet/hudson/ganymed-ssh2/build210-hudson-1/ganymed-ssh2-build210-hudson-1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/apache/httpcomponents/httpclient/4.5/httpclient-4.5.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar"/> <pathelement location="C:/Users/toplion/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/commons-codec-1.9.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/urlrewrite-3.2.0.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/jna-4.2.0.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/libvirt0.5.2.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/libvmgr2.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/poi.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/ftp4j-1.7.2.jar"/> <pathelement location="${CloudTop.location}/src/main/webapp/WEB-INF/lib/YMU.jar"/> </path> <target name="init"> <jocky jar="${jocky.jar}" level="${jocky.scramble.level}"/> <mkdir dir="${jocky.output.dir}"/> <mkdir dir="${jocky.output.dir}/target/classes"/> </target> <target name="clean"> <delete dir="${jocky.output.dir}/target/classes"/> <delete dir="${jocky.output.dir}"/> </target> <target depends="init" name="build"> <echo message="${ant.project.name}: ${ant.file}"/> <jocky enable="true"/> <javac destdir="${jocky.output.dir}/target/classes" target="${target}" encoding="gbk" includeantruntime="on"> <src path="src/main/java/com/cloudtop/core/department"/> <exclude name="**"/> <classpath refid="project.classpath"/> </javac> </target> </project>

10,606

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 其他
社区管理员
  • 其他
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧