标签: build

查找Eclipse构建的类文件

当Eclipse构建我的工作区时,我假设它创建了Java .class文件.还有什么应该部署到我运行的JBoss AS?

你知道我在哪里可以找到Eclipse临时创建的这些类文件吗?

java eclipse deployment build .class-file

0
推荐指数
1
解决办法
8592
查看次数

Xcode构建阶段

嘿,我正在我的应用程序上实现MD5校验和(用于防止二进制破解).我创建了一个命令行工具,它将为二进制文件生成哈希值,并将其添加到.app文件夹中.但是,我没有弄清楚如何将其添加为构建阶段.我没有运气就读过Apple的文档.任何人都可以解释我如何一步一步地做到这一点?

谢谢!

binary xcode checksum md5 build

0
推荐指数
1
解决办法
2014
查看次数

ANT读取现有的MANIFEST版本并附加到它上面

我需要编写一个ant build,它从META-INF/manifest.mf文件读入现有版本并附加到它.

应该可以使用ANT 清单任务进行更新,但是我在阅读现有版本时遇到了麻烦.

由于清单条目是use key:value而不是key = value,因此我无法使用ANT的loadproperties任务读取它们.

有没有人这样做/有任何想法?

谢谢

ant build manifest

0
推荐指数
1
解决办法
9590
查看次数

Bash脚本文件修改依赖性检查

我正在尝试在bash构建脚本中进行简单检查,以检查构建的文件XML是否比目录中的组件xml文件更新.

所以基本上我有一个带有10个XML文件的src /目录和一个从这些文件构建的final.xml.

检查final.xml的修改时间以确保它比src /中的文件更旧的简单方法是什么.

与ANT类似的东西

    <uptodate property="xml.build.notRequired" targetfile="${final.xml}">
        <srcfiles dir="${src.dir}" includes="**/*.xml" />
    </uptodate>
Run Code Online (Sandbox Code Playgroud)

或者Make文件的基本功能(但我宁愿在脚本中执行它而不是将Make/ANT作为依赖项添加).

bash shell scripting build

0
推荐指数
1
解决办法
747
查看次数

javac无效标志

我试图在命令提示符下执行此命令以查找我的构建错误.我已经分解的是,javac将文件名中的一个视为标志(选项),这就是为什么它无法执行.我该如何解决?

C:\Users\AUG>javac -verbose -classpath "C:\Program Files\MATLAB\R2010b\toolbox\j
avabuilder\jar\javabuilder.jar" -d "C:\Users\AUG\Documents\SourceTraceJAVA\Sourc
eTrace\src\classes" "C:\Users\AUG\Documents\SourceTraceJAVA\epanet2.h" "C:\Users
\AUG\Documents\SourceTrace\src\SourceTrace\SourceTrace.java" "C:\Users\AUG\Docum
ents\SourceTraceJAVA\SourceTrace\src\SourceTrace\SourceTraceMCRFactory.java" "C:
\Users\AUG\Documents\SourceTraceJAVA\SourceTrace\src\SourceTrace\SourceTraceRemo
te.java" "C:\Users\AUG\Documents\SourceTraceJAVA\SourceTrace\src\SourceTrace\pac
kage-info.java"
javac: invalid flag: C:\Users\AUG\Documents\SourceTraceJAVA\epanet2.h
Usage: javac <options> <source files>
use -help for a list of possible options
Run Code Online (Sandbox Code Playgroud)

它正在考虑将epanet2.h文件作为标志而不是文件.语法有什么问题吗?我该如何解决这个问题?

java build javac matlab-deployment

0
推荐指数
1
解决办法
1万
查看次数

使用Apache Ivy的自定义存储库,找不到解析器

似乎Apache ivy仅从http://mvnrepository.com/和其他几个地方下载工件,但所有的jar都在那里过时了.

所以我想为Ivy添加自定义存储库.我正在使用存储库Ivy RoundUp:http://code.google.com/p/ivyroundup/

这是我的配置,但收到错误:

build.xml文件:

<target name="update" depends="init-ivy" description="Download project dependencies">
    <!-- edited for brevity -->
    <ivy:settings file="ivysettings.xml" />
    <ivy:retrieve pattern="war/WEB-INF/lib/[artifact]-[revision].[ext]" />
    <!-- edited for brevity -->
</target>
Run Code Online (Sandbox Code Playgroud)

ivy.xml:

<ivy-module version="2.0">
    <info organisation="org.apache" module="hello-ivy"/>
    <dependencies>
        <dependency org="org.springframework" name="spring" rev="3.0.6" conf="default->master"/>

    </dependencies>
