History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-19462
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Zhuravlev
Reporter: Serge Baranov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Ant: good code is red

Created: 25 Jul 07 16:11   Updated: 26 Sep 07 19:08
Component/s: Ant Integration, Editor. Error Highlighting
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Also in Selena 7087

Build: 6,180
Severity: Medium


 Description  « Hide
Support feedback:

Part of ant's build file:

<manifestclasspath property="jar.classpath" jarfile="${deploy.output.dir}/Localizer.jar">
            <classpath>
                <path>
                    <fileset dir="${deploy.output.dir}/${lib.dir}">
                        <include name="*.jar"/>
                        <exclude name="junit*"/>
                    </fileset>
                </path>
            </classpath>
        </manifestclasspath>
        <jar destfile="${deploy.output.dir}/Localizer.jar" basedir="${production.build.dir}">
            <manifest>
                <attribute name="Main-Class" value="${jar.main.class}"/>
                <attribute name="Class-Path" value="${jar.classpath}" />
            </manifest>
        </jar>

IDEA reports error & tells that property "jar.classpath" is undefined, what actually isn't true. Moreover, if I'll define this property
explicitly, Ant will report error, since "manifestclasspath" task must use property, that wasn't defined yet.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 26 Jul 07 19:25
Issue is also actual in Selena 7092.
ManifectClassPath.setProperty() has plain String argument, so, reflection cannot say, is this a property definition or anything.