Skip to content

Commit c6328c1

Browse files
committed
Agregando licencia y build.xml
se agrego la licencia MIT para el proyecto y se mejoro el build.xml que permite crear una versión unificada del programa
1 parent 9e761ad commit c6328c1

File tree

10 files changed

+67
-5
lines changed

10 files changed

+67
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
/Reportes
22
/dist/Reportes
3+
/nbproject/
4+
/build/
5+
/dist/

Ejecutable/README.TXT

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
========================
2+
BUILD OUTPUT DESCRIPTION
3+
========================
4+
5+
When you build an Java application project that has a main class, the IDE
6+
automatically copies all of the JAR
7+
files on the projects classpath to your projects dist/lib folder. The IDE
8+
also adds each of the JAR files to the Class-Path element in the application
9+
JAR files manifest file (MANIFEST.MF).
10+
11+
To run the project from the command line, go to the dist folder and
12+
type the following:
13+
14+
java -jar "metodo_arbol.jar"
15+
16+
To distribute this project, zip up the dist folder (including the lib folder)
17+
and distribute the ZIP file.
18+
19+
Notes:
20+
21+
* If two JAR files on the project classpath have the same name, only the first
22+
JAR file is copied to the lib folder.
23+
* Only JAR files are copied to the lib folder.
24+
If the classpath contains other types of files or folders, these files (folders)
25+
are not copied.
26+
* If a library on the projects classpath also has a Class-Path element
27+
specified in the manifest,the content of the Class-Path element has to be on
28+
the projects runtime path.
29+
* To set a main class in a standard Java project, right-click the project node
30+
in the Projects window and choose Properties. Then click Run and enter the
31+
class name in the Main Class field. Alternatively, you can manually type the
32+
class name in the manifest Main-Class element.
30.2 KB
Binary file not shown.

Ejecutable/metodo_arbol.jar

83 KB
Binary file not shown.

LICENSE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Licencia MIT
2+
3+
Derechos de autor (c) 2025 SmillerMP
4+
5+
Por la presente se otorga permiso, de manera gratuita, a cualquier persona que obtenga una copia de este software y los archivos de documentación asociados (el "Software"), para usar, copiar, modificar, fusionar, publicar, distribuir, sublicenciar y/o vender copias del Software, y para permitir que las personas a quienes se les proporcione el Software lo hagan, sujeto a las siguientes condiciones:
6+
7+
El aviso de copyright anterior y este aviso de permiso deberán incluirse en todas las copias o partes sustanciales del Software.
8+
9+
EL SOFTWARE SE PROPORCIONA "TAL CUAL", SIN GARANTÍA DE NINGÚN TIPO, EXPRESA O IMPLÍCITA, INCLUYENDO PERO NO LIMITÁNDOSE A LAS GARANTÍAS DE COMERCIABILIDAD, ADECUACIÓN A UN PROPÓSITO PARTICULAR Y NO INFRACCIÓN. EN NINGÚN CASO LOS AUTORES O LOS TITULARES DE LOS DERECHOS DE AUTOR SERÁN RESPONSABLES DE CUALQUIER RECLAMO, DAÑO O CUALQUIER OTRA RESPONSABILIDAD, YA SEA EN UNA ACCIÓN DE CONTRATO, AGRAVIO O DE OTRA MANERA, QUE SURJA DE O ESTÉ EN CONEXIÓN CON EL SOFTWARE O EL USO U OTRO TIPO DE NEGOCIOS EN EL SOFTWARE.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@
4646

4747
## Notas
4848
Cualquier recomendación, sujerencia o cambio dejarlo en el apartado de issues
49+
50+
</br>
51+
52+
## Licencia
53+
Este proyecto está licenciado bajo la Licencia MIT - consulta el archivo [LICENSE](./LICENSE.md) para más detalles.