</ivy-module>
Run Code Online (Sandbox Code Playgroud)

ivysettings.xml:

<ivysettings>
    <resolvers>
        <packager name="roundup" buildRoot="${user.home}/.ivy2/packager/build" resourceCache="${user.home}/.ivy2/packager/cache">
            <ivy pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/ivy.xml"/>
            <artifact pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/packager.xml"/>
        </packager>
    </resolvers>
</ivysettings>
Run Code Online (Sandbox Code Playgroud)

错误:

Buildfile: C:\Users\Jansu\workspace\HibernateSpring\build.xml
build:
deploywar:
      [war] Building war: C:\Users\Jansu\workspace\HibernateSpring\hibernate.war
     [copy] Copying 1 file to C:\apache-tomcat-7.0.20\webapps
download-ivy:
      [get] Getting: …
Run Code Online (Sandbox Code Playgroud)

java ant jar build ivy

0
推荐指数
1
解决办法
8873
查看次数

在发布模式下构建项目而不更改构建模式?

我有很多项目的解决方案,默认构建配置管理器是Debug.

有时我需要在发布模式下只构建一个项目,所以它迫使我将解决方案构建模式更改为发布,这需要花费很长时间来更改它,并在构建之后切换回调试模式.

问题是如何在不执行上述阶段的情况下快速实现此目的?

谢谢.

build visual-studio-2010 visual-studio

0
推荐指数
1
解决办法
2574
查看次数

Python模块"psutil"无法在Windows 7 + VS2008SP1环境中构建

我在Windows 7(64位)上设置VS 2008 SP1并尝试构建psutil,出现以下错误.VS 2008已正确设置并且SP1已成功修补.

我根据包中的INSTALL文件运行了"python setup.py build"命令.

c:\src\psutil>python setup.py build --verbose
running build
running build_py
running build_ext
building '_psutil_mswindows' extension
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo
/INCREMENTAL:NO /LIBPATH:C:\python_26_amd64\files\libs /LIBPATH:C:\python_26_amd
64\files\PCbuild\amd64 psapi.lib kernel32.lib advapi32.lib shell32.lib netapi32.
lib iphlpapi.lib /EXPORT:init_psutil_mswindows build\temp.win-amd64-2.6\Release\
psutil/_psutil_mswindows.obj build\temp.win-amd64-2.6\Release\psutil/_psutil_com
mon.obj build\temp.win-amd64-2.6\Release\psutil/arch/mswindows/process_info.obj
build\temp.win-amd64-2.6\Release\psutil/arch/mswindows/process_handles.obj build
\temp.win-amd64-2.6\Release\psutil/arch/mswindows/security.obj /OUT:build\lib.wi
n-amd64-2.6\_psutil_mswindows.pyd /IMPLIB:build\temp.win-amd64-2.6\Release\psuti
l\_psutil_mswindows.lib /MANIFESTFILE:build\temp.win-amd64-2.6\Release\psutil\_p
sutil_mswindows.pyd.manifest
   Creating library build\temp.win-amd64-2.6\Release\psutil\_psutil_mswindows.lib and object build\temp.win-amd64-2.6\Release\psutil\_psutil_mswindows.exp_psutil_mswindows.obj : error LNK2019: unresolved external symbol __imp__Py_BuildValue referenced in function _get_system_uptime
process_info.obj : error LNK2001: unresolved external symbol …

windows build visual-studio

0
推荐指数
1
解决办法
2411
查看次数

这个行数在这个错误中意味着什么?

编译一些代码时,我收到如下错误:

endpointer.h:88:24: error: expected ‘)’ before ‘*’ token

什么:88:24意思?

c++ g++ build clang++

0
推荐指数
1
解决办法
136
查看次数

Xcode 4.3.2在构建时崩溃

我正在运行Lion(10.7.4)并运行Xcode 4.3.2,当我构建任何应用程序时,它会在构建时崩溃.以下是报告.有什么建议?

   Application Specific Information:
   ProductBuildVersion: 4E2002
   UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Couldn't load plug-in 'com.apple.dt.dbg.DebuggerLLDB' while firing fault for extension 'Xcode.DebuggerFoundation.Debugger.LLDB'
    UserInfo: {
    NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x402919560 {DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.dbg.DebuggerLLDB\U201d at path \U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d could not be loaded.  The plug-in or one of its prerequisite plug-ins may be missing or …
Run Code Online (Sandbox Code Playgroud)

crash xcode build quit osx-lion

0
推荐指数
1
解决办法
821
查看次数