How to make eclipse “File Search” to also search inside source jars containing some text?

Recently discovered the following plugin has beta support for searching into linked source jars: https://github.com/ajermakovics/eclipse-instasearch You have to enable searching source jars in the preferences as it is turned off by default. Depending on how much source you have, the indexing process is very slow, but then search is very fast. I have an Eclipse … Read more

Creating a bundle jar with ant

In my target, I have something like this: <jar destfile=”https://stackoverflow.com/questions/1821803/${store.dir}/temp_final.jar” filesetmanifest=”skip”> <zipgroupfileset dir=”dist” includes=”*.jar”/> <zipgroupfileset dir=”dist/lib” includes=”*.jar” excludes=””/> <manifest> <attribute name=”Main-Class” value=”${main.class}”/> <attribute name=”Class-Path” value=”${mf.classpath}”/> </manifest> </jar> And here is how I build my classpath: <path id=”build.classpath”> <fileset dir=”${basedir}/”> <include name=”${lib.dir}/*.jar”/> </fileset> </path> <pathconvert property=”mf.classpath” pathsep=” “> <path refid=”build.classpath”/> <mapper> <chainedmapper> <flattenmapper/> <globmapper from=”*.jar” to=”lib/*.jar”/> … Read more

How to add a dependency to a Spring Boot Jar in another project?

By default, Spring Boot repackages your JAR into an executable JAR, and it does that by putting all of your classes inside BOOT-INF/classes, and all of the dependent libraries inside BOOT-INF/lib. The consequence of creating this fat JAR is that you can no longer use it as a dependency for other projects. From Custom repackage … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)