Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Christnowx
Gephi
提交
a65741c5
G
Gephi
项目概览
Christnowx
/
Gephi
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gephi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a65741c5
编写于
9月 07, 2015
作者:
M
Mathieu Bastian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Configure the replacevistaicon execution on Travis as well
上级
fa106120
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
28 addition
and
4 deletion
+28
-4
.travis.yml
.travis.yml
+7
-1
modules/application/pom.xml
modules/application/pom.xml
+20
-2
pom.xml
pom.xml
+1
-1
未找到文件。
.travis.yml
浏览文件 @
a65741c5
...
...
@@ -28,8 +28,14 @@ install:
-
chmod +x ./iscc
-
sudo cp ./iscc /usr/local/bin/iscc
# Install ReplaceVistaIcon.exe
-
cp modules/application/src/main/app-resources/ReplaceVistaIcon.exe ~/".wine/drive_c/ReplaceVistaIcon.exe"
-
printf '#!/bin/sh\nunset DISPLAY\nexecutable=$1\niconfile=$2\niconid=$3\nwine "C:\ReplaceVistaIcon.exe" "$executable" "$iconfile" "$iconid"' > replacevistaicon
-
chmod +x ./replacevistaicon
-
sudo cp ./replacevistaicon /usr/local/bin/replacevistaicon
# Setup Maven's settings.xml
-
echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server><server><id>netbeans</id><configuration><httpConfiguration><get><readTimeout>300000</readTimeout><connectionTimeout>300000</connectionTimeout></get></httpConfiguration></configuration></server></servers></settings>" > ~/settings.xml
script
:
-
travis_retry mvn --settings ~/settings.xml -Djava.awt.headless=true -Dgpg.skip=true clean
install
-P deployment,create-dmg,create-exe
-
travis_retry mvn --settings ~/settings.xml -Djava.awt.headless=true -Dgpg.skip=true clean
deploy
-P deployment,create-dmg,create-exe
modules/application/pom.xml
浏览文件 @
a65741c5
...
...
@@ -796,8 +796,9 @@
<goal>
run
</goal>
</goals>
<configuration>
<!--
Windows-only t
arget that replaces the icon for the launcher exe with our own icon. -->
<!--
T
arget that replaces the icon for the launcher exe with our own icon. -->
<target
name=
"replaceWindowsLauncherIcon"
description=
"Replace the icon for the Windows launcher exe"
>
<!-- Windows -->
<echo
message=
"Replacing icon of Windows launcher executable."
/>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
os=
"Windows"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe gephi.ico 0"
/>
...
...
@@ -811,6 +812,21 @@
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
os=
"Windows"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}64.exe gephifile.ico 1"
/>
</exec>
<!-- Linux (assuming the right wine configuration) -->
<echo
message=
"Replacing icon of Windows launcher executable."
/>
<exec
dir=
"src/main/app-resources"
executable=
"replacevistaicon"
os=
"Linux"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe gephi.ico 0"
/>
</exec>
<exec
dir=
"src/main/app-resources"
executable=
"replacevistaicon"
os=
"Linux"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe gephifile.ico 1"
/>
</exec>
<exec
dir=
"src/main/app-resources"
executable=
"replacevistaicon"
os=
"Linux"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}64.exe gephi.ico 0"
/>
</exec>
<exec
dir=
"src/main/app-resources"
executable=
"replacevistaicon"
os=
"Linux"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}64.exe gephifile.ico 1"
/>
</exec>
</target>
</configuration>
</execution>
...
...
@@ -824,10 +840,12 @@
<target>
<delete
file=
"${project.artifactId}-${project.version}.setup.exe"
failonerror=
"false"
/>
<!-- Windows -->
<exec
dir=
"${project.build.directory}"
executable=
"${gephi.innosetup.path}/Compil32.exe"
os=
"Windows"
>
<arg
line=
"/cc '${brandingToken}.iss'"
/>
</exec>
<!-- Linux (assuming the right wine configuration) -->
<exec
dir=
"${project.build.directory}"
executable=
"iscc"
os=
"Linux"
>
<arg
line=
"${brandingToken}.iss"
/>
</exec>
...
...
pom.xml
浏览文件 @
a65741c5
...
...
@@ -997,7 +997,7 @@
<executions>
<execution>
<id>
attach-javadocs
</id>
<phase>
deploy
</phase>
<phase>
package
</phase>
<goals>
<goal>
jar
</goal>
</goals>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录