Browse Source

Anything won't hel.

Still dead jar error
main
Vítězslav Dvořák 2 months ago
parent
commit
1eeb3a2a5b
  1. 19
      build.xml
  2. 5
      src/main/nbm/manifest.mf
  3. 8
      target/classes/META-INF/MANIFEST.MF
  4. 4
      target/maven-archiver/pom.properties

19
build.xml

@ -2,7 +2,7 @@
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project name="com.vitexsoftware.netbeans.modules.php.versionswitch" default="netbeans" basedir=".">
<project name="com.vitexsoftware.netbeans.modules.php.versionswitch" default="netbeans" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
<description>Builds, tests, and runs the project com.vitexsoftware.netbeans.modules.php.versionswitch.</description>
<import file="nbproject/build-impl.xml"/>
@ -17,6 +17,23 @@
</jar>
</target>
<available classname="org.apache.ivy.Main" property="ivy.installed"/>
<target name="install-ivy" description="Install ivy" unless="ivy.installed">
<mkdir dir="${user.home}/.ant/lib"/>
<get dest="${user.home}/.ant/lib/ivy.jar" src="http://search.maven.org/remotecontent?filepath=org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar"/>
<fail message="Ivy has been installed. Run the build again"/>
</target>
<target name="resolve" depends="install-ivy" description="Use ivy to resolve classpaths">
<ivy:cachepath pathid="compile.path">
<dependency org="org.hibernate" name="hibernate" rev="3.2.7.ga" conf="default">
<exclude org="javax.transaction"/>
</dependency>
</ivy:cachepath>
</target>
</project>

5
src/main/nbm/manifest.mf

@ -1,5 +0,0 @@
Manifest-Version: 1.0
OpenIDE-Module-Install: com/vitexsoftware/netbeans/modules/php/versionswitch/PHPSwitch.class
OpenIDE-Module-Layer: com/vitexsoftware/netbeans/modules/php/versionswitch/resources/layer.xml
OpenIDE-Module-Localizing-Bundle: com/vitexsoftware/netbeans/modules/php/versionswitch/Bundle.properties
OpenIDE-Module-Recommends: org.netbeans.modules.php.editor

8
target/classes/META-INF/MANIFEST.MF

@ -1,14 +1,12 @@
Manifest-Version: 1.0
OpenIDE-Module-Install: com/vitexsoftware/netbeans/modules/php/version
switch/Installer.class
OpenIDE-Module-Layer: com/vitexsoftware/netbeans/modules/php/versionsw
itch/resources/layer.xml
OpenIDE-Module-Localizing-Bundle: com/vitexsoftware/netbeans/modules/p
hp/versionswitch/Bundle.properties
OpenIDE-Module-Recommends: org.netbeans.modules.php.editor
OpenIDE-Module-Specification-Version: 0.1.1
OpenIDE-Module-Implementation-Version: 0.1.1
OpenIDE-Module-Build-Version: 202101230150
OpenIDE-Module-Specification-Version: 0.1.2
OpenIDE-Module-Implementation-Version: 0.1.2
OpenIDE-Module-Build-Version: 202102041846
OpenIDE-Module: com.vitexsoftware.netbeans.modules.php.versionswitch
OpenIDE-Module-Public-Packages: com.vitexsoftware.netbeans.modules.php
.versionswitch.*

4
target/maven-archiver/pom.properties

@ -1,4 +1,4 @@
#Created by Apache Maven 3.6.0
#Created by Apache Maven 3.6.3
groupId=com.vitexsoftware.netbeans.modules.php
artifactId=versionswitch
version=0.1.1
version=0.1.2
Loading…
Cancel
Save