build.xml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- in the project's Project Properties dialog box.-->
1010
<project name="metodo_arbol" default="default" basedir=".">
1111
<description>Builds, tests, and runs the project metodo_arbol.</description>
12-
<import file="nbproject/build-impl.xml"/>
12+
<import file="nbproject/build-impl.xml" />
1313
<!--
1414
1515
There exist several targets which are by default empty and which can be
@@ -70,4 +70,17 @@
7070
nbproject/build-impl.xml file.
7171
7272
-->
73-
</project>
73+
74+
75+
<target name="-post-jar">
76+
<jar destfile="${dist.dir}/metodo_arbol_full.jar"
77+
basedir="${build.classes.dir}">
78+
<manifest>
79+
<attribute name="Main-Class" value="metodo_arbol.Metodo_arbol" />
80+
</manifest>
81+
<!-- Esto incluye las librerías externas -->
82+
<zipgroupfileset dir="lib" includes="*.jar" />
83+
</jar>
84+
</target>
85+
86+
</project>

src/metodo_arbol/acerca_de.form

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<Color blue="e6" green="fa" red="ff" type="rgb"/>
113113
</Property>
114114
<Property name="rows" type="int" value="5"/>
115-
<Property name="text" type="java.lang.String" value="Este es un peque&#xf1;o proyecto pensando&#xa;para ayudar a todos los estudiantes de &#xa;Ingenieria en Ciencias y Sistemas.&#xa;Mas que a nadie a la comunidad &#xa;San Carlista. &#xa;&#xa;Esperanado que sea util y que sea de &#xa;beneficio para cualquier persona que &#xa;utilice esta herramienta.&#xa;&#xa;By: SmillerMP"/>
115+
<Property name="text" type="java.lang.String" value="Este es un peque&#xf1;o proyecto pensando&#xa;para ayudar a todos los estudiantes de &#xa;Ingenier&#xed;a en Ciencias y Sistemas.&#xa;Mas que a nadie a la comunidad &#xa;San Carlista. &#xa;&#xa;Esperando que sea &#xfa;til y que sea de &#xa;beneficio para cualquier persona que &#xa;utilice esta herramienta.&#xa;&#xa;By: SmillerMP"/>
116116
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
117117
<Border info="null"/>
118118
</Property>

src/metodo_arbol/acerca_de.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private void initComponents() {
4949
jTextArea1.setFont(new java.awt.Font("Noto Sans", 0, 13)); // NOI18N
5050
jTextArea1.setForeground(new java.awt.Color(255, 250, 230));
5151
jTextArea1.setRows(5);
52-
jTextArea1.setText("Este es un pequeño proyecto pensando\npara ayudar a todos los estudiantes de \nIngenieria en Ciencias y Sistemas.\nMas que a nadie a la comunidad \nSan Carlista. \n\nEsperanado que sea util y que sea de \nbeneficio para cualquier persona que \nutilice esta herramienta.\n\nBy: SmillerMP");
52+
jTextArea1.setText("Este es un pequeño proyecto pensando\npara ayudar a todos los estudiantes de \nIngeniería en Ciencias y Sistemas.\nMas que a nadie a la comunidad \nSan Carlista. \n\nEsperando que sea útil y que sea de \nbeneficio para cualquier persona que \nutilice esta herramienta.\n\nBy: SmillerMP");
5353
jTextArea1.setBorder(null);
5454
jScrollPane1.setViewportView(jTextArea1);
5555

src/metodo_arbol/tabla_transiciones.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void realizarTransiciones() {
9393

9494
String estadoSiguiente = "";
9595

96-
// Verifica que el estado S# no haya sido creado antes si ya fue creado buscara
96+
// Verifica que el estado S# no haya sido creado antes, si ya fue creado buscara
9797
// en el hashmap el estado que corresponde a la lista de valores
9898
if (!estadosCreados.containsKey(followsNodos[valores]) && !followsNodos[valores].isEmpty()){
9999

0 commit comments

Comments
 (0)