블로그 이미지

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
  • total
  • today
  • yesterday
2014. 1. 18. 17:20 JAVA언어/applet
자바스크립트에서 자바 메소드 콜
posted by 천상의날개
2014. 1. 18. 17:17 JAVA언어/applet
Code
posted by 천상의날개
2014. 1. 18. 17:15 JAVA언어/applet
java Code[testValue 변수는 맴버 변수로 선언해야함.]
posted by 천상의날개
2014. 1. 18. 17:12 JAVA언어/applet

<dependency>
    <groupId>sun.plugin</groupId>
    <artifactId>plugin</artifactId>
    <version>1.6</version>
    <scope>system</scope>
    <systemPath>C:\Java\jre6/lib/plugin.jar</systemPath>
 </dependency>

posted by 천상의날개
2014. 1. 18. 17:10 JAVA언어/applet

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 <modelVersion>4.0.0</modelVersion>
 <groupId>com.test</groupId>
 <artifactId>applet</artifactId>
 <version>0.0.1-SNAPSHOT</version>
 <dependencies>
  <dependency>
   <groupId>org.apache.httpcomponents</groupId>
   <artifactId>httpclient</artifactId>
   <version>4.3.1</version>
  </dependency>
  <dependency>
   <groupId>sun.plugin</groupId>
   <artifactId>plugin</artifactId>
   <version>1.6</version>
   <scope>system</scope>
   <systemPath>${java.home}/lib/plugin.jar</systemPath>
  </dependency>
 </dependencies>
 <build> 

  <plugins>   
   <plugin>
    <artifactId>maven-jar-plugin</artifactId>
    <configuration>
     <archive>
      <addMavenDescriptor>false</addMavenDescriptor>
     </archive>
    </configuration>
   </plugin>  
   
   <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <version>2.2.1</version>
    <configuration>
     <descriptorRefs>
      <descriptorRef>jar-with-dependencies</descriptorRef>
     </descriptorRefs>
     <outputDirectory>${basedir}\..\appletTest\WebContent\applet\</outputDirectory>     
     <finalName>applet</finalName>
     <appendAssemblyId>false</appendAssemblyId>
    </configuration>
    <executions>
     <execution>
      <id>make-assembly</id> <!-- this is used for inheritance merges -->
      <phase>package</phase> <!-- bind to the packaging phase -->
      <goals>
       <goal>single</goal>
      </goals>
     </execution>
    </executions>
   </plugin>
   
   <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jarsigner-plugin</artifactId>
    <version>1.3</version>
    <executions>
     <execution>
      <id>sign</id>
      <goals>
       <goal>sign</goal>
      </goals>
     </execution>
    </executions>
    <configuration>
     <keystore>${basedir}\src\main\resources\test.keystore</keystore>
     <alias>testalias</alias>
     <storepass>testpss</storepass>
     <keypass>testpss</keypass>
    </configuration>
   </plugin>
  </plugins>
 </build>
</project>

posted by 천상의날개