Skip to content

Commit e2b1b75

Browse files
committed
add additional path reference name in ant build
1 parent ad4d38a commit e2b1b75

File tree

1 file changed

+7
-1
lines changed
  • autoload/javacomplete/classpath

1 file changed

+7
-1
lines changed

autoload/javacomplete/classpath/ant.vim

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@ let s:antXmlTemplate = [
66
\ ' <condition property="vjc-project-condition">',
77
\ ' <isreference refid="project.classpath"/>',
88
\ ' </condition>',
9+
\ ' <condition property="vjc-classpath-condition">',
10+
\ ' <isreference refid="classpath"/>',
11+
\ ' </condition>',
912
\ ' </target>',
1013
\ ' <target name="vjc-netbeans-classpath" depends="vjc-test-conditions" if="vjc-netbeans-condition">',
1114
\ ' <property name="javavi.classpath" value="${javac.classpath}" />',
1215
\ ' </target>',
1316
\ ' <target name="vjc-project-classpath" depends="vjc-test-conditions" if="vjc-project-condition">',
1417
\ ' <property name="javavi.classpath" refid="project.classpath"/>',
1518
\ ' </target>',
16-
\ ' <target name="vjc-printclasspath" depends="vjc-project-classpath,vjc-netbeans-classpath">',
19+
\ ' <target name="vjc-classpath" depends="vjc-test-conditions" if="vjc-classpath-condition">',
20+
\ ' <property name="javavi.classpath" refid="project.classpath"/>',
21+
\ ' </target>',
22+
\ ' <target name="vjc-printclasspath" depends="vjc-project-classpath,vjc-netbeans-classpath,vjc-classpath">',
1723
\ ' <echo message="${javavi.classpath}"/>',
1824
\ ' </target>']
1925

0 commit comments

Comments
 (0)