Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ Configuring Allatori code confusion when developing general Java applications in NetBeans     - Generators and iterators in Python (Programming)

- Binary search and modification (Programming)

- Crawl use Wireshark packet on remote Linux (Linux)

- To build PHP environment (Nginx + MariaDB + PHP7) under CentOS 6.5 (Server)

- Linux environment to build next Cocos2dx-3.3.1 (Linux)

- HttpClient4 usage upgrade from HttpClient3 (Programming)

- Understand ASP.NET 5 running the command: DNVM, DNX, and DNU (Server)

- Why use Docker (Programming)

- Java memory area and memory overflow exception (Programming)

- Two minutes thoroughly so that you understand Android Activity Lifecycle (Programming)

- Download Manager uGet 2.0 installed in Debian, Ubuntu, Linux Mint and Fedora (Linux)

- When Linux Detailed time zone and common function of time (Linux)

- How to install Visual Studio Code on Ubuntu (Linux)

- Spring multi data source configuration (Programming)

- How to use the DM-Crypt encryption Linux File System (Linux)

- Use Visual Studio 2015 to develop Android program (Programming)

- To install the Contiki development toolchain on Ubuntu (Linux)

- Linux password file security issues detailed usage (Linux)

- Executable file format Explanation under Linux (Linux)

- Introduction and bash history command to quickly call (Linux)

 
         
  Configuring Allatori code confusion when developing general Java applications in NetBeans
     
  Add Date : 2018-11-21      
         
         
         
  To take advantage of the general development of Java applications in NetBeans Allatori code confusion, set a little simpler than IntelliJ IDEA, first create a subdirectory named allatori in the NetBeans Project hard disk directory, Allatori own jar files are copied to this subdirectory. Then create a file called config-allatori.xml in the project directory, that Allatori own confusion configuration file whose contents can refer to the following, can also be used as a template:

< ? Xml version = "1.0" encoding = "UTF-8"?>
< Config>
    < Jars>
        < Jar in = "dist /? Test.jar" out = "dist / test-obfuscated.jar" />
    < / Jars>

    < Classpath>
        < Jar name = "lib / third-lib.jar" />
    < / Classpath>

    < Keep-names>
        < Class template = "class MainJFrame">
            < Method template = "public main (**)" />
        < / Class>
    < / Keep-names>

    < Property name = "log-file" value = "log.xml" />
< / Config>

Note here that, test.jar line 4 is the ultimate compilation of your project generated jar, where I assume you project called test, so the resulting jar certainly test.jar, and we specify obfuscated jar named test -obfuscated.jar. Therefore, to be determined according to your actual situation.

Then modify the project's build.xml file, this file is also within the project directory, in the build.xml "" on line add the following:

1 < target name = "- post-jar">
2 < taskdef name = "allatori" classname = "com.allatori.ant.ObfuscatorTask" classpath = "allatori / allatori.jar" />
3 < allatori config = "$ {basedir} /config-allatori.xml" />
4 < / target>

Note that the first 3 lines must be $ {basedir}, if not always reported find config-allatori.xml file errors.

Now, you can compile the project in NetBeans build and dist directory under the project jar file, you can see with the word "-obfuscated", that is obfuscated version.
     
         
         
         
  More:      
 
- SQL Server automatic backup script (Database)
- MySQL high availability cluster fragmentation of deployment uses Fabric (Database)
- Ubuntu install ruby (Linux)
- To install MySQL 5.6 binary packages under CentOS 6.4 64bit (Database)
- Java Learning: elegant string (Programming)
- Linux maximum number of threads and limit the number of queries the current thread (Linux)
- CentOS7 compile and install Tengine + PHP + MariaDB notes (Server)
- Clojure programming languages: take full advantage of the Clojure plug-in Eclipse (Programming)
- Oracle EBS R12 for Linux installation (Database)
- Install Oracle database error process of [INS-35172] (Database)
- Oracle 12c users create (Database)
- Linux network security backdoor technology and advanced skill practice (Linux)
- Spark On YARN cluster installation deployment (Server)
- expdp reported ORA-39181 Export Processing Method (Database)
- DRBD daily management (Server)
- using Docker Kitematic on windows (Linux)
- Spark parquet merge metadata problem (Server)
- Use custom backup plans for Debian backupninja (Linux)
- MySQLbinlog combat on using data recovery (Database)
- To install Cinnamon desktop environment on your Ubuntu 14.04 / 12.04 (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.