Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d8d4f96
Membuat netbeans project
fahziar Nov 25, 2014
920e1a0
Memasukkan file index
fahziar Nov 25, 2014
7c89a8b
Tambahan View, Delete, Komentar
muzavan Nov 25, 2014
d20fdf4
Ada yang diedit sedikit
muzavan Nov 25, 2014
8f4159b
Konfigurasi web.xml agar bisa jsf dan jsp
fahziar Nov 27, 2014
870faa1
Login direalisasi
fahziar Nov 27, 2014
41d7847
Sebagian manajemen user direalisasi
fahziar Nov 27, 2014
0e424e2
tambah pengguna dan hapus pengguna direalisasi
fahziar Nov 29, 2014
ba8d0f0
list post direalisasi
fahziar Nov 30, 2014
876f809
Perbaikan header
fahziar Nov 30, 2014
256eb09
Perbaikan sorting post
fahziar Dec 1, 2014
f3e54d1
View Singular Post diedit
muzavan Dec 1, 2014
68edd5f
Merge https://github.com/IF3110-II-19/IF3110-02-Simple-Blog-Java
muzavan Dec 1, 2014
d822944
Tambah Recyle-Bin
muzavan Dec 1, 2014
32c97d0
Delete post diimplementasi
fahziar Dec 1, 2014
6a4aeec
Tambah Recyle-Bin
muzavan Dec 1, 2014
5657ea8
Edit user direalisasi
fahziar Dec 1, 2014
7f3de1b
Merge origin/master
fahziar Dec 1, 2014
81064b6
Link edit user direalisasi
fahziar Dec 1, 2014
e5fd697
new
denny-ah Dec 1, 2014
315a9de
New post selesai dikerjakan
fahziar Dec 1, 2014
dd663c6
new
denny-ah Dec 1, 2014
8bbbbe0
Perbaikan javascript pengecekan tanggal
fahziar Dec 1, 2014
886a6d5
Implementasi recycle bin.
fahziar Dec 1, 2014
154df5a
Perbaikan header
fahziar Dec 1, 2014
ecb472a
Perbaikan pesan delete
fahziar Dec 1, 2014
c30a337
Schema database
fahziar Dec 1, 2014
4c62988
Perbaikan akhir
fahziar Dec 1, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Simple-Blog" default="default" basedir=".">
<description>Builds, tests, and runs the project Simple-Blog.</description>
<import file="nbproject/build-impl.xml"/>
<!--

There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:

-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-dist: called before archive building
-post-dist: called after archive building
-post-clean: called after cleaning build products
-pre-run-deploy: called before deploying
-post-run-deploy: called after deploying

Example of pluging an obfuscator after the compilation could look like

<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>

For list of available properties check the imported
nbproject/build-impl.xml file.


Other way how to customize the build is by overriding existing main targets.
The target of interest are:

init-macrodef-javac: defines macro for javac compilation
init-macrodef-junit: defines macro for junit execution
init-macrodef-debug: defines macro for class debugging
do-dist: archive building
run: execution of project
javadoc-build: javadoc generation

Example of overriding the target for project execution could look like

<target name="run" depends="<PROJNAME>-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>

Notice that overridden target depends on jar target and not only on
compile target as regular run target does. Again, for list of available
properties which you can use check the target you are overriding in
nbproject/build-impl.xml file.

-->
</project>
2 changes: 2 additions & 0 deletions build/web/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

Empty file.
Empty file.
10 changes: 10 additions & 0 deletions build/web/WEB-INF/glassfish-web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app error-url="">
<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
<description>Keep a copy of the generated servlet class' java code.</description>
</property>
</jsp-config>
</glassfish-web-app>
Binary file not shown.
27 changes: 27 additions & 0 deletions build/web/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<web-app>
<!-- Facelets pages will use the .xhtml extension -->
<context-param>
<param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.xhtml</param-value>
</context-param>

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<!-- Use prefix mapping for Facelets pages, e.g. http://localhost:8080/webapp/faces/mypage.xhtml -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.xhtml</welcome-file>
</welcome-file-list>
</web-app>
Loading