0

我正在使用 appassembler 为 solaris-sparc-64 生成 shell 脚本,但不知何故它失败了。它给出以下警告信息。

[WARNING] Lib file for wrapper-windows-x86-32 not found in map.
[WARNING] Lib file for solaris-sparc-32-exec not found in map.
[WARNING] Lib file for solaris-sparc-64-exec not found in map.
[WARNING] Exec file for wrapper-windows-x86-32 not found in map.
[WARNING] Exec file for solaris-sparc-32-exec not found in map.
[WARNING] Exec file for solaris-sparc-64-exec not found in map.

它不会为 solaris 创建任何脚本文件。谁能帮帮我吗?

        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>appassembler-maven-plugin</artifactId>
            <version>1.2.2</version>
            <executions>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>generate-daemons</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <daemons>
                    <daemon>
                        <id>app</id>
                        <mainClass>com.app.MainApp</mainClass>
                        <jvmSettings>
                            <extraArguments>
                                <extraArgument>-DENVIRONMENT=00</extraArgument>
                            </extraArguments>
                        </jvmSettings>
                        <platforms>
                            <platform>jsw</platform>
                        </platforms>
                        <generatorConfigurations>
                            <generatorConfiguration>
                                <generator>jsw</generator>
                                <includes>
                                    <include>linux-x86-32</include>
                                    <include>wrapper-windows-x86-32</include>
                                    <include>solaris-sparc-32-exec</include>
                                    <include>solaris-sparc-64-exec</include>
                                </includes>
                            </generatorConfiguration>
                        </generatorConfigurations>
                    </daemon>
                </daemons>
            </configuration>
        </plugin>
4

1 回答 1

0

我建议从配置中包含的平台中删除“-exec”部分和“wrapper-”前缀。此外,如果这些信息是从文档中提取的?如果是的话,如果您将问题提交到跟踪系统中,我将不胜感激。

于 2012-05-30T07:04:30.037 回答