adsense728x90


MonkeyTalk source code build 시도 Java


source code를 build하고 싶은데, 방법을 잘 모르겠다. 설명이 거의 없다.
전체가 maven을 이용하도록 돼 있다.
doc/notes/manual_release.txt 대로 실행하면, 왠만한 건 된다.

version을 1.0.58에서 1.0.5.beta3 으로 다 바꾸고, mvn clean install 하기

2. Update the IDE via tycho (mostly works)

cd monkeytalk-ide

mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.0.5.beta3

는 잘 안된다.


[ERROR]     Non-resolvable parent POM: Could not transfer artifact com.gorillalogic.monkeytalk:monkeytalk:pom:1.0.58 from/to eclipse-helios (http://download.eclipse.org/releases/helios): No connector available to access repository eclipse-helios (http://download.eclipse.org/releases/helios) of type p2 using the available factories WagonRepositoryConnectorFactory and 'parent.relativePath' points at wrong local POM @ line 10, column 10 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


These guys use the .qualifier (which should be correctly updated by tycho):

vi monkeytalk-ide-plugin/META-INF/MANIFEST.MF monkeytalk-ide-feature/feature.xml monkeytalk-ide-updatesite/site.xml monkeytalk-ide-product/MonkeyTalkIDE.product

는 안했다.



http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/
JAVA_HOME을 설정하고, mvn clean install

[INFO] monkeytalk ........................................ SUCCESS [0.292s]
[INFO] monkeytalk-api .................................... SUCCESS [5.361s]
[INFO] monkeytalk-meta ................................... SUCCESS [6.351s]
[INFO] monkeytalk-core ................................... SUCCESS [9.479s]
[INFO] monkeytalk-js ..................................... SUCCESS [5.485s]
[INFO] monkeytalk-processor .............................. SUCCESS [13.139s]
[INFO] monkeytalk-api-impl ............................... SUCCESS [5.407s]
[INFO] monkeytalk-api-doc ................................ SUCCESS [1.117s]
[INFO] monkeytalk-agent .................................. SUCCESS [27.303s]
[INFO] monkeytalk-web-recorder ........................... SUCCESS [0.398s]
[INFO] monkeytalk-agent-html ............................. SUCCESS [1:51.386s]
[INFO] monkeytalk-agent-flex-swc ......................... SUCCESS [0.313s]
[INFO] monkeytalk-runner ................................. SUCCESS [19.659s]
[INFO] monkeytalk-shell .................................. SUCCESS [5.973s]
[INFO] monkeytalk-ant .................................... SUCCESS [16.579s]
[INFO] monkeytalk-java ................................... SUCCESS [9.739s]
[INFO] monkeytalk-releaser ............................... SUCCESS [0.004s]
[INFO] monkeytalk-web-tester ............................. SUCCESS [19.202s]

끝난 다음에
cd monkeytalk-ide
mvn clean install 
하는데, 실패..
WARNING] Missing POM for com.gorillalogic.monkeytalk.ide.swing2swt:swing2swt:jar:1.0
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve project dependencies: Missing:
[ERROR] ----------
[ERROR] 1) com.gorillalogic.monkeytalk.ide.swing2swt:swing2swt:jar:1.0

com.gorillalogic.monkeytalk.ide.swing2swt 가 repository에 없다..

에서는 다른 방식을 쓰길래, 따라해보려고 해봤다.

<packaging>eclipse-plugin</packaging>

을 지웠다.

http://stackoverflow.com/questions/17639162/unknown-packaging-eclipse-plugin-in-maven

는 잘 모르겠다.


대신

<distributionManagement>

    <repository>

        <url>http://simiiformes.gorillalogic.com:8080/artifactory/release</url>

    </repository>

</distributionManagement>

를 넣었다.


잘 되다가 안되는 것 같다.

하다가 말았다.

maven이 참 좋은데, 내가 손대고 싶지는 않네.


eclipse 에서는 maven update project 가 안되고,

console에서 maven clean install


eclipse에 설치할 것은 README_eclipse.txt에 적혀 있다.
eclipse pde 환경이 있어야 하므로, rcp용 eclipse를 쓴다.
adt도 설치했다. 다른 eclipse랑 DDMS port 가 충돌이 난다. T_T









덧글

댓글 입력 영